diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-12-06 01:29:46 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-12-06 01:29:46 +0100 |
commit | d9f33332f52a60130325a5d16785ee9577647d42 (patch) | |
tree | 2a99547016ba8f3fb141111a7047b9024863f7eb /.config/nvim/after | |
parent | 25af166931e7d37e5989f0cdedeb982654e53c35 (diff) |
nvim: Add treesitter-context
Diffstat (limited to '.config/nvim/after')
-rw-r--r-- | .config/nvim/after/plugin/treesitter-context.lua | 7 |
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', +} |