|
|
|
@ -756,7 +756,7 @@ require('go').setup({
|
|
|
|
|
disable_defaults = false, -- true|false when true set false to all boolean settings and replace all table
|
|
|
|
|
-- settings with {}
|
|
|
|
|
go='go', -- go command, can be go[default] or go1.18beta1
|
|
|
|
|
goimport='gopls', -- goimport command, can be gopls[default] or goimport
|
|
|
|
|
goimport='gopls', -- goimport command, can be gopls[default] or either goimport or golines if need to split long lines
|
|
|
|
|
fillstruct = 'gopls', -- default, can also use fillstruct
|
|
|
|
|
gofmt = 'gofumpt', --gofmt cmd,
|
|
|
|
|
max_line_len = 128, -- max line length in golines format, Target maximum line length for golines
|
|
|
|
@ -862,7 +862,7 @@ require('go').setup({
|
|
|
|
|
on_stdout = function(err, data) _, _ = err, data end, -- callback when job started
|
|
|
|
|
on_stderr = function(err, data) _, _ = err, data end, -- callback for stderr
|
|
|
|
|
on_exit = function(code, signal, output) _, _, _ = code, signal, output end, -- callback for jobexit, output : string
|
|
|
|
|
iferr_vertical_shift = 4 -- defines where the cursor will end up vertically from the begining of if err statement
|
|
|
|
|
iferr_vertical_shift = 4 -- defines where the cursor will end up vertically from the begining of if err statement
|
|
|
|
|
})
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|