diff options
Diffstat (limited to '.config/nvim/plug-config/lsp-saga.vim')
-rw-r--r-- | .config/nvim/plug-config/lsp-saga.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.config/nvim/plug-config/lsp-saga.vim b/.config/nvim/plug-config/lsp-saga.vim new file mode 100644 index 0000000..428e5a1 --- /dev/null +++ b/.config/nvim/plug-config/lsp-saga.vim @@ -0,0 +1,7 @@ + nnoremap <silent> K <cmd>lua require('lspsaga.hover').render_hover_doc()<CR> + " -- scroll down hover doc or scroll in definition preview + nnoremap <silent> <C-f> <cmd>lua require('lspsaga.action').smart_scroll_with_saga(1)<CR> + " -- scroll up hover doc + nnoremap <silent> <C-b> <cmd>lua require('lspsaga.action').smart_scroll_with_saga(-1)<CR> + " signature + nnoremap <silent> gs <cmd>lua require('lspsaga.signaturehelp').signature_help()<CR> |