Enable TreeSitter highlight in vim on startup
This commit is contained in:
parent
2d3c72d3d3
commit
aa092cff96
1 changed files with 4 additions and 0 deletions
4
vimrc
4
vimrc
|
@ -8,3 +8,7 @@ let &rtp=&rtp.','.expand('<sfile>:p:h').'/vim'
|
|||
if has("nvim")
|
||||
lua pcall(require, "plugins")
|
||||
end
|
||||
|
||||
au VimEnter * TSEnable highlight
|
||||
au VimEnter * TSEnable incremental_selection
|
||||
au VimEnter * TSEnable indent
|
||||
|
|
Loading…
Reference in a new issue