mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-02 09:04:36 +02:00
[LSP] go - Support gopls through LspInstall. (#177)
This commit is contained in:
parent
16b669f1ce
commit
8ce7e8d800
2 changed files with 5 additions and 0 deletions
4
lua/lsp/go-ls.lua
Normal file
4
lua/lsp/go-ls.lua
Normal file
|
@ -0,0 +1,4 @@
|
|||
require'lspconfig'.gopls.setup{
|
||||
cmd = {DATA_PATH .. "/lspinstall/go/gopls"},
|
||||
on_attach = require'lsp'.common_on_attach
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue