cmake.kak: recognize CMakeCache.txt files as ini
This commit is contained in:
parent
ab94d1745e
commit
d640c321c0
|
@ -2,6 +2,10 @@ hook global BufCreate .+\.cmake|.*/CMakeLists.txt %{
|
|||
set-option buffer filetype cmake
|
||||
}
|
||||
|
||||
hook global BufCreate .*/CMakeCache.txt %{
|
||||
set-option buffer filetype ini
|
||||
}
|
||||
|
||||
add-highlighter shared/cmake regions
|
||||
add-highlighter shared/cmake/code default-region group
|
||||
add-highlighter shared/cmake/comment region '#' '$' fill comment
|
||||
|
|
Loading…
Reference in New Issue
Block a user