nvimrc: Add nvim-treesitter-context

This commit is contained in:
Rob Watson 2022-08-25 04:50:22 +02:00
parent a4f368a306
commit a49eeb6bd0
1 changed files with 7 additions and 0 deletions

7
nvimrc
View File

@ -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