vim-renpy


Ⅰ. 插件描述

Vim syntax highlighting for Renpy

Ⅱ. 基本信息

创建日期:  2014-02-26
使用用户:  11
Github星:  10
插件作者:  Chaim-Leib Halbert

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'chaimleib/vim-renpy-come-back-be-here'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'chaimleib/vim-renpy-come-back-be-here'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'chaimleib/vim-renpy-come-back-be-here'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

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

Ⅳ. 文档说明

vim-renpy

Vim syntax highlighting for [Renpy][] script files.

Installation

NeoBundle

Just add the following line in your .vimrc:

NeoBundle 'chaimleib/vim-renpy'

Pathogen

git clone https://github.com/chaimleib/vim-renpy ~/.vim/bundle/vim-renpy

Manual Installation

There are three components to installing a Vim syntax file:

  1. ./syntax/renpy.vim - the syntax highlighting file.
  2. ./ftdetect/renpy.vim - detects when a .rpy file is loaded and tells vim to use the correct syntax file.
  3. Make sure syntax on is in your .vimrc file.

Step 1

Clone or download this repository and copy all the directories here in your ~/.vim
directory.

Step 2

If you haven't done so already, add

syntax on

to ~/.vimrc as well.

Other

This package may also run with other package managers like
Vundle, but it is still not tested.

Credits

  • Based on Spiky Caterpillar's renpy.vim
  • Modifications from:

    • [Civa Lin]
    • [Dimitry Solovyov]
    • [Jezeniel Zapanta]

添加新评论