Ⅰ. 插件描述
Simple plugin used to highlight markers with the desired background. (My first vim plugin)Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'fr0zn/markersyntax-say-im-great'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'fr0zn/markersyntax-say-im-great'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'fr0zn/markersyntax-say-im-great'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/fr0zn/markersyntax
Ⅳ. 文档说明
# MarkerSyntax
Simple plugin used to highlight markers with the desired background.

Installation
Using package managers:
Plug 'e0d1n/markersyntax'
Configuration
Change which words to highlight:
let g:markersyntaxWords = ['TODO', 'FIXME', 'BUG', 'NOTE']
Change the colors used by the terminal (No GUI) to show each word:
let g:markersyntaxColors = ['#fabd2f', '#fe8019', '#fb4934', '#b8bb26']
Change the colors used by a GUI, like gvim and MacVim:
let g:markersyntaxColorsGUI = ['214', '208', '167', '142']
Case insensitive highlighting:
`let g:wordsCaseSensitive = 0
default to 1`