mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-23 01:09:56 +08:00
Fix SPC e n/p key binding (#3890)
This commit is contained in:
parent
b5d58d6b9c
commit
ea57d3fa8a
@ -157,29 +157,45 @@ endfunction
|
|||||||
function! s:jump_to_next_error() abort
|
function! s:jump_to_next_error() abort
|
||||||
try
|
try
|
||||||
lnext
|
lnext
|
||||||
|
catch
|
||||||
|
try
|
||||||
|
ll
|
||||||
catch
|
catch
|
||||||
try
|
try
|
||||||
cnext
|
cnext
|
||||||
|
catch
|
||||||
|
try
|
||||||
|
cc
|
||||||
catch
|
catch
|
||||||
echohl WarningMsg
|
echohl WarningMsg
|
||||||
echon 'There is no errors!'
|
echon 'There is no errors!'
|
||||||
echohl None
|
echohl None
|
||||||
endtry
|
endtry
|
||||||
endtry
|
endtry
|
||||||
|
endtry
|
||||||
|
endtry
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:jump_to_previous_error() abort
|
function! s:jump_to_previous_error() abort
|
||||||
try
|
try
|
||||||
lprevious
|
lprevious
|
||||||
|
catch
|
||||||
|
try
|
||||||
|
ll
|
||||||
catch
|
catch
|
||||||
try
|
try
|
||||||
cprevious
|
cprevious
|
||||||
|
catch
|
||||||
|
try
|
||||||
|
cc
|
||||||
catch
|
catch
|
||||||
echohl WarningMsg
|
echohl WarningMsg
|
||||||
echon 'There is no errors!'
|
echon 'There is no errors!'
|
||||||
echohl None
|
echohl None
|
||||||
endtry
|
endtry
|
||||||
endtry
|
endtry
|
||||||
|
endtry
|
||||||
|
endtry
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
let s:last_echoed_error = ''
|
let s:last_echoed_error = ''
|
||||||
|
@ -160,29 +160,45 @@ endfunction
|
|||||||
function! s:jump_to_next_error() abort
|
function! s:jump_to_next_error() abort
|
||||||
try
|
try
|
||||||
lnext
|
lnext
|
||||||
|
catch
|
||||||
|
try
|
||||||
|
ll
|
||||||
catch
|
catch
|
||||||
try
|
try
|
||||||
cnext
|
cnext
|
||||||
|
catch
|
||||||
|
try
|
||||||
|
cc
|
||||||
catch
|
catch
|
||||||
echohl WarningMsg
|
echohl WarningMsg
|
||||||
echon 'There is no errors!'
|
echon 'There is no errors!'
|
||||||
echohl None
|
echohl None
|
||||||
endtry
|
endtry
|
||||||
endtry
|
endtry
|
||||||
|
endtry
|
||||||
|
endtry
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:jump_to_previous_error() abort
|
function! s:jump_to_previous_error() abort
|
||||||
try
|
try
|
||||||
lprevious
|
lprevious
|
||||||
|
catch
|
||||||
|
try
|
||||||
|
ll
|
||||||
catch
|
catch
|
||||||
try
|
try
|
||||||
cprevious
|
cprevious
|
||||||
|
catch
|
||||||
|
try
|
||||||
|
cc
|
||||||
catch
|
catch
|
||||||
echohl WarningMsg
|
echohl WarningMsg
|
||||||
echon 'There is no errors!'
|
echon 'There is no errors!'
|
||||||
echohl None
|
echohl None
|
||||||
endtry
|
endtry
|
||||||
endtry
|
endtry
|
||||||
|
endtry
|
||||||
|
endtry
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:toggle_show_error(...) abort
|
function! s:toggle_show_error(...) abort
|
||||||
|
Loading…
x
Reference in New Issue
Block a user