fix: modify gopls for completion

This commit is contained in:
2024-05-08 20:20:43 +08:00
parent 2a68d143a8
commit 22b880e642
6 changed files with 59 additions and 85 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
vim.g.autoformat = false
vim.g.autoformat = true
vim.cmd('set iskeyword+=-') -- treat dash separated words as a word text object"
vim.cmd('set shortmess+=c') -- Don't pass messages to |ins-completion-menu|.
@@ -61,4 +61,4 @@ autocmd BufReadPost * if line("'\"") >= 1 && line("'\"") <= line("$") | exe "no
-- --local cc = 'gruvbox'
-- local cc = 'lunar'
-- vim.opt.background="dark"
-- vim.cmd('colorscheme ' .. cc)
-- vim.cmd('colorscheme ' .. cc)