Fix treesitter-context
This commit is contained in:
parent
f5bf7d0d6b
commit
385cab4791
6
init.lua
6
init.lua
|
|
@ -848,12 +848,12 @@ require('lazy').setup({
|
||||||
--
|
--
|
||||||
-- - Incremental selection: Included, see `:help nvim-treesitter-incremental-selection-mod`
|
-- - Incremental selection: Included, see `:help nvim-treesitter-incremental-selection-mod`
|
||||||
-- - Treesitter + textobjects: https://github.com/nvim-treesitter/nvim-treesitter-textobjects
|
-- - Treesitter + textobjects: https://github.com/nvim-treesitter/nvim-treesitter-textobjects
|
||||||
-- - Show your current context: https://github.com/nvim-treesitter/nvim-treesitter-context
|
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
{ -- Highlight, edit, and navigate code
|
-- - Show your current context: https://github.com/nvim-treesitter/nvim-treesitter-context
|
||||||
'nvim-treesitter/treesitter-context',
|
{
|
||||||
|
'nvim-treesitter/nvim-treesitter-context',
|
||||||
config = function()
|
config = function()
|
||||||
require('treesitter-context').setup {
|
require('treesitter-context').setup {
|
||||||
enable = true, -- Enable this plugin (Can be enabled/disabled later via commands)
|
enable = true, -- Enable this plugin (Can be enabled/disabled later via commands)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue