Mercurial > vim
diff runtime/plugin/matchparen.vim @ 24468:9f41bfdbc6fc
Update runtime files.
Commit: https://github.com/vim/vim/commit/56994d215815139207f3c5ce02a1720e44e93c09
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 17 16:31:09 2021 +0200
Update runtime files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 17 Apr 2021 16:45:04 +0200 |
parents | 5c98ea5f5d6e |
children | b15334beeaa4 |
line wrap: on
line diff
--- a/runtime/plugin/matchparen.vim +++ b/runtime/plugin/matchparen.vim @@ -1,6 +1,6 @@ " Vim plugin for showing matching parens " Maintainer: Bram Moolenaar <Bram@vim.org> -" Last Change: 2021 Apr 07 +" Last Change: 2021 Apr 08 " Exit quickly when: " - this plugin was already loaded (or disabled) @@ -110,7 +110,7 @@ func s:Highlight_Matching_Pair() " We match "escape" for special items, such as lispEscapeSpecial, and " match "symbol" for lispBarSymbol. let s_skip = '!empty(filter(map(synstack(line("."), col(".")), ''synIDattr(v:val, "name")''), ' . - \ '''v:val =~? "string\\|character\\|singlequote\\|escape\\symbol\\|comment"''))' + \ '''v:val =~? "string\\|character\\|singlequote\\|escape\\|symbol\\|comment"''))' " If executing the expression determines that the cursor is currently in " one of the syntax types, then we want searchpairpos() to find the pair " within those syntax types (i.e., not skip). Otherwise, the cursor is