summaryrefslogtreecommitdiff
path: root/contrib/vim/README
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/vim/README')
-rw-r--r--contrib/vim/README2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/vim/README b/contrib/vim/README
index 4da73ea6..368c9c71 100644
--- a/contrib/vim/README
+++ b/contrib/vim/README
@@ -2,7 +2,7 @@
This is the ledger filetype for vim.
Copy each file to the corresponding directory in your ~/.vim directory.
Then include the following line in your .vimrc or in ~/.vim/filetype.vim
- au BufNewFile,BufRead *.ldg,*.ledger setf ledger
+ au BufNewFile,BufRead *.ldg,*.ledger setf ledger | comp ledger
You can also use a modeline like this in every ledger file
vim:filetype=ledger