summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-02-13 16:32:24 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-02-13 16:32:24 +0100
commit510ac0f8e89f8b5e90f9509d43b06d6de45318bf (patch)
tree135a1f74a9f5530d0578214165173d7161bde897 /.config/nvim
parentd0a5afcc33692d67a9e2c2981429673791d05d63 (diff)
nvim: Minor adjustments to context
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/after/plugin/treesitter-context.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/nvim/after/plugin/treesitter-context.lua b/.config/nvim/after/plugin/treesitter-context.lua
index c1c342f..27af4e8 100644
--- a/.config/nvim/after/plugin/treesitter-context.lua
+++ b/.config/nvim/after/plugin/treesitter-context.lua
@@ -1,6 +1,7 @@
require('treesitter-context').setup {
enable = true,
- max_lines = 1,
+ max_lines = 2,
+ multiline_threshold = 2,
line_numbers = true,
trim_scope = 'inner',
mode = 'cursor',