diff options
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} |