Make misc minor changes

This commit is contained in:
Andy K. Massimino
2019-04-10 18:06:07 -04:00
parent faf47b22e5
commit 0f7a98a065
3 changed files with 10 additions and 5 deletions

View File

@@ -119,6 +119,11 @@ function! matchup#matchparen#reload() " {{{1
endif
endfunction
" }}}1
function! matchup#matchparen#update() " {{{1
call s:matchparen.highlight(1)
endfunction
" }}}1
let s:matchparen = {}

View File

@@ -54,7 +54,7 @@ function! matchup#perf#show_times()
echo printf("%42s%11s%17s", 'average', 'last', 'maximum')
echohl None
for l:c in l:contexts
echohl Title
echohl Special
echo '['.l:c.']'
echohl None
let l:states = filter(copy(l:keys), 'v:val =~# "^\\V'.l:c.'#"')

View File

@@ -623,22 +623,22 @@ will only work in nvim-0.2.1 and after.
*g:matchup_matchparen_deferred_show_delay*
Delay, in milliseconds, between when the cursor moves and when we start
checking if the cursor is on a match. Applies to both making highlights and
checking if the cursor is on a match. Applies to both making highlights and
clearing them for deferred highlighting.
Note: these delays cannot be changed dynamically and should be configured
before the plugin loads (e.g., in your vimrc).
Defaults: 50
Default: 50
*g:matchup_matchparen_deferred_hide_delay*
If the cursor has not stopped moving, assume highlight is stale after this
many milliseconds. Stale highlights are hidden.
many milliseconds. Stale highlights are hidden.
Note: this option cannot be changed dynamically.
Defaults: 700
Default: 700
*g:matchup_matchparen_deferred_fade_time* *matchup-fading*