forked from aniani/vim
patch 9.0.0443: blueprint files are not recognized
Problem: Blueprint files are not recognized. Solution: Add a pattern for blueprint files. (Gabriele Musco, closes #11107)
This commit is contained in:
committed by
Bram Moolenaar
parent
79f8b8494c
commit
cce82a55b8
@@ -2579,6 +2579,8 @@ au BufNewFile,BufRead *.txt
|
||||
\| setf text
|
||||
\| endif
|
||||
|
||||
" Blueprint markup files
|
||||
au BufNewFile,BufRead *.blp setf blueprint
|
||||
|
||||
" Use the filetype detect plugins. They may overrule any of the previously
|
||||
" detected filetypes.
|
||||
|
@@ -88,6 +88,7 @@ let s:filename_checks = {
|
||||
\ 'bindzone': ['named.root', '/bind/db.file', '/named/db.file', 'any/bind/db.file', 'any/named/db.file'],
|
||||
\ 'bitbake': ['file.bb', 'file.bbappend', 'file.bbclass', 'build/conf/local.conf', 'meta/conf/layer.conf', 'build/conf/bbappend.conf', 'meta-layer/conf/distro/foo.conf'],
|
||||
\ 'blank': ['file.bl'],
|
||||
\ 'blueprint': ['file.blp'],
|
||||
\ 'bsdl': ['file.bsd', 'file.bsdl'],
|
||||
\ 'bst': ['file.bst'],
|
||||
\ 'bzl': ['file.bazel', 'file.bzl', 'WORKSPACE'],
|
||||
|
@@ -703,6 +703,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
443,
|
||||
/**/
|
||||
442,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user