Try fix format in Go files

This commit is contained in:
Victor Timofei 2023-06-17 16:28:47 +03:00
parent 2313226c67
commit 538c084658
No known key found for this signature in database
GPG Key ID: DD624AB6CFB54FC8
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,7 @@
local capabilities = require('cmp_nvim_lsp').default_capabilities()
local remap = require('vtimofei.lsp.remap')
local lsp_conf = require('lspconfig')
local opt = vim.opt
lsp_conf.gopls.setup{
capabilities = capabilities,
@ -13,5 +14,7 @@ lsp_conf.gopls.setup{
remap.diagnostics_prev()
remap.rename()
remap.code_action()
opt.autoindent = true
opt.expandtab = false
end
}