summaryrefslogtreecommitdiff
path: root/.config/nvim/after/plugin
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/after/plugin')
-rw-r--r--.config/nvim/after/plugin/treesitter-context.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/.config/nvim/after/plugin/treesitter-context.lua b/.config/nvim/after/plugin/treesitter-context.lua
new file mode 100644
index 0000000..c1c342f
--- /dev/null
+++ b/.config/nvim/after/plugin/treesitter-context.lua
@@ -0,0 +1,7 @@
+require('treesitter-context').setup {
+ enable = true,
+ max_lines = 1,
+ line_numbers = true,
+ trim_scope = 'inner',
+ mode = 'cursor',
+}