File: ledger.vim

package info (click to toggle)
vim-ledger 1.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 272 kB
  • sloc: makefile: 2
file content (16 lines) | stat: -rw-r--r-- 634 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
" SPDX-FileCopyrightText: © 2019 Caleb Maclennan <caleb@alerque.com>
" SPDX-FileCopyrightText: © 2009 Johann Klähn <kljohann@gmail.com>
" SPDX-FileCopyrightText: © 2009 Stefan Karrmann
" SPDX-FileCopyrightText: © 2005 Wolfgang Oertl
" SPDX-License-Identifier: GPL-2.0-or-later

scriptencoding utf-8

" vint: -ProhibitAutocmdWithNoGroup

" 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