Skip to content

Commit 5f24241

Browse files
committed
Further configure Treesitter Context display
1 parent c007f08 commit 5f24241

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
@@ -9,7 +9,7 @@ return {
99
line_numbers = true,
1010
multiline_threshold = 20, -- 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'
12-
mode = 'cursor', -- Line used to calculate context. Choices: 'cursor', 'topline'
12+
mode = 'topline', -- Line used to calculate context. Choices: 'cursor', 'topline'
1313
-- Separator between context and content. Should be a single character string, like '-'.
1414
-- When separator is set, the context will only show up when there are at least 2 lines above cursorline.
1515
separator = nil,

0 commit comments

Comments
 (0)