summaryrefslogtreecommitdiff
path: root/fnl/plugins/treesitter-context.fnl
blob: 900889a7296f8496a77d2218f9c97d681d7172ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
;; 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}