add go formatter to lsp config
This commit is contained in:
parent
fbff47ef67
commit
237f863adc
1 changed files with 1 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ return {
|
||||||
typescript = { "prettierd" },
|
typescript = { "prettierd" },
|
||||||
javascriptreact = { "prettierd" },
|
javascriptreact = { "prettierd" },
|
||||||
typescriptreact = { "prettierd" },
|
typescriptreact = { "prettierd" },
|
||||||
|
go = { "gofumpt" },
|
||||||
},
|
},
|
||||||
format_on_save = function(bufnr)
|
format_on_save = function(bufnr)
|
||||||
if vim.g.disable_autoformat or vim.b[bufnr].disable_autoformat then
|
if vim.g.disable_autoformat or vim.b[bufnr].disable_autoformat then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue