From 19556964ff69e448e621c9f33bf32b72fc9fbdd0 Mon Sep 17 00:00:00 2001 From: Aaron Bull Schaefer Date: Tue, 10 Feb 2015 11:35:54 -0800 Subject: Enable syntax-based folding of transactions This is much more useful compared to using just foldmethod=marker, and it could be enhanced to support other multi-line items in the future. --- ftplugin/beancount.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ftplugin/beancount.vim') diff --git a/ftplugin/beancount.vim b/ftplugin/beancount.vim index 159ad0f..20c2058 100644 --- a/ftplugin/beancount.vim +++ b/ftplugin/beancount.vim @@ -7,7 +7,7 @@ endif let b:did_ftplugin = 1 let b:undo_ftplugin = "setlocal foldmethod< comments< commentstring<" -setl foldmethod=marker +setl foldmethod=syntax setl comments=b:; setl commentstring=;%s -- cgit v1.2.3-2-gb3c3