Skip to content

Commit

Permalink
feat: Support .hledger extensions out of the box
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Feb 23, 2023
1 parent 6990fa2 commit 8e735f8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion ftdetect/ledger.vim
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
" vint: -ProhibitAutocmdWithNoGroup
autocmd BufNewFile,BufRead *.ldg,*.ledger,*.journal setfiletype ledger

" Semi-canonical or common file extensions
autocmd BufNewFile,BufRead *.journal,*.ledger,*.hledger setfiletype ledger

" Deprecated or suspiciusly low usage extensions
" TODO: Consider hiding these behind an off-by-default config flag
autocmd BufNewFile,BufRead *.ldg,*.j, setfiletype ledger

0 comments on commit 8e735f8

Please sign in to comment.