Skip to content

Commit db0ba49

Browse files
author
Lifepillar
committed
Update 'include' pattern.
Use of '!' prepending Ledger command directives has been deprecated (see Ledger's manual, §4.7.2). This commit makes '!' optional in the 'include' pattern.
1 parent fb7829e commit db0ba49

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
@@ -15,7 +15,7 @@ let b:undo_ftplugin = "setlocal ".
1515

1616
setl foldtext=LedgerFoldText()
1717
setl foldmethod=syntax
18-
setl include=^!include
18+
setl include=^!\\?include
1919
setl comments=b:;
2020
setl commentstring=;%s
2121
setl omnifunc=LedgerComplete

0 commit comments

Comments
 (0)