cmakecache-syntax.vim


Ⅰ. 插件描述

Make your CMakeCache.txt beautiful again

Ⅱ. 基本信息

创建日期:  2017-11-18
使用用户:  4
Github星:  1
插件作者:  Neui

Ⅲ. 安装方法

使用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.

Example

Or view it on asciinema.

Installing

Use the plugin system you're using.

Plugin ManagerInstalling process
vim-plugplug 'Neui/cmakecache-syntax.vim'
VundlePlugin 'Neui/cmakecache-syntax.vim'

添加新评论