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

4
vimrc
View file

@ -8,3 +8,7 @@ let &rtp=&rtp.','.expand('<sfile>:p:h').'/vim'
if has("nvim") if has("nvim")
lua pcall(require, "plugins") lua pcall(require, "plugins")
end end
au VimEnter * TSEnable highlight
au VimEnter * TSEnable incremental_selection
au VimEnter * TSEnable indent