Set ledger filetype for .ledger files via autocmd

This commit is contained in:
Eryn Wells 2011-10-20 08:19:42 -07:00
parent 0bd49aaa56
commit 900d07bfb3

2
vimrc
View file

@ -189,6 +189,8 @@ if has('autocmd')
" don't show tabs in html and xml
autocmd filetype html,xml set listchars-=tab:▸\
autocmd BufNewFile,BufRead *.ledger setf ledger | comp ledger
" Jump to last known cursor position unless it's the first line, or past the
" end of the file
autocmd BufReadPost *