feat(nvim): add nvim-treesitter-context
This commit is contained in:
parent
bac022fde9
commit
bc8203b6c6
@ -19,3 +19,6 @@ nvim_treesitter.setup({
|
|||||||
max_file_lines = nil,
|
max_file_lines = nil,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
require('treesitter-context').setup({})
|
||||||
|
vim.cmd.TSContextEnable()
|
||||||
|
@ -102,6 +102,7 @@ return packer.startup({
|
|||||||
run = ":TSUpdate",
|
run = ":TSUpdate",
|
||||||
requires = {
|
requires = {
|
||||||
"p00f/nvim-ts-rainbow",
|
"p00f/nvim-ts-rainbow",
|
||||||
|
"nvim-treesitter/nvim-treesitter-context"
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
require("plugins.configs.treesitter")
|
require("plugins.configs.treesitter")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user