mig packer to lazy and archive

Signed-off-by: d0zingcat <leewtang@gmail.com>
This commit is contained in:
d0zingcat
2024-06-03 11:18:10 +08:00
parent bd35155080
commit 65b75edd9a
56 changed files with 764 additions and 25 deletions

View File

@@ -0,0 +1,21 @@
local g = vim.g
-- vim-go
-- let g:go_code_completion_enabled = 1 -- Enable Autocompletion
--g['go_fmt_command'] = 'goimports' -- 格式化将默认的 gofmt 替换
g['go_autodetect_gopath'] = 1
g['go_list_type'] = 'quickfix'
g['go_version_warning'] = 1
g['go_highlight_types'] = 1
g['go_highlight_fields'] = 1
g['go_highlight_functions'] = 1
g['go_highlight_function_calls'] = 1
g['go_highlight_operators'] = 1
g['go_highlight_extra_types'] = 1
g['go_highlight_methods'] = 1
g['go_highlight_generate_tags'] = 1
g['godef_split'] = 2
--g['go_fmt_command'] = 'goimports' " Run goimports along gofmt on each save
g['go_imports_mode'] = 'goimports'
g['go_imports_autosave'] = 0 -- do not auto import
g['go_auto_type_info'] = 1 -- automatically get signature/type info for object under cursor