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:
commit
7a3deec25e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user