Files
dotfiles/.config/nvim/lua/user/lsp_format.lua
Niktia Bykov 982f56d950 initial
2024-01-01 15:42:39 +05:00

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 }