nvim: restrict treesitter-context's vertical lines
Defaults to 20, which takes up way too much space if there's a copious
amount of comments (_coughClaudecough_)
change wszypuvxkuyrusrtprnzwtxyttlzslzp
commit f9fac9aad71a753b6689fdd7a98fefed84329231
author Alpha Chen <alpha@kejadlen.dev>
date
parent zlskzqtz
diff --git a/.config/nvim/fnl/init.fnl b/.config/nvim/fnl/init.fnl
index 65eb2e4d..9bf21dfb 100644
--- a/.config/nvim/fnl/init.fnl
+++ b/.config/nvim/fnl/init.fnl
@@ -202,6 +202,8 @@
 
 ;;; treesitter
 (require :treesitter)
+(let [{: setup} (require :treesitter-context)]
+  (setup {:multiline_threshold 5}))
 
 ;; https://neovim.io/doc/user/lsp.html#vim.lsp.foldexpr()
 (set vim.o.foldmethod :expr)