From 38dc074fd2f92c216d07a841197a3e648c77f2b4 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Wed, 13 Oct 2021 00:32:28 +0300 Subject: neovim: treesitter <3 ledger --- .config/nvim/after/ftplugin/ledger.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/nvim/after/ftplugin/ledger.vim b/.config/nvim/after/ftplugin/ledger.vim index b641b42..5785c35 100644 --- a/.config/nvim/after/ftplugin/ledger.vim +++ b/.config/nvim/after/ftplugin/ledger.vim @@ -1 +1,3 @@ let b:dispatch = 'ledger -f ~/nextcloud/ledger.ledger bal assets liab' +set foldmethod=expr +set foldexpr=nvim_treesitter#foldexpr() -- cgit v1.2.3-70-g09d2