vim-lefdef


Ⅰ. 插件描述

Design/Library Exchange Formats syntax files

Ⅱ. 基本信息

创建日期:  2017-02-27
使用用户:  2
Github星:  1
插件作者:  Tarik Graba

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# Design/Library Exchange Formats syntax files

The comtent of this repository is based on the LEF_DEF_syntax syntax files created by Levon Ohanyan that you can find on vim.org.

This copy simplifies the installation using a plugin manager (like Vundle or Plug).

Some highlight group have been modified to use more common ones.


Original readme


How to install DEF (Design Exchange Format) and LEF (Library Exchange Format) syntax files:

For UNIX:

  1. Copy syntax/* to $HOME/.vim/syntax/
  2. Copy ftdetect/* to /home/.vim/ftdetect/
  3. Add to your .vimrc file following lines:
    autocmd FileType lef so ~/.vim/syntax/lef.vim
    autocmd FileType def so ~/.vim/syntax/def.vim

For Windows:

  1. Copy syntax/* to C:\Program Files (x86)\Vim\vimfiles\syntax\
  2. Copy ftdetect/* to C:\Program Files (x86)\Vim\vimfiles\ftdetect\

添加新评论