diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5c2bb8f9996..e57aa46f978 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -130,7 +130,7 @@ if (executable('gnols')) \ 'root' : '/path/to/gno_repo', \ 'gno' : '/path/to/gno_bin', \ 'precompileOnSave' : v:true, - \ 'buildOnSave' : v:false, + \ 'buildOnSave' : v:true, \ }, \ 'languageId': {server_info->'gno'}, \ }) @@ -145,8 +145,9 @@ function! s:on_lsp_buffer_enabled() abort autocmd BufWritePre LspDocumentFormatSync " Some optionnal mappings nmap i (lsp-hover) + nmap gd (lsp-definition) + nmap rf (lsp-references) " Following mappings are not supported yet by gnols - " nmap gd (lsp-definition) " nmap rr (lsp-rename) endfunction augroup lsp_install