Skip to content

Commit

Permalink
Merge pull request #46 from schmeisers/ftdetect
Browse files Browse the repository at this point in the history
Add BufRead event to filetype detection
  • Loading branch information
kljohann authored Apr 10, 2017
2 parents 59ccbdd + eafb719 commit 5a0ef1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ftdetect/ledger.vim
Original file line number Diff line number Diff line change
@@ -1 +1 @@
autocmd BufEnter *.ldg,*.ledger setlocal filetype=ledger | compiler ledger
autocmd BufEnter,BufRead *.ldg,*.ledger setlocal filetype=ledger | compiler ledger

0 comments on commit 5a0ef1c

Please sign in to comment.