diff options
| author | aktersnurra <gustaf@gustafrydholm.xyz> | 2026-04-16 15:10:52 +0200 |
|---|---|---|
| committer | aktersnurra <gustaf@gustafrydholm.xyz> | 2026-04-17 00:02:28 +0200 |
| commit | 99a7ff44cdf70d028ef6aab26224f26f69ee528d (patch) | |
| tree | 3bac13281fe000f0cc9a1823b6ccac856b0acf88 /fnl/plugins/treesitter-context.fnl | |
| parent | 83a7f3505a441f1c152229d50a3d6011951a82fc (diff) | |
Diffstat (limited to 'fnl/plugins/treesitter-context.fnl')
| -rw-r--r-- | fnl/plugins/treesitter-context.fnl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/fnl/plugins/treesitter-context.fnl b/fnl/plugins/treesitter-context.fnl new file mode 100644 index 0000000..f7730bd --- /dev/null +++ b/fnl/plugins/treesitter-context.fnl @@ -0,0 +1,13 @@ +;; Sticky context headers while scrolling. + +(local opts {:enable true + :max_lines 3 + :min_window_height 0 + :line_numbers true + :multiline_threshold 20 + :trim_scope :outer + :mode :cursor + :separator nil + :zindex 20}) + +{1 :nvim-treesitter/nvim-treesitter-context :event [:BufReadPre :BufNewFile] : opts} |