Enable TreeSitter highlight in vim on startup

This commit is contained in:
Talia 2023-05-13 10:36:37 +02:00
parent 2d3c72d3d3
commit aa092cff96
1 changed files with 4 additions and 0 deletions

4
vimrc
View File

@ -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