koron / vim-goimports

Vim plugin for Minimalist Gopher

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vim-goimports

Vim plugin for Minimalist Gopher

Features

  • Auto-formatting with :w
  • GoImport/GoImportAs

This plugin is mostly based on vim-go.

Will not do

  • Add new commands
  • Modify syntax

Usage

:w

Installation

For vim-plug plugin manager:

Plug 'mattn/vim-goimports'

Configuration

" enable (default)
let g:goimports = 1
" disable
let g:goimports = 0

Requirements

  • goimports

License

MIT

Author

Yasuhiro Matsumoto (a.k.a. mattn)

About

Vim plugin for Minimalist Gopher

License:Other


Languages

Language:Vim Script 100.0%