1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 02:50:06 +08:00

Merge pull request #1815 from ccojocar/neomake_config

Disable the gometalinter in neomake
This commit is contained in:
Wang Shidong 2018-06-12 08:01:41 +08:00 committed by GitHub
commit f6f359ff9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,6 +58,7 @@ function! SpaceVim#layers#lang#go#config() abort
let g:go_fmt_command = 'goimports'
let g:syntastic_go_checkers = ['golint', 'govet']
let g:syntastic_mode_map = { 'mode': 'active', 'passive_filetypes': ['go'] }
let g:neomake_go_gometalinter_args = ['--disable-all']
let g:go_snippet_engine = 'neosnippet'
if SpaceVim#layers#lsp#check_filetype('go')