Ⅰ. 插件描述
Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'google/vim-ft-go'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'google/vim-ft-go'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'google/vim-ft-go'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/google/vim-ft-go
Ⅳ. 文档说明
A rudimentary Go filetype plugin. Provides syntax files and basic settings for
go files.
This is a fork of some of the vim files originally stored in the main go
repository under misc/vim/.
If you're doing serious go development, you probably want to install a more
full-featured plugin like https://github.com/fatih/vim-go, which includes lots
of useful commands and utilities.
NOTE: As of vim 7.4.414, these files have been merged into vim's upstream
runtime files. You only need this plugin if you're running an older version of
vim, or to receive future updates until they're merged into vim.