NVim: add tree-sitter
This commit is contained in:
@@ -19,6 +19,7 @@ Plug 'dbeniamine/cheat.sh-vim'
|
||||
Plug 'puremourning/vimspector'
|
||||
Plug 'derekwyatt/vim-fswitch'
|
||||
Plug 'nvim-lua/completion-nvim'
|
||||
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
|
||||
" }}}
|
||||
|
||||
" Files switch, jump and grep-like tools {{{
|
||||
@@ -293,3 +294,12 @@ EOF
|
||||
" Set completeopt to have a better completion experience
|
||||
set completeopt=menuone,noinsert,noselect
|
||||
let g:completion_enable_snippet = 'UltiSnips'
|
||||
|
||||
" Tree-sitter configuration
|
||||
lua <<EOF
|
||||
require'nvim-treesitter.configs'.setup {
|
||||
highlight = {
|
||||
enable = true,
|
||||
},
|
||||
}
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user