diff options
| author | aktersnurra <gustaf@gustafrydholm.xyz> | 2026-04-16 15:10:52 +0200 |
|---|---|---|
| committer | aktersnurra <gustaf@gustafrydholm.xyz> | 2026-04-17 23:28:47 +0200 |
| commit | 152fd9d787c7433cad95795992e444250cb83216 (patch) | |
| tree | 0ae3b4a3b42005dc08b1400981cfc4c1f37297fe /fnl/plugins/treesitter-context.fnl | |
| parent | 83a7f3505a441f1c152229d50a3d6011951a82fc (diff) | |
Add fff and other nice things such as macros
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} |