vim-syntax


Ⅰ. 插件描述

Vim syntax files for better coding

Ⅱ. 基本信息

创建日期:  2017-10-13
使用用户:  2
Github星:  0
插件作者:  Philip Mayer

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'shadowsith/vim-syntax-today-cannot-touch'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'shadowsith/vim-syntax-today-cannot-touch'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'shadowsith/vim-syntax-today-cannot-touch'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# vim_syntax_and_dictonary_collection

This git repository includes individual syntax highlightings and dictionaries for serveral languages.

content and function

This is not a plugin rather than a collection of several syntax highlighting files.

Vim includes automatically the right 'syntax.vim' by using the right file extensions. Only they need to be 'syntax on' in the .vimrc

Following will be highlighted standardly:

  • Brackets: "(), [], {}", --> seeing rainbow plugin, because this is the better solution, thanks to luochen1990
  • Mathematics: "+ - ** % / < > =",
  • Logical: "! | &"
  • Others ". , : ; ",
  • Classical Iterator variables "i,j,k,l"

motivation

I like it to highlight key-characters in a language to see errors in a more convinient way and will give anyone a simple entry in lot used languages.

support

I will support following languages firstly:

  • C/C++
  • C#
  • Java
  • Lua
  • Python

install

I recommend to install vim-pathogen and adding this to .vim/bundle/vim-syntax
Other way you can install it to ./vim/syntax, but i don't recommend this

future

If I have time i would add key words for standard library functions like C's prinf or C++'s cout

添加新评论