Try fix format in Go files
This commit is contained in:
parent
2313226c67
commit
538c084658
|
@ -1,6 +1,7 @@
|
||||||
local capabilities = require('cmp_nvim_lsp').default_capabilities()
|
local capabilities = require('cmp_nvim_lsp').default_capabilities()
|
||||||
local remap = require('vtimofei.lsp.remap')
|
local remap = require('vtimofei.lsp.remap')
|
||||||
local lsp_conf = require('lspconfig')
|
local lsp_conf = require('lspconfig')
|
||||||
|
local opt = vim.opt
|
||||||
|
|
||||||
lsp_conf.gopls.setup{
|
lsp_conf.gopls.setup{
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
|
@ -13,5 +14,7 @@ lsp_conf.gopls.setup{
|
||||||
remap.diagnostics_prev()
|
remap.diagnostics_prev()
|
||||||
remap.rename()
|
remap.rename()
|
||||||
remap.code_action()
|
remap.code_action()
|
||||||
|
opt.autoindent = true
|
||||||
|
opt.expandtab = false
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue