kak: use sync formatting to allow erro handling

This commit is contained in:
lelgenio 2022-03-01 11:03:39 -03:00
parent 6a7814e675
commit 5f8d4e8f88
1 changed files with 2 additions and 2 deletions

View File

@ -13,8 +13,8 @@ map global user 'z' ':zoxide ' -docstring 'zoxide'
map global user 'n' ': new<ret>' -docstring 'new window'
map global user 'e' 'x|emmet<ret>{{@@ "@" if not tabs @@}}' -docstring 'process line with emmet'
map global user 'm' ': try lsp-formatting catch format-buffer<ret>' -docstring 'format document'
map global user 'M' ': try lsp-range-formatting catch format-selections<ret>' -docstring 'format selection'
map global user 'm' ': try lsp-formatting-sync catch format-buffer<ret>' -docstring 'format document'
map global user 'M' ': try lsp-range-formatting-sync catch format-selections<ret>' -docstring 'format selection'
map global user 'c' ': comment-line<ret>' -docstring 'comment line'
map global user 'C' '_: comment-block<ret>' -docstring 'comment block'