@@ -434,12 +434,13 @@ defaults to half of your CPU cores."
434434(defun  lsp-clients-go--make-init-options  ()
435435  " Init options for golang." 
436436  `(:funcSnippetEnabled  ,(lsp-clients-go--bool-to-json lsp-clients-go-func-snippet-enabled)
437-                         :gocodeCompletionEnabled  ,(lsp-clients-go--bool-to-json lsp-clients-go-gocode-completion-enabled)
438-                         :formatTool  , lsp-clients-go-format-tool
439-                         :goimportsLocalPrefix  , lsp-clients-go-imports-local-prefix
440-                         :maxParallelism  , lsp-clients-go-max-parallelism
441-                         :useBinaryPkgCache  , lsp-clients-go-use-binary-pkg-cache
442-                         :diagnosticsEnabled  , lsp-clients-go-diagnostics-enabled
437+     :disableFuncSnippet  ,(lsp-clients-go--bool-to-json (not  lsp-clients-go-func-snippet-enabled))
438+     :gocodeCompletionEnabled  ,(lsp-clients-go--bool-to-json lsp-clients-go-gocode-completion-enabled)
439+     :formatTool  , lsp-clients-go-format-tool
440+     :goimportsLocalPrefix  , lsp-clients-go-imports-local-prefix
441+     :maxParallelism  , lsp-clients-go-max-parallelism
442+     :useBinaryPkgCache  , lsp-clients-go-use-binary-pkg-cache
443+     :diagnosticsEnabled  , lsp-clients-go-diagnostics-enabled
443444
444445(lsp-register-client
445446 (make-lsp-client :new-connection  (lsp-stdio-connection (lambda  () lsp-clients-go-server))
0 commit comments