Fix filetype issues in nvim
parent
185363e1f3
commit
b2fd3bbd5c
|
@ -1,5 +1,2 @@
|
||||||
setlocal ts=2 sts=2 sw=2 expandtab autoindent
|
setlocal ts=2 sts=2 sw=2 expandtab autoindent
|
||||||
let b:undo_ftplugin .= '|setlocal ts< sts< sw< expandtab< autoindent<'
|
let b:undo_ftplugin = '|setlocal ts< sts< sw< expandtab< autoindent<'
|
||||||
|
|
||||||
compiler elixir
|
|
||||||
let b:undo_ftplugin .= '|compiler<'
|
|
||||||
|
|
|
@ -5,12 +5,7 @@ end
|
||||||
-- Allow `require('impatient')` to fail, in case plugins are not yet installed
|
-- Allow `require('impatient')` to fail, in case plugins are not yet installed
|
||||||
_ = pcall(require, 'impatient')
|
_ = pcall(require, 'impatient')
|
||||||
|
|
||||||
-- Speed up startup - quicker filetype.vim - should probably remove in future neovim versions
|
vim.cmd [[filetype plugin indent on]]
|
||||||
vim.g.did_load_filetypes = 1
|
|
||||||
|
|
||||||
vim.cmd [[filetype plugin on]]
|
|
||||||
vim.cmd [[filetype indent on]]
|
|
||||||
vim.cmd [[syntax on]]
|
|
||||||
|
|
||||||
vim.api.nvim_exec('let $OVIMHOME = $HOME."/.vim"', false)
|
vim.api.nvim_exec('let $OVIMHOME = $HOME."/.vim"', false)
|
||||||
vim.api.nvim_exec('let $VIMHOME = $HOME."/.config/nvim"', false)
|
vim.api.nvim_exec('let $VIMHOME = $HOME."/.config/nvim"', false)
|
||||||
|
|
|
@ -34,7 +34,6 @@ return require('packer').startup {
|
||||||
use 'romainl/vim-qf' -- Quickfix list upgrades
|
use 'romainl/vim-qf' -- Quickfix list upgrades
|
||||||
use 'romainl/vim-devdocs' -- Quick DevDocs.io search using :DD
|
use 'romainl/vim-devdocs' -- Quick DevDocs.io search using :DD
|
||||||
use 'gpanders/editorconfig.nvim' -- .editorconfig support
|
use 'gpanders/editorconfig.nvim' -- .editorconfig support
|
||||||
use 'nathom/filetype.nvim' -- Quicker filetype.nvim file
|
|
||||||
use 'lewis6991/impatient.nvim' -- Caching lua modules for faster startup
|
use 'lewis6991/impatient.nvim' -- Caching lua modules for faster startup
|
||||||
|
|
||||||
-- Tools --
|
-- Tools --
|
||||||
|
|
Loading…
Reference in New Issue