GitXplorerGitXplorer
1

vim-go-expr-completion

public
7 stars
0 forks
1 issues

Commits

List of commits on branch master.
Unverified
1989393725e7237cead23fd03192f3050adfc220

fix generated code for err handling

1110y committed 4 years ago
Verified
b241ef91102a885d3d2eeff968b5f8f7285ff1d8

Create README.md

1110y committed 4 years ago
Unverified
610cd1d20626e6b6f7b5220ba238ed63f95d3feb

initialize

1110y committed 4 years ago

README

The README file for this repository.

vim-go-expr-completion

A Vim plugin to complete a left-hand side from given expression for Go.

7e8541cf-ec02-4eae-8977-6780d7467fba

Installation

Plug '110y/vim-go-expr-completion', {'branch': 'master'}

Usage

For example, set a nnoremap like below:

autocmd vimrc FileType go nnoremap <silent> ge :<C-u>silent call go#expr#complete()<CR>

And navigate your cursor to the arbitrary expression, type ge in normal mode, and then this plugin completes the left-hand side for given expression (and if err... if necessary).