4 ms·
Does vim have a plugin to detect unbalanced parens/brackets/braces etc?
by vincie 14y ago
Does vim have a plugin to detect unbalanced parens/brackets/braces etc?
- quacker 14y agoDoesn't need a plugin: http://stackoverflow.com/questions/232274/how-do-i-get-vim-to-highlight-matching-parenthesis http://stackoverflow.com/questions/232274/how-do-i-get-vim-t... There's also some info and some plugins listed here: http://vim.wikia.com/wiki/VimTip630 http://vim.wikia.com/wiki/VimTip630 Although, a misplaced parentheses could still be balanced. For example, if ((!x < y)) ... versus if (!(x < y)) ...
- ams6110 14y agoThe parens were not unbalanced, that would very likely not even compile. They were misplaced, a much more subtle mistake.