Update gols. Update lsp-signature config. Adds smoth scrolling. Adds highlight for current word.

This commit is contained in:
Mariano Uvalle 2022-01-09 13:58:55 -08:00
parent 91f122bcd1
commit 24acdf848a
6 changed files with 46 additions and 17 deletions

View file

@ -34,8 +34,12 @@ vim.g.go_code_completion_enabled = 0
-- Disable gopls for the same reasons as above.
vim.g.go_gopls_enabled = 0
-- Use goimports for both formatting and imports.
vim.g.go_fmt_command = 'goimports'
-- Simplify code when formatting.
vim.g.go_fmt_command = 'gofmt'
vim.g.go_fmt_options = {
gofmt = '-s',
}
vim.g.go_imports_mode = 'goimports'
-- Could confilg with lsp saga, should experiment.