mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 22:30:04 +08:00
Fix SPC e n/p key binding (#3890)
This commit is contained in:
parent
b5d58d6b9c
commit
ea57d3fa8a
@ -159,11 +159,19 @@ function! s:jump_to_next_error() abort
|
||||
lnext
|
||||
catch
|
||||
try
|
||||
cnext
|
||||
ll
|
||||
catch
|
||||
echohl WarningMsg
|
||||
echon 'There is no errors!'
|
||||
echohl None
|
||||
try
|
||||
cnext
|
||||
catch
|
||||
try
|
||||
cc
|
||||
catch
|
||||
echohl WarningMsg
|
||||
echon 'There is no errors!'
|
||||
echohl None
|
||||
endtry
|
||||
endtry
|
||||
endtry
|
||||
endtry
|
||||
endfunction
|
||||
@ -173,11 +181,19 @@ function! s:jump_to_previous_error() abort
|
||||
lprevious
|
||||
catch
|
||||
try
|
||||
cprevious
|
||||
ll
|
||||
catch
|
||||
echohl WarningMsg
|
||||
echon 'There is no errors!'
|
||||
echohl None
|
||||
try
|
||||
cprevious
|
||||
catch
|
||||
try
|
||||
cc
|
||||
catch
|
||||
echohl WarningMsg
|
||||
echon 'There is no errors!'
|
||||
echohl None
|
||||
endtry
|
||||
endtry
|
||||
endtry
|
||||
endtry
|
||||
endfunction
|
||||
|
@ -162,11 +162,19 @@ function! s:jump_to_next_error() abort
|
||||
lnext
|
||||
catch
|
||||
try
|
||||
cnext
|
||||
ll
|
||||
catch
|
||||
echohl WarningMsg
|
||||
echon 'There is no errors!'
|
||||
echohl None
|
||||
try
|
||||
cnext
|
||||
catch
|
||||
try
|
||||
cc
|
||||
catch
|
||||
echohl WarningMsg
|
||||
echon 'There is no errors!'
|
||||
echohl None
|
||||
endtry
|
||||
endtry
|
||||
endtry
|
||||
endtry
|
||||
endfunction
|
||||
@ -176,11 +184,19 @@ function! s:jump_to_previous_error() abort
|
||||
lprevious
|
||||
catch
|
||||
try
|
||||
cprevious
|
||||
ll
|
||||
catch
|
||||
echohl WarningMsg
|
||||
echon 'There is no errors!'
|
||||
echohl None
|
||||
try
|
||||
cprevious
|
||||
catch
|
||||
try
|
||||
cc
|
||||
catch
|
||||
echohl WarningMsg
|
||||
echon 'There is no errors!'
|
||||
echohl None
|
||||
endtry
|
||||
endtry
|
||||
endtry
|
||||
endtry
|
||||
endfunction
|
||||
|
Loading…
Reference in New Issue
Block a user