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
|
||||
|
||||
" 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")
|
||||
" There is another check for BUILD further below.
|
||||
autocmd BufRead,BufNewFile *.BUILD,BUILD setf bzl
|
||||
|
||||
Reference in New Issue
Block a user