diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-03-10 14:39:39 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-03-10 14:39:39 +0900 |
commit | 216943ea305f28a6a4eaab3d5044994da9c03e80 (patch) | |
tree | d606b14d883ae5ba6dbd4add2e21844ec4e16a91 /settings | |
parent | f7cf5ded9d76472c71cdbd17935aca38366944be (diff) | |
download | vim-lsp-settings-216943ea305f28a6a4eaab3d5044994da9c03e80.tar.gz vim-lsp-settings-216943ea305f28a6a4eaab3d5044994da9c03e80.tar.bz2 vim-lsp-settings-216943ea305f28a6a4eaab3d5044994da9c03e80.zip |
Fix arguments
Diffstat (limited to 'settings')
-rw-r--r-- | settings/golangci-lint-langserver.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/golangci-lint-langserver.vim b/settings/golangci-lint-langserver.vim index b2f3000..b093359 100644 --- a/settings/golangci-lint-langserver.vim +++ b/settings/golangci-lint-langserver.vim @@ -2,7 +2,7 @@ augroup vim_lsp_settings_golangci_lint_langserver au! LspRegisterServer { \ 'name': 'golangci-lint-langserver', - \ 'cmd': {server_info->lsp_settings#get('golangci-lint-langserver', 'cmd', [lsp_settings#exec_path('golangci-lint-langserver')])}, + \ 'cmd': {server_info->lsp_settings#get('golangci-lint-langserver', 'cmd', [lsp_settings#exec_path('golangci-lint-langserver'), 'run', '--enable-all', '--disable', 'lll', '--out-format', 'json'])}, \ 'root_uri':{server_info->lsp_settings#get('golangci-lint-langserver', 'root_uri', lsp_settings#root_uri('golangci-lint-langserver'))}, \ 'initialization_options': lsp_settings#get('golangci-lint-langserver', 'initialization_options', {}), \ 'whitelist': lsp_settings#get('golangci-lint-langserver', 'whitelist', ['go']), |