mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-17 17:38:01 +00:00
@@ -457,7 +457,8 @@ let g:matchup_matchparen_deferred = 1
|
||||
default: 0 (disabled)
|
||||
|
||||
Note: this feature is only available if your vim version has `timers` and
|
||||
the function `timer_pause` (version 7.4.2180 and after).
|
||||
the function `timer_pause`, version 7.4.2180 and after. For neovim, this
|
||||
will only work in nvim-0.2.1 and after.
|
||||
|
||||
Adjust timeouts in milliseconds for deferred highlighting:
|
||||
```vim
|
||||
|
||||
@@ -22,7 +22,8 @@ endfunction
|
||||
|
||||
function! matchup#matchparen#enable() " {{{1
|
||||
if g:matchup_matchparen_deferred
|
||||
\ && (!has('timers') || !exists('*timer_pause'))
|
||||
\ && (!has('timers') || !exists('*timer_pause')
|
||||
\ || has('nvim') && !has('nvim-0.2.1'))
|
||||
let g:matchup_matchparen_deferred = 0
|
||||
echohl WarningMsg
|
||||
echom "match-up's deferred highlighting feature is "
|
||||
|
||||
@@ -497,7 +497,8 @@ Module matchparen~
|
||||
Default: 0 (disabled)
|
||||
|
||||
Note: this feature is only available if your vim version has |timers| and
|
||||
the function |timer_pause| (version 7.4.2180 and after).
|
||||
the function |timer_pause|, version 7.4.2180 and after. For neovim, this
|
||||
will only work in nvim-0.2.1 and after.
|
||||
|
||||
*g:matchparen_matchparen_deferred_show_time*
|
||||
*g:matchparen_matchparen_deferred_hide_time*
|
||||
|
||||
Reference in New Issue
Block a user