vim-polyglot-darkcloud


Ⅰ. 插件描述

Fork of a solid Vim language pack for darkcloud-vimconfig

Ⅱ. 基本信息

创建日期:  2013-10-07
使用用户:  3
Github星:  2
插件作者:  Kevin MacMartin

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# vim-polyglot (darkcloud fork) #

A collection of language packs for Vim. This fork includes a customized set of language packages (unique items marked with a * below), an updated build script and the inclusion of the plugin folder for applicable packs.

One to rule them all, one to find them, one to bring them all and in the darkness bind them.

  • It won't affect your startup time, as scripts are loaded only on demand*.
  • It installs 50+ times faster than 50+ packages it consist of.
  • Solid syntax and indentation support. Only the best language packs.
  • All unnecessary files are ignored (like enormous documentation from php support).
  • No support for esoteric languages, only most popular ones (modern too, like slim).
  • Each build is tested by automated vimrunner script on CI. See spec directory.

*To be completely honest, concatenated ftdetect script takes around 3ms to load.

Installation

  1. Install pathogen, Vundle or NeoBundle package manager.
  2. Use this repository as submodule or package.

Optionally download one of the releases and unpack it directly under ~/.vim directory.

Language packs

  • *archversion (syntax, ftplugin, ftdetect)
  • arduino (syntax, indent, ftdetect)
  • *aspnet (syntax)
  • blade (syntax, indent, ftdetect)
  • c++11 (syntax)
  • c/c++ (syntax)
  • c-extensions (syntax)
  • clojure (syntax, indent, autoload, ftplugin, ftdetect)
  • coffee-script (syntax, indent, compiler, autoload, ftplugin, ftdetect)
  • *coloresque (syntax)
  • css (syntax)
  • csv (syntax, ftplugin, ftdetect, plugin)
  • cucumber (syntax, indent, compiler, ftplugin, ftdetect)
  • *cython (syntax, ftplugin, plugin)
  • dockerfile (syntax, ftdetect, plugin)
  • elixir (syntax, indent, compiler, ftplugin, ftdetect)
  • emberscript (syntax, indent, ftplugin, ftdetect)
  • emblem (syntax, indent, ftplugin, ftdetect)
  • erlang (syntax, indent, compiler, autoload, ftplugin)
  • git (syntax, indent, ftplugin, ftdetect)
  • go (syntax, indent, ftdetect)
  • haml (syntax, indent, compiler, ftplugin, ftdetect)
  • handlebars (syntax, ftplugin, ftdetect)
  • haskell (syntax, indent, ftplugin)
  • haxe (syntax, ftdetect)
  • html5 (syntax, indent, autoload, ftplugin)
  • jade (syntax, indent, ftplugin, ftdetect)
  • jasmine (syntax, ftdetect)
  • javascript (syntax, indent, ftdetect)
  • *jquery (syntax)
  • *json (syntax, indent, ftplugin, ftdetect)
  • jst (syntax, indent, ftdetect)
  • latex (syntax, indent, ftplugin)
  • less (syntax, indent, ftplugin, ftdetect)
  • liquid (syntax, indent, ftplugin, ftdetect)
  • *markdown (syntax, indent, ftdetect)
  • nginx (syntax, ftdetect)
  • *nim (syntax, indent, ftdetect, ftplugin)
  • ocaml (syntax, indent, ftplugin)
  • octave (syntax)
  • opencl (syntax, indent, ftplugin, ftdetect)
  • perl (syntax, indent, ftplugin, ftdetect)
  • php (syntax)
  • puppet (syntax, indent, ftplugin, ftdetect)
  • protobuf (syntax, ftdetect)
  • python (syntax, indent)
  • *r-lang (syntax, indent, ftplugin, ftdetect)
  • rspec (syntax, ftdetect)
  • ruby (syntax, indent, compiler, autoload, ftplugin, ftdetect)
  • rust (syntax, indent, compiler, autoload, ftplugin, ftdetect, plugin)
  • sbt (syntax, ftdetect)
  • scala (syntax, indent, ftplugin, ftdetect, plugin)
  • slim (syntax, indent, ftdetect)
  • stylus (syntax, indent, ftplugin, ftdetect)
  • *svg (syntax)
  • swift (syntax, indent, ftdetect)
  • systemd (syntax, ftdetect)
  • textile (syntax, ftplugin, ftdetect)
  • *tmux (syntax, ftdetect)
  • tomdoc (syntax)
  • toml (syntax, ftdetect)
  • typescript (syntax, compiler, ftplugin, ftdetect)
  • vala (syntax, indent, ftdetec)
  • vbnet (syntax)
  • vm (syntax, indent, ftdetect)
  • twig (syntax, ftplugin, ftdetect)
  • xls (syntax)
  • yard (syntax)

Note: Languages with a * before their name were either added or changed in this fork.

Contributing

Language packs are periodically updated using automated build script.

Feel free to add your language, and send pull-request.

License

See linked repositories for detailed license information.

添加新评论