message = "err: exit status 1: stderr: go: github.com/Snyssfx/neovim-lspconfig-gopls-bug@v0.0.0-20210328074543-8ae21bebe8fb (replaced by ./..): reading ../go.mod: open /home/snyssfx/go/pkg/mod/github.com/!snyssfx/neovim-lspconfig-gopls-bug/go.mod: no such file or directory...
nvim 0.9 has been released which support semantic token, but go.nvim lsp default config not support semanticToken.ray-x added the enhancement label Apr 12, 2023 Owner ray-x commented Apr 16, 2023 I think it is enabled by default: go.nvim/lua/go/lsp.lua Lines 94 to 108 in ...
You have to install coc extensions or configure language servers for LSP support. Install extensions like this: :CocInstall coc-json coc-tsserver Or you can configure a language server in your coc-settings.json(open it using :CocConfig) like this: { "languageserver": { "go": { "command...
You have to install coc extension or configure language servers for LSP support. Install extensions like: :CocInstall coc-json coc-tsserver Or configure language server in coc-settings.json opened by :CocConfig, like: { "languageserver": { "go": { "command": "gopls", "rootPatterns": ...
$HOME/.config/nvim-Lazyman/lazyman.sh -n -l -rKnown limitations and troubleshootingView Lazyman known limitations and troubleshooting in the Known Limitations and Troubleshooting article on the website.AppendixGet configuration scriptNeovim 0.9 introduced a new feature which allows execution of Lua ...
You have to install coc extensions or configure language servers for LSP support. Install extensions like this: :CocInstall coc-json coc-tsserver Or you can configure a language server in your coc-settings.json(open it using :CocConfig) like this: { "languageserver": { "go": { "command...
Troubleshooting Uninstallation Config Structure Tweaking this Configuration Managing Plugins with Modules Installing Packages to an Existing Module Installing Packages to a New Module General Settings and Options Environment Variables Keymaps Colorschemes Auto Commands LSP Server Configurations DAP Configurations...
安装gopl go install golang.org/x/tools/gopls@latest 在init.lua配置: local lspconfig = require("lspconfig") lspconfig.gopls.setup({ on_attach = function(_, bufnr) local function buf_set_keymap(mode, lhs, rhs, opts) vim.api.nvim_buf_set_keymap(bufnr, mode, lhs, rhs, opts) ...
You have to install coc extensions or configure language servers for LSP support. Install extensions like this: :CocInstall coc-json coc-tsserver Or you can configure a language server in your coc-settings.json(open it using :CocConfig) like this: { "languageserver": { "go": { "command...
You have to install coc extension or configure language servers for LSP support. Install extensions like: :CocInstall coc-json coc-tsserver Or configure language server in coc-settings.json opened by :CocConfig, like: { "languageserver": { "go": { "command": "gopls", "rootPatterns": ...