govim

govim is a Go development plugin for Vim8, written in Go

  • 所有者: govim/govim
  • 平台:
  • 許可證: BSD 3-Clause "New" or "Revised" License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

govim - Go development plugin for Vim8

Command github.com/govim/govim/cmd/govim (referred to simply as govim) is a Go development plugin for Vim8, much
like vim-go. But unlike vim-go, govim is written in Go, not VimScript. It has
features like code completion, format-on-save, hover details and go-to definition, all of which are driven by
gopls, the Language Server Protocol (LSP) server for Go. See the
wiki
for more details. Installation instructions below.

Package github.com/govim/govim provides an API for plugin developers to
interface with Vim8 in Go. More details here.

govim requires at least go1.12 and Vim v8.1.1711
(gvim is also supported). Neovim is not (currently) supported. More details in the
FAQ
.

Install govim via:

  • Vim 8 packages
    • git clone https://github.com/govim/govim.git ~/.vim/pack/plugins/start/govim
  • Pathogen
    • git clone https://github.com/govim/govim.git ~/.vim/bundle/govim
  • vim-plug
    • Plug 'govim/govim'
  • Vundle
    • Plugin 'govim/govim'

You might need some .vimrc/.gvimrc settings to get all features working: see the minimal
.vimrc or .gvimrc for an commented explanation
of the required settings. For more details on .vimrc/.gvimrc settings as well as some tips and tricks, see
here.

What can govim do?

See govim plugin API which also has links to some demo
screencasts.

FAQ

Top of your list of questions is likely "Why have you created govim? What is/was wrong with vim-go?" For answers
this and more see FAQ.

Contributing

Contributions are very much welcome in the form of:

  • feedback
  • issues
  • PRs

See govim tests for details on how the modules in this repository
are tested.

主要指標

概覽
名稱與所有者govim/govim
主編程語言Go
編程語言Go (語言數: 4)
平台
許可證BSD 3-Clause "New" or "Revised" License
所有者活动
創建於2019-03-10 20:28:00
推送於2025-03-13 01:25:30
最后一次提交
發布數36
最新版本名稱v0.0.35 (發布於 )
第一版名稱v0.0.1 (發布於 )
用户参与
星數887
關注者數14
派生數61
提交數760
已啟用問題?
問題數388
打開的問題數162
拉請求數755
打開的拉請求數4
關閉的拉請求數65
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?