nvim: Add treesitter context line maximum number
Show a maximum of three context lines at any time.
This commit is contained in:
parent
9c4ef56905
commit
4d6270a9b0
1 changed files with 2 additions and 1 deletions
|
|
@ -5,7 +5,8 @@ return {
|
||||||
-- show current cursor context at top of buffer
|
-- show current cursor context at top of buffer
|
||||||
-- improves commenting plugin above by using ts
|
-- improves commenting plugin above by using ts
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"nvim-treesitter/nvim-treesitter-context",
|
-- nice context on top of buffer
|
||||||
|
{ "nvim-treesitter/nvim-treesitter-context", opts = { max_lines = 3 } },
|
||||||
"JoosepAlviste/nvim-ts-context-commentstring",
|
"JoosepAlviste/nvim-ts-context-commentstring",
|
||||||
"RRethy/nvim-treesitter-textsubjects",
|
"RRethy/nvim-treesitter-textsubjects",
|
||||||
"windwp/nvim-ts-autotag",
|
"windwp/nvim-ts-autotag",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue