Fix README example (#45)

* Fix README example

* Update README.md

fillstruct take string as an argument, the line below should be move above.

Co-authored-by: rayx <rayx.cn@gmail.com>
pull/46/head
Alex Su 3 years ago committed by GitHub
parent 21017717c1
commit 1b77404abe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -339,9 +339,8 @@ require('go').setup({
-- nil/false do nothing
lsp_codelens = true, -- set to false to disable codelens, true by default
gopls_remote_auto = true, -- add -remote=auto to gopls
gopls_cmd = nil, -- if you need to specify gopls path and cmd, e.g {"/home/user/lsp/gopls", "-logfile",
gopls_cmd = nil, -- if you need to specify gopls path and cmd, e.g {"/home/user/lsp/gopls", "-logfile","/var/log/gopls.log" }
fillstruct = 'gopls', -- can be nil (use fillstruct, slower) and gopls
"/var/log/gopls.log" }
lsp_diag_hdlr = true, -- hook lsp diag handler
dap_debug = true, -- set to false to disable dap
dap_debug_keymap = true, -- set keymaps for debugger

Loading…
Cancel
Save