1
0
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:
Bram Moolenaar
2021-02-17 12:25:49 +01:00
parent 333bd56422
commit 9bbd883b35
3 changed files with 6 additions and 0 deletions

View File

@@ -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

View File

@@ -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'],

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2522,
/**/
2521,
/**/