Compare commits
2 Commits
726b7ef0e6
...
a49eeb6bd0
Author | SHA1 | Date | |
---|---|---|---|
a49eeb6bd0 | |||
a4f368a306 |
9
nvimrc
9
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
|
||||
@ -595,7 +596,7 @@ require 'nvim-treesitter.configs'.setup {
|
||||
navigation = {
|
||||
enable = true,
|
||||
keymaps = {
|
||||
goto_definition_lsp_fallback = "gd",
|
||||
-- goto_definition_lsp_fallback = "gd",
|
||||
goto_next_usage = "]r",
|
||||
goto_previous_usage = "[r",
|
||||
},
|
||||
@ -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…
x
Reference in New Issue
Block a user