Ⅰ. 插件描述
Ts(x) files syntax and indent support for Vim.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'soywod/typescript-vim-tree-and-truth'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'soywod/typescript-vim-tree-and-truth'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'soywod/typescript-vim-tree-and-truth'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/soywod/typescript.vim
Ⅳ. 文档说明
# typescript.vim
A sweet mix between pangloss/vim-javascript, mxw/vim-jsx and leafgarland/typescript-vim, in order to have a decent Vim syntax / indent in .ts AND .tsx files. All rights go to these repos.
<p align="center">
</p>
Theme: One Light, font: Space Mono
Installation
Example with vim-plug:
Plug 'soywod/typescript.vim'Don't forget the :PlugInstall.