Open Reiddragon opened 14 hours ago
Please set g:paredit_matchlines
to a higher value in your .vimrc
file, e.g. 200 or 300. The default value is 100, which means that paredit looks for matching parens withing this range of lines. As I see, module tarme
is 128 lines long, so I assume this is the reason why balancing is broken. Please note that setting g:paredit_matchlines
to a very high value may introduce performance issues on slower machines.
Paredit's parentheses balancing breaks in files with very large forms that have a lot of subforms
the bellow file (Tarme's main file wrapped in a module) may be used to reproduce the issue: parentheses balancing is completely broken within the
module
formhttps://gist.github.com/Reiddragon/3b3867470aafb357c3576df30b6b411b