diff options
author | Wu, Zhenyu <wuzhenyu@ustc.edu> | 2024-04-14 20:34:22 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-04-14 20:34:22 +0200 |
commit | 62c09e032c6b2d49fffac726300d142381924b98 (patch) | |
tree | ba312fb39a92f27f37c803c37ab21a448522904a /runtime/filetype.vim | |
parent | 4ba70cab37d2a625d8c59bb136070ef9d1976934 (diff) |
patch 9.1.0325: filetype: CMakeCache.txt files not recognizedv9.1.0325
Problem: filetype: CMakeCache.txt files not recognized
Solution: Detect 'CMakeCache.txt' files as cmakecache filetype,
include basic syntax script for cmakecache
(Wu, Zhenyu, @bfrg)
closes: #14384
Co-authored-by: bfrg <bfrg@users.noreply.github.com>
Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r-- | runtime/filetype.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 9864e06b1e..8943536ec0 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -449,6 +449,9 @@ au BufNewFile,BufRead *.clj,*.cljs,*.cljx,*.cljc setf clojure " Cmake au BufNewFile,BufRead CMakeLists.txt,*.cmake,*.cmake.in setf cmake +" CmakeCache +autocmd BufRead,BufNewFile CMakeCache.txt setf cmakecache + " Cmusrc au BufNewFile,BufRead */.cmus/{autosave,rc,command-history,*.theme} setf cmusrc au BufNewFile,BufRead */cmus/{rc,*.theme} setf cmusrc |