Vim插件之vim-polyglot

来源:互联网 发布:金庸群侠传x源码 编辑:程序博客网 时间:2024/05/29 14:51

vim-polyglot,属于开箱即用型的语法高亮包,支持下面这些语言

  • ansible (syntax, indent, ftplugin)
  • apiblueprint (syntax)
  • applescript (syntax)
  • arduino (syntax, indent)
  • blade (syntax, indent, ftplugin)
  • c++11 (syntax)
  • c/c++ (syntax)
  • caddyfile (syntax, indent, ftplugin)
  • cjsx (syntax, ftplugin)
  • clojure (syntax, indent, autoload, ftplugin)
  • coffee-script (syntax, indent, compiler, autoload, ftplugin)
  • cql (syntax)
  • cryptol (syntax, compiler, ftplugin)
  • crystal (syntax, indent, autoload, ftplugin)
  • css (syntax)
  • cucumber (syntax, indent, compiler, ftplugin)
  • dart (syntax, indent, autoload, ftplugin)
  • dockerfile (syntax)
  • elixir (syntax, indent, compiler, autoload, ftplugin)
  • elm (syntax, indent, autoload, ftplugin)
  • emberscript (syntax, indent, ftplugin)
  • emblem (syntax, indent, ftplugin)
  • erlang (syntax, indent)
  • fish (syntax, indent, compiler, autoload, ftplugin)
  • git (syntax, indent, ftplugin)
  • glsl (syntax, indent)
  • gnuplot (syntax)
  • go (syntax, compiler, indent)
  • groovy (syntax)
  • haml (syntax, indent, compiler, ftplugin)
  • handlebars (syntax, indent, ftplugin)
  • haskell (syntax, indent, ftplugin)
  • haxe (syntax)
  • html5 (syntax, indent, autoload, ftplugin)
  • i3 (syntax, ftplugin)
  • jasmine (syntax)
  • javascript (syntax, indent, compiler, ftplugin, extras)
  • json (syntax, indent, ftplugin)
  • jst (syntax, indent)
  • jsx (after)
  • julia (syntax, indent)
  • kotlin (syntax, indent)
  • latex (syntax, indent, ftplugin)
  • less (syntax, indent, ftplugin)
  • liquid (syntax, indent, ftplugin)
  • livescript (syntax, indent, compiler, ftplugin)
  • lua (syntax, indent)
  • mako (syntax, indent, ftplugin)
  • markdown (syntax)
  • mathematica (syntax, ftplugin)
  • nginx (syntax, indent, ftplugin)
  • nim (syntax, compiler, indent)
  • nix (syntax, ftplugin)
  • objc (ftplugin, syntax, indent)
  • ocaml (syntax, indent, ftplugin)
  • octave (syntax)
  • opencl (syntax, indent, ftplugin)
  • perl (syntax, indent, ftplugin)
  • pgsql (syntax)
  • php (syntax)
  • plantuml (syntax, indent, ftplugin)
  • powershell (syntax, indent, ftplugin)
  • protobuf (syntax, indent)
  • pug (syntax, indent, ftplugin)
  • puppet (syntax, indent, ftplugin)
  • purescript (syntax, indent, ftplugin)
  • python-compiler (compiler, autoload)
  • python (syntax, indent)
  • qml (syntax, indent, ftplugin)
  • r-lang (syntax, ftplugin)
  • ragel (syntax)
  • raml (syntax, ftplugin)
  • rspec (syntax)
  • ruby (syntax, indent, compiler, autoload, ftplugin)
  • rust (syntax, indent, compiler, autoload, ftplugin)
  • sbt (syntax)
  • scala (syntax, indent, compiler, ftplugin)
  • scss (syntax, autoload, ftplugin)
  • slim (syntax, indent, ftplugin)
  • solidity (syntax, indent)
  • stylus (syntax, indent, ftplugin)
  • swift (syntax, indent, ftplugin)
  • sxhkd (syntax)
  • systemd (syntax)
  • terraform (syntax, indent, ftplugin)
  • textile (syntax, ftplugin)
  • thrift (syntax)
  • tmux (syntax, ftplugin)
  • tomdoc (syntax)
  • toml (syntax, ftplugin)
  • twig (syntax, indent, ftplugin)
  • typescript (syntax, indent, compiler, ftplugin)
  • vala (syntax, indent)
  • vbnet (syntax)
  • vcl (syntax)
  • vm (syntax, indent)
  • vue (syntax, indent, ftplugin)
  • xls (syntax)
  • yaml (syntax, ftplugin)
  • yard (syntax)
    但是要注意,这个插件并不提供上面那些插件的完整功能,因此如果需要用到相应的功能的话,推荐安装相应的插件,另外,如果你不想使用这个插件提供的某种语言的高亮的话,可以修改相应的配置文件,比如对于CSS可以这样设置
let g:polyglot_disabled = ['css']
0 0
原创粉丝点击