Skip to content

Commit 7b2cd2c

Browse files
committed
fix: Restore previous formatexpr when unloading plugin
1 parent 54aab18 commit 7b2cd2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ftplugin/ledger.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ let b:did_ftplugin = 1
1616

1717
let b:undo_ftplugin = 'setlocal '.
1818
\ 'foldtext< '.
19-
\ 'include< comments< commentstring< omnifunc< formatprg<'
19+
\ 'include< comments< commentstring< omnifunc< formatexpr< formatprg<'
2020

2121
setlocal foldtext=LedgerFoldText()
2222
setlocal include=^!\\?include

0 commit comments

Comments
 (0)