|
@@ -918,6 +918,10 @@ function! startify#set_mark(type, ...) abort
|
|
|
let index = expand('<cword>')
|
|
let index = expand('<cword>')
|
|
|
setlocal modifiable
|
|
setlocal modifiable
|
|
|
|
|
|
|
|
|
|
+ " https://github.com/vim/vim/issues/8053
|
|
|
|
|
+ let showmatch = &showmatch
|
|
|
|
|
+ let &showmatch = 0
|
|
|
|
|
+
|
|
|
if entry.marked && index[0] == a:type
|
|
if entry.marked && index[0] == a:type
|
|
|
let entry.cmd = 'edit'
|
|
let entry.cmd = 'edit'
|
|
|
let entry.marked = 0
|
|
let entry.marked = 0
|
|
@@ -930,6 +934,8 @@ function! startify#set_mark(type, ...) abort
|
|
|
execute 'normal! "_ci]'. repeat(a:type, len(index))
|
|
execute 'normal! "_ci]'. repeat(a:type, len(index))
|
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
|
|
+ let &showmatch = showmatch
|
|
|
|
|
+
|
|
|
setlocal nomodifiable nomodified
|
|
setlocal nomodifiable nomodified
|
|
|
" Reset cursor to fixed column, which is important for s:set_cursor().
|
|
" Reset cursor to fixed column, which is important for s:set_cursor().
|
|
|
call cursor(origline, s:fixed_column)
|
|
call cursor(origline, s:fixed_column)
|