markersyntax


Ⅰ. 插件描述

Simple plugin used to highlight markers with the desired background. (My first vim plugin)

Ⅱ. 基本信息

创建日期:  2017-05-04
使用用户:  1
Github星:  1
插件作者:  fr0zn

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'e0d1n/markersyntax'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'e0d1n/markersyntax'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'e0d1n/markersyntax'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/e0d1n/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`

添加新评论