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'.pyright.setup(require('lsp.pyright'))
|
||||||
require 'lspconfig'.jsonls.setup {}
|
require 'lspconfig'.jsonls.setup {}
|
||||||
require 'lspconfig'.yamlls.setup(require('lsp.yaml'))
|
require 'lspconfig'.yamlls.setup(require('lsp.yaml'))
|
||||||
|
require 'lspconfig'.gopls.setup(require('lsp.go'))
|
||||||
|
|
||||||
|
|
||||||
G.map({
|
G.map({
|
||||||
@ -47,8 +48,7 @@ return {
|
|||||||
"lua_ls",
|
"lua_ls",
|
||||||
"jsonls",
|
"jsonls",
|
||||||
"yamlls",
|
"yamlls",
|
||||||
"dockerls",
|
"gopls"
|
||||||
"docker_compose_language_service"
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user