Skip to content

hrsh7th/vim-unmatchparen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

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.

let g:unmatchparen#pairs_for_filetype = {
  \   'vim': {
  \     'if': 'endif',
  \     'for': 'endfor'
  \   }
  \ }

g:unmatchparen#debug (default: 0)

demo

demo1 demo2

note

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

About

highlight unmatch parens.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages