让VIM打开CMakeLists.txt时,cmake语法高亮 作者: xsh 时间: 2023-11-21 分类: C++/CMake 1: 打开.vimrc配置文件~/.vimrc2: 在最后一行加入如下内容: au BufNewFile,BufRead CMakeLists.txt set filetype=cmake 标签: none
评论已关闭