added treesitter setup

This commit is contained in:
Daniel Knüttel 2021-07-06 10:44:30 +02:00
parent a50ff5d760
commit e12a89dbe8

View File

@ -236,6 +236,22 @@ let g:vimsyn_embed = 'l'
"TSInstall bash
lua <<EOF
require'nvim-treesitter.configs'.setup {
highlight = {
enable = true,
},
indent = {
enable = true,
},
fold = {
enable = true,
},
}
EOF
set foldmethod=expr
set foldexpr=nvim_treesitter#foldexpr()
"========================== Settings Related to SLIME ==========================
"===============================================================================