Skip to content

Commit d18e30f

Browse files
author
Ben Judd
committed
Add more bazel filetypes for detection.
1 parent 9cbd83b commit d18e30f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

rc/bazel.kak

+5-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
# Detection
55
# ‾‾‾‾‾‾‾‾‾
66

7-
hook global BufCreate .*/BUILD %{
7+
hook global BufCreate .*/(BUILD|WORKSPACE) %{
8+
set-option buffer filetype bazel_build
9+
}
10+
11+
hook global BufCreate .+\.(bazel|bzl) %{
812
set-option buffer filetype bazel_build
913
}
1014

0 commit comments

Comments
 (0)