syntax/m4.vim


Ⅰ. 插件描述

Improved m4.vim

Ⅱ. 基本信息

创建日期:  2006-02-12
使用用户:  6
Github星:  3
插件作者:  Shinra AIDA

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

This is an improved version of m4.vim.

If you are using the changequote() and changecom(), you can specify
the quote and comment delimiters just like vim modelines in the
following way:

<BLANK>vim-m4-syntax: quote=[,] comment=<!--,-->:

You can specify your default delimiters at your vimrc:

:let g:m4_default_quote="`,'"
:let g:m4_default_comment='#'

After the file read, you can change them in the following way:

:let b:m4_quote='<<,>>'
:let b:m4_comment=''
:call M4UpdateSyntax()

添加新评论