From b30d30f9f7c43e0028c8744505c91cd6a2cc5eee Mon Sep 17 00:00:00 2001 From: Warwick Date: Tue, 23 Nov 2021 12:05:53 +0000 Subject: [PATCH] added document reformat --- plugins.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins.vim b/plugins.vim index 2c6ace0..802e222 100644 --- a/plugins.vim +++ b/plugins.vim @@ -62,8 +62,9 @@ function! s:on_lsp_buffer_enabled() abort setlocal omnifunc=lsp#complete setlocal signcolumn=yes if exists('+tagfunc') | setlocal tagfunc=lsp#tagfunc | endif - nmap l? :echon " ld lsp-definition \n ls lsp document symbol search \n lS lsp workspace symbol search \n lr lsp references \n li lsp implementation \n lt lsp type definition \n lj lsp document diagnostics \n lrn lsp rename \n l[g lsp previous diagnostic \n l]g lsp next diagnostic \n lK lsp hover" + nmap l? :echon " ld lsp-definition \n lrf lsp document reformat \n ls lsp document symbol search \n lS lsp workspace symbol search \n lr lsp references \n li lsp implementation \n lt lsp type definition \n lj lsp document diagnostics \n lrn lsp rename \n l[g lsp previous diagnostic \n l]g lsp next diagnostic \n lK lsp hover" nmap ld (lsp-definition) + nmap lrf (lsp-document-reformat) nmap ls (lsp-document-symbol-search) nmap lS (lsp-workspace-symbol-search) nmap lr (lsp-references)