Add comment

Hi Ahmed,

You need to add "command: " to the json file.

{ "F3": "command: fexec gopls definition {f}:#{o}" }

Modifying bindings.json file is explained in great detail above:
https://terokarvinen.com/2021/micro-go-lsp-language-server-protocol-plugin-definition/#add-keybinding-to-define-keyword

— Tero Karvinen, 2021-04-14

Thanks for this very helpful article.

I have a question
How do I add this setting:

{"F3":"fexec gopls definition {f}:#{o}|fold -s -79"}

to a bindin.json?
The editor does not accept this setting in the JSON file. But he accepts it at the command prompt.

Thanks.

— ahmed, 2021-04-12

Add comment