nvimrc: Add nvim-treesitter-context
This commit is contained in:
parent
a4f368a306
commit
a49eeb6bd0
7
nvimrc
7
nvimrc
|
@ -528,6 +528,7 @@ let g:vimsyn_embed= 'lPr'
|
|||
packadd! nvim-treesitter " https://github.com/nvim-treesitter/nvim-treesitter.git
|
||||
packadd! nvim-treesitter-textobjects " https://github.com/nvim-treesitter/nvim-treesitter-textobjects.git
|
||||
packadd! nvim-treesitter-refactor " https://github.com/nvim-treesitter/nvim-treesitter-refactor.git
|
||||
packadd! nvim-treesitter-context " https://github.com/nvim-treesitter/nvim-treesitter-context.git
|
||||
packadd! playground " https://github.com/nvim-treesitter/playground.git
|
||||
|
||||
lua <<EOF
|
||||
|
@ -622,6 +623,12 @@ require 'nvim-treesitter.configs'.setup {
|
|||
}
|
||||
EOF
|
||||
|
||||
lua <<EOF
|
||||
require'treesitter-context'.setup{
|
||||
enable = true,
|
||||
}
|
||||
EOF
|
||||
|
||||
" nvim-cmp:
|
||||
|
||||
packadd! nvim-cmp " https://github.com/hrsh7th/nvim-cmp.git
|
||||
|
|
Loading…
Reference in New Issue