l-syntax


Ⅰ. 插件描述

Ⅱ. 基本信息

创建日期:  2015-08-31
使用用户:  1
Github星:  2
插件作者:  Robert Perce

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

Syntax highlighting for L

My Programming Languages course uses L, an extension of the lambda calculus. As something
of a toy language, and with a remarkably ungoogleable name, I couldn't find a syntax file,
so I made one. Install this plugin however you do with with your plugin manager; two
common examples follow:

With Pathogen,

git clone http://github.com/rperce/L-syntax ~/.git/bundle/L-syntax

(if you keep dotfiles in a repo, and use submodules for your plugins, you shouldn't need
me to tell you what to do with this).

With Vundle, put

Plugin 'rperce/L-syntax'

in the Vundle section of your .vimrc, then run :PluginInstall inside vim.

If you don't use a plugin manager at all, I'd recommend using one of the above plugin

  1. If you're stubborn, put the files in this repository in their named folders
  2. your .vim directory directly, so you have something like
.vim
|
+- ftdetect
|  |
|  +- L.vim
|
+- syntax
   |
   +- L.vim

Make sure you put the correct L.vim in the correct spot.

添加新评论