refactor(nvim): only allow 3 lines of TS context to show
This commit is contained in:
parent
2bb4b7374d
commit
f40432b440
@ -31,7 +31,9 @@ return {
|
|||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
require("treesitter-context").setup({})
|
require("treesitter-context").setup({
|
||||||
|
max_lines = 3
|
||||||
|
})
|
||||||
vim.cmd.TSContextEnable()
|
vim.cmd.TSContextEnable()
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user