mirror of
https://github.com/mattn/vim-lsp-settings.git
synced 2025-12-12 20:35:54 +01:00
Remove -range from nnoremap <plug>(lsp-rust-join-lines)
AFAIK, `-range` is not a valid option on maps. This caused me to have a broken mapping for `-range` itself, adding an annoying timeout on my unrelated `-` mapping. ``` :nmap - n -range * <Plug>(lsp-rust-join-lines) :<C-U>call <SNR>131_join_lines()<CR> n - <Plug>(dirvish_up) ```
This commit is contained in:
@@ -30,7 +30,7 @@ function! s:on_lsp_buffer_enabled() abort
|
||||
nnoremap <buffer> <plug>(lsp-rust-analyzer-status) :<c-u>call <SID>rust_analyzer_status()<cr>
|
||||
|
||||
command! -range LspRustJoinLines call <SID>join_lines()
|
||||
nnoremap -range <plug>(lsp-rust-join-lines) :<c-u>call <SID>join_lines()<cr>
|
||||
nnoremap <plug>(lsp-rust-join-lines) :<c-u>call <SID>join_lines()<cr>
|
||||
|
||||
command! -buffer LspRustFindMatchingBrace call <SID>find_matching_brace()
|
||||
nnoremap <buffer> <plug>(lsp-rsut-find-matching-brace) :<c-u>call <SID>find_matching_brace()<cr>
|
||||
|
||||
Reference in New Issue
Block a user