v-vim


Ⅰ. 插件描述

Support for V syntax highlighting in Vim

Ⅱ. 基本信息

创建日期:  2019-06-13
使用用户:  11
Github星:  72
插件作者:  ollykel

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/ollykel/v-vim

Ⅳ. 文档说明

# Support for V in Vim
The files in this repository provide support for the v programming language in Vim.

Installation

Using a Plugin Manager

You can install V support with a vim plugin manager as usual, for example with Plug:

Plug 'ollykel/v-vim'

Reload config (or save & exit vim/neovim), then:

:PlugInstall

Options

You can add any of the following into your vim config to disable highlighting.
All options are enabled by default.

" Disable highlight white space after "[]".
let g:v_highlight_array_whitespace_error = 0

" Disable highlight white space around the communications operator that don't follow the standard style.
let g:v_highlight_chan_whitespace_error = 0

" Disable highlight instances of tabs following spaces.
let g:v_highlight_space_tab_error = 0

" Disable highlight trailing white space.
let g:v_highlight_trailing_whitespace_error = 0

" Disable highlight function calls.
let g:v_highlight_function_calls = 0

let g:v_highlight_fields = 0

添加新评论