diff --git a/nvim/.config/nvim/lua/plugins/nvimgo.lua b/nvim/.config/nvim/lua/plugins/nvimgo.lua index cc23ec9..f6fcf75 100644 --- a/nvim/.config/nvim/lua/plugins/nvimgo.lua +++ b/nvim/.config/nvim/lua/plugins/nvimgo.lua @@ -1,4 +1,4 @@ -require('go').setup({ +require('go').setup { -- auto commands auto_format = false, auto_lint = false, @@ -17,7 +17,7 @@ require('go').setup({ -- show test result with popup window test_popup = true, test_popup_width = 80, - test_popup_height = 10, + test_popup_height = 15, -- test open test_open_cmd = 'edit', -- struct tags @@ -27,7 +27,7 @@ require('go').setup({ tags_flags = {'-skip-unexported'}, -- quick type quick_type_flags = {'--just-types'}, -}) +} vim.cmd [[ augroup nvimgo_keymaps @@ -37,5 +37,6 @@ vim.cmd [[ autocmd FileType go nnoremap tF :GoTestFile autocmd FileType go nnoremap ta :GoTestAll autocmd FileType go nnoremap a :GoToTest + autocmd User NvimGoTestPopupPost nnoremap :q augroup END ]]