added treesitter setup
This commit is contained in:
parent
a50ff5d760
commit
e12a89dbe8
16
init.vim
16
init.vim
|
@ -236,6 +236,22 @@ let g:vimsyn_embed = 'l'
|
||||||
"TSInstall bash
|
"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 ==========================
|
"========================== Settings Related to SLIME ==========================
|
||||||
"===============================================================================
|
"===============================================================================
|
||||||
|
|
Loading…
Reference in New Issue
Block a user