Fix filetype issues in nvim

pull/2/head
Ensar Sarajčić 2021-12-01 13:28:12 +01:00
parent 185363e1f3
commit b2fd3bbd5c
3 changed files with 2 additions and 11 deletions

View File

@ -1,5 +1,2 @@
setlocal ts=2 sts=2 sw=2 expandtab autoindent
let b:undo_ftplugin .= '|setlocal ts< sts< sw< expandtab< autoindent<'
compiler elixir
let b:undo_ftplugin .= '|compiler<'
let b:undo_ftplugin = '|setlocal ts< sts< sw< expandtab< autoindent<'

View File

@ -5,12 +5,7 @@ end
-- Allow `require('impatient')` to fail, in case plugins are not yet installed
_ = pcall(require, 'impatient')
-- Speed up startup - quicker filetype.vim - should probably remove in future neovim versions
vim.g.did_load_filetypes = 1
vim.cmd [[filetype plugin on]]
vim.cmd [[filetype indent on]]
vim.cmd [[syntax on]]
vim.cmd [[filetype plugin indent on]]
vim.api.nvim_exec('let $OVIMHOME = $HOME."/.vim"', false)
vim.api.nvim_exec('let $VIMHOME = $HOME."/.config/nvim"', false)

View File

@ -34,7 +34,6 @@ return require('packer').startup {
use 'romainl/vim-qf' -- Quickfix list upgrades
use 'romainl/vim-devdocs' -- Quick DevDocs.io search using :DD
use 'gpanders/editorconfig.nvim' -- .editorconfig support
use 'nathom/filetype.nvim' -- Quicker filetype.nvim file
use 'lewis6991/impatient.nvim' -- Caching lua modules for faster startup
-- Tools --