1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 17:30:04 +08:00

Merge pull request #168 from phacops/pm-enable-neosnippet-for-go

Enable neosnippet for go
This commit is contained in:
Wang Shidong 2017-01-27 12:46:05 +08:00 committed by GitHub
commit 7a3deec25e

View File

@ -16,6 +16,8 @@ function! SpaceVim#layers#lang#go#config() abort
let g:go_fmt_command = 'goimports'
let g:syntastic_go_checkers = ['golint', 'govet', 'errcheck']
let g:syntastic_mode_map = { 'mode': 'active', 'passive_filetypes': ['go'] }
let g:go_snippet_engine = "neosnippet"
augroup SpaceVim_go
au!
au FileType go nmap <Buffer><Leader>s <Plug>(go-implements)