cmake.kak: recognize CMakeCache.txt files as ini

This commit is contained in:
Maxime Coste 2018-07-19 18:40:07 +10:00
parent ab94d1745e
commit d640c321c0

View File

@ -2,6 +2,10 @@ hook global BufCreate .+\.cmake|.*/CMakeLists.txt %{
set-option buffer filetype cmake set-option buffer filetype cmake
} }
hook global BufCreate .*/CMakeCache.txt %{
set-option buffer filetype ini
}
add-highlighter shared/cmake regions add-highlighter shared/cmake regions
add-highlighter shared/cmake/code default-region group add-highlighter shared/cmake/code default-region group
add-highlighter shared/cmake/comment region '#' '$' fill comment add-highlighter shared/cmake/comment region '#' '$' fill comment