Ⅰ. 插件描述
Make your CMakeCache.txt beautiful againⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'neui/cmakecache-syntax-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'neui/cmakecache-syntax-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'neui/cmakecache-syntax-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/neui/cmakecache-syntax.vim
Ⅳ. 文档说明
CMakeCache.txt
Syntax for vim
This plugin makes your CMakeCache.txt
colourful.
A CMakeCache.txt
file is a "cache" that CMake generates for every
build.
It contains variables that describes the build, such as the options selected
and the compiler and their flags.
This simple vim plugin adds some syntax highligthing for that file.
Be sure to enable :syntax on
and use :set syntax=cmakec
if you want to
force to use this syntax highlighting for a file.
Or view it on asciinema.
Installing
Use the plugin system you're using.
Plugin Manager | Installing process |
---|---|
vim-plug | plug 'Neui/cmakecache-syntax.vim' |
Vundle | Plugin 'Neui/cmakecache-syntax.vim' |