projects
/
vimconf.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3009bb
)
Enable lua-based filetype detection
author
Stefan Huber <shuber@sthu.org>
Mon, 18 Jul 2022 21:05:34 +0000
(23:05 +0200)
committer
Stefan Huber <shuber@sthu.org>
Mon, 18 Jul 2022 21:06:27 +0000
(23:06 +0200)
Starting with neovim-0.7.2 there is a faster lua-based filetype
detection mechanism. Use it.
init.vim
patch
|
blob
|
history
diff --git
a/init.vim
b/init.vim
index 374c3ba8dc79cfe02da6c74a1c6f12e8b24a1148..43a4b61b704ac3a73ca59d0a467607b1e53dfcf9 100644
(file)
--- a/
init.vim
+++ b/
init.vim
@@
-16,6
+16,9
@@
set fillchars=vert:│,fold:\
set listchars=tab:»,trail:·,eol:$
set virtualedit=block
+" use filetype.lua and do not use filetype.vim for >=neovim-0.7.2
+let g:do_filetype_lua = 1
+let g:did_load_filetypes = 0
filetype plugin indent on
set tabstop=4