forked from aniani/vim
patch 9.0.1191: some Bazel files are not recognized
Problem: Some Bazel files are not recognized. Solution: Add an extra Bazel pattern. (Keith Smily, closes #11807)
This commit is contained in:
committed by
Bram Moolenaar
parent
60908c4922
commit
3213952966
@@ -264,7 +264,7 @@ au BufNewFile,BufRead */etc/blkid.tab,*/etc/blkid.tab.old setf xml
|
|||||||
au BufNewFile,BufRead *.bsd,*.bsdl setf bsdl
|
au BufNewFile,BufRead *.bsd,*.bsdl setf bsdl
|
||||||
|
|
||||||
" Bazel (http://bazel.io)
|
" Bazel (http://bazel.io)
|
||||||
autocmd BufRead,BufNewFile *.bzl,*.bazel,WORKSPACE setf bzl
|
autocmd BufRead,BufNewFile *.bzl,*.bazel,WORKSPACE,WORKSPACE.bzlmod setf bzl
|
||||||
if has("fname_case")
|
if has("fname_case")
|
||||||
" There is another check for BUILD further below.
|
" There is another check for BUILD further below.
|
||||||
autocmd BufRead,BufNewFile *.BUILD,BUILD setf bzl
|
autocmd BufRead,BufNewFile *.BUILD,BUILD setf bzl
|
||||||
|
@@ -89,7 +89,7 @@ let s:filename_checks = {
|
|||||||
\ 'blueprint': ['file.blp'],
|
\ 'blueprint': ['file.blp'],
|
||||||
\ 'bsdl': ['file.bsd', 'file.bsdl'],
|
\ 'bsdl': ['file.bsd', 'file.bsdl'],
|
||||||
\ 'bst': ['file.bst'],
|
\ 'bst': ['file.bst'],
|
||||||
\ 'bzl': ['file.bazel', 'file.bzl', 'WORKSPACE'],
|
\ 'bzl': ['file.bazel', 'file.bzl', 'WORKSPACE', 'WORKSPACE.bzlmod'],
|
||||||
\ 'bzr': ['bzr_log.any', 'bzr_log.file'],
|
\ 'bzr': ['bzr_log.any', 'bzr_log.file'],
|
||||||
\ 'c': ['enlightenment/file.cfg', 'file.qc', 'file.c', 'some-enlightenment/file.cfg'],
|
\ 'c': ['enlightenment/file.cfg', 'file.qc', 'file.c', 'some-enlightenment/file.cfg'],
|
||||||
\ 'cabal': ['file.cabal'],
|
\ 'cabal': ['file.cabal'],
|
||||||
|
@@ -695,6 +695,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1191,
|
||||||
/**/
|
/**/
|
||||||
1190,
|
1190,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user