Add better movement and LSP-related help
This commit is contained in:
parent
3ed9bfaee3
commit
e7a9bf5949
5 changed files with 142 additions and 0 deletions
|
|
@ -1,5 +1,10 @@
|
|||
-- https://github.com/nvim-treesitter/nvim-treesitter-context
|
||||
return {
|
||||
'nvim-treesitter/nvim-treesitter-context',
|
||||
dependencies = { 'nvim-treesitter/nvim-treesitter' },
|
||||
opts = {},
|
||||
config = function(_, opts)
|
||||
require('treesitter-context').setup(opts)
|
||||
vim.keymap.set('n', '<leader>tc', ':TSContextToggle<CR>', { noremap = true, silent = true, desc = '[T]oggle current [C]ontext' })
|
||||
end,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue