Skip to content

Commit c6f8aac

Browse files
authored
Merge pull request #5 from Icantjuddle/master
rc bazel: Add more filetypes for detection.
2 parents 9cbd83b + d18e30f commit c6f8aac

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)