update
This commit is contained in:
parent
6d0417c208
commit
8f0996aaa9
11
lua/lsp/go.lua
Normal file
11
lua/lsp/go.lua
Normal file
@ -0,0 +1,11 @@
|
||||
return {
|
||||
settings = {
|
||||
gopls = {
|
||||
ui = {
|
||||
completion = {
|
||||
usePlaceholders = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
@ -14,6 +14,7 @@ return {
|
||||
require 'lspconfig'.pyright.setup(require('lsp.pyright'))
|
||||
require 'lspconfig'.jsonls.setup {}
|
||||
require 'lspconfig'.yamlls.setup(require('lsp.yaml'))
|
||||
require 'lspconfig'.gopls.setup(require('lsp.go'))
|
||||
|
||||
|
||||
G.map({
|
||||
@ -47,8 +48,7 @@ return {
|
||||
"lua_ls",
|
||||
"jsonls",
|
||||
"yamlls",
|
||||
"dockerls",
|
||||
"docker_compose_language_service"
|
||||
"gopls"
|
||||
}
|
||||
})
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user