sourcegraph / go-langserver

Go language server to add Go support to editors and other tools that use the Language Server Protocol (LSP)
https://sourcegraph.com
MIT License
1.17k stars 89 forks source link

Unable to close funcSnippetEnabled #358

Closed glepnir closed 5 years ago

glepnir commented 5 years ago

Problem

I set false, it still executes,With some code snippet plugins, they are conflicting. I use coc and neosnippet to help me complete func by neosnippet, but when I type functionname, go-langserver will prompt me, I can't challenge the next snippet. like this pic go This is my go-langserver setting in coc

    "languageserver": {
    "golang": {
      "command": "go-langserver",
      "filetypes": ["go"],
      "initializationOptions": {
        "gocodeCompletionEnabled": true,
        "diagnosticsEnabled": true,
        "funcSnippetEnable":  false,
        "lintTool": "golint"
      }
    }
  }