mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-10-18 04:47:58 +02:00
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>
18 lines
354 B
VimL
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
|