Skip to content

Commit 5360cec

Browse files
dissable treesitter context
1 parent 9de0d52 commit 5360cec

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

lua/modules/treesitter/plugins.lua

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,15 @@ ts({
3737
})
3838

3939
ts({
40+
enabled = false,
4041
"lewis6991/nvim-treesitter-context",
4142
-- after = "nvim-treesitter",
4243
ft = { "rust", "python" },
43-
-- opts = {
44-
-- enable = true, -- Enable this plugin (Can be enabled/disabled later via commands)
45-
-- throttle = true, -- Throttles plugin updates (may improve performance)
46-
-- max_lines = 0, -- How many lines the window should span. Values <= 0 mean no limit.
47-
-- },
44+
opts = {
45+
enable = true, -- Enable this plugin (Can be enabled/disabled later via commands)
46+
throttle = true, -- Throttles plugin updates (may improve performance)
47+
max_lines = 50, -- How many lines the window should span. Values <= 0 mean no limit.
48+
},
4849
})
4950

5051
return ts

0 commit comments

Comments
 (0)