forked from aniani/vim
patch 8.2.2522: Beancount filetype not recognized
Problem: Beancount filetype not recognized. Solution: Add a detection rule. (Brian Ryall, closes #7859)
This commit is contained in:
@@ -216,6 +216,9 @@ au BufNewFile,BufRead *.bc setf bc
|
||||
" BDF font
|
||||
au BufNewFile,BufRead *.bdf setf bdf
|
||||
|
||||
" Beancount
|
||||
au BufNewFile,BufRead *.beancount setf beancount
|
||||
|
||||
" BibTeX bibliography database file
|
||||
au BufNewFile,BufRead *.bib setf bib
|
||||
|
||||
|
@@ -79,6 +79,7 @@ let s:filename_checks = {
|
||||
\ 'bzl': ['file.bazel', 'file.bzl', 'WORKSPACE'],
|
||||
\ 'bc': ['file.bc'],
|
||||
\ 'bdf': ['file.bdf'],
|
||||
\ 'beancount': ['file.beancount'],
|
||||
\ 'bib': ['file.bib'],
|
||||
\ 'bindzone': ['named.root', '/bind/db.file', '/named/db.file', 'any/bind/db.file', 'any/named/db.file'],
|
||||
\ 'blank': ['file.bl'],
|
||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2522,
|
||||
/**/
|
||||
2521,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user