https://github.com/hrsh7th/vim-unmatchparen
highlight unmatch parens.
https://github.com/hrsh7th/vim-unmatchparen
Last synced: 8 months ago
JSON representation
highlight unmatch parens.
- Host: GitHub
- URL: https://github.com/hrsh7th/vim-unmatchparen
- Owner: hrsh7th
- Created: 2019-02-06T05:24:19.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-27T14:24:19.000Z (about 5 years ago)
- Last Synced: 2025-01-03T08:13:56.216Z (9 months ago)
- Language: Vim script
- Size: 7.81 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vim-unmatchparen
highlights unmatched paren.
# limitation
Currently implementations has no supports to detect too many open/close parentheses.
It is very difficult... please any suggetion.# options
### g:unmatchparen#throttle (default: 500)
Settings for throttle timeout.### g:unmatchparen#is_syntax_detection_enabled (default: 1)
Settings for toggle syntax detection.### g:unmatchparen#ignore_syntaxes (default: ['Comment', 'String'])
Settings for detect syntaxes.### g:unmatchparen#disable_pairs (default: { '<': '>' })
Settings for disable pairs.### g:unmatchparen#highlight_priority (default: 100)
Settings for highlight priority. `help matchaddpos`### g:unmatchparen#disable_filetypes (default: [])
Settings for disable specific filetypes.### g:unmatchparen#pairs_for_filetype (default: { 'vim': { ... } })
Settings for pairs for specific filetype.```VimL
let g:unmatchparen#pairs_for_filetype = {
\ 'vim': {
\ 'if': 'endif',
\ 'for': 'endfor'
\ }
\ }
```### g:unmatchparen#debug (default: 0)
# demo

# note
implementation is heavyly inspired by itchny/vim-parenmatch. thanks.