Ⅰ. 插件描述
Ω Vim syntax highlighting for Ohm grammarsⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'nfischer/vim-ohm'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'nfischer/vim-ohm'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'nfischer/vim-ohm'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/nfischer/vim-ohm
Ⅳ. 文档说明
# Vim-Ohm
Vim syntax highlighting for Ohm grammars!

About
This contains the vim syntax file for .ohm files.
Like it? Let me know by giving it a star on Github. This is still under active
development, so if you find any bugs or have any feature requests, please let me
know by filing an issue and
I'll deal with it quickly.
What is Ohm?
Ohm is a language for prototyping programming languages. Check out the project
on Github
Installation
Using vim-plug (recommended)
Put the following lines in your vimrc file:
Plug 'nfischer/vim-ohm'
syntax on
set background=dark " recommended for terminals with a dark backgroundHelper commands
This plugin now provides some helper commands for navigating around the files
(inspired by vim-go). You can find
documentation on these commands and mappings from within vim by using `:help
vim-ohm`.