8 lines
173 B
Lua
8 lines
173 B
Lua
require("lsp-format").setup {}
|
|
|
|
local on_attach = function(client)
|
|
require "lsp-format".on_attach(client)
|
|
end
|
|
|
|
require "lspconfig".gopls.setup { on_attach = on_attach }
|