Files
Barrett Ruth 1afe7ad1bb patch 9.2.1002: filetype: bazelrc files are not recognized
Problem:  filetype: bazelrc files are not recognized
Solution: Detect *.bazelrc and tools/bazel.rc files as bazelrc filetype,
          include syntax und filetype plugins, update the menus
          (Barrett Ruth).

closes: #21146

Signed-off-by: Barrett Ruth <br@barrettruth.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2026-08-25 19:17:25 +00:00

18 lines
354 B
VimL

" Vim filetype plugin file
" Language: Bazel rc file
" Maintainer: Barrett Ruth <br@barrettruth.com>
" Last Change: 2026 Aug 25
if exists("b:did_ftplugin")
finish
endif
let b:did_ftplugin = 1
setlocal comments=:#
setlocal commentstring=#\ %s
setlocal formatoptions-=t formatoptions+=croql
let b:undo_ftplugin = "setlocal com< cms< fo<"
" vim: ts=8