diff options
author | Aaron Bull Schaefer | 2015-02-10 11:35:54 -0800 |
---|---|---|
committer | Aaron Bull Schaefer | 2015-02-10 11:35:54 -0800 |
commit | 19556964ff69e448e621c9f33bf32b72fc9fbdd0 (patch) | |
tree | 9b2727b17854ba77582b2d4b821f81ed3ac3cae8 /ftplugin | |
parent | b463ee3dc9b7ae6d2ac20b508d0ee97f590a43bb (diff) | |
download | vim-beancount-19556964ff69e448e621c9f33bf32b72fc9fbdd0.tar.gz |
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.
Diffstat (limited to 'ftplugin')
-rw-r--r-- | ftplugin/beancount.vim | 2 |
1 files changed, 1 insertions, 1 deletions
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 |