From 900d07bfb38b655c3234bf301065c3adeba3a9df Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Thu, 20 Oct 2011 08:19:42 -0700 Subject: [PATCH] Set ledger filetype for .ledger files via autocmd --- vimrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vimrc b/vimrc index f6e2219..ebe3f78 100644 --- a/vimrc +++ b/vimrc @@ -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 *