Skip to content

Commit 2193b6f

Browse files
committed
Reduce context threshold
1 parent a3a2eb2 commit 2193b6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/custom/plugins/nvim_treesitter_context.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ return {
77
max_lines = 0, -- How many lines the window should span. Values <= 0 mean no limit.
88
min_window_height = 0, -- Minimum editor window height to enable context. Values <= 0 mean no limit.
99
line_numbers = true,
10-
multiline_threshold = 20, -- Maximum number of lines to show for a single context
10+
multiline_threshold = 10, -- Maximum number of lines to show for a single context
1111
trim_scope = 'outer', -- Which context lines to discard if `max_lines` is exceeded. Choices: 'inner', 'outer'
1212
mode = 'topline', -- Line used to calculate context. Choices: 'cursor', 'topline'
1313
-- Separator between context and content. Should be a single character string, like '-'.

0 commit comments

Comments
 (0)