diff options
author | Keith Smiley <keithbsmiley@gmail.com> | 2023-01-13 15:35:17 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-01-13 15:35:17 +0000 |
commit | 3213952966896ffb1d8fa186bcf8c43359fca0f0 (patch) | |
tree | b3c78e7ad5d37a9576e281b23f2908563ed7a4f3 /runtime | |
parent | 60908c492237edcfe6cde995171240c9bace05b6 (diff) | |
download | vim-git-3213952966896ffb1d8fa186bcf8c43359fca0f0.tar.gz |
patch 9.0.1191: some Bazel files are not recognizedv9.0.1191
Problem: Some Bazel files are not recognized.
Solution: Add an extra Bazel pattern. (Keith Smily, closes #11807)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/filetype.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index d19906327..dcd83b4e1 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -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 |