else if( d && ( (d <= b && d <= s) || (!b && !s) ) smallest = d
Consider this piece of code of C++. Can we have bracket matching (highlighting opening bracket when cursor on closing bracket & vice versa)?
set brackets ""')>]}"
set matchbrackets "(<[{)>]}"
Update ~/.nanorc (or perhaps /etc/nanorc) with these lines and it works like a charm.
When on any bracket press Meta] (often this will be Alt]) and there you go to the other paired bracket.
set matchbracketsin nanorc? – Rinzwind Oct 17 '16 at 17:28Nanouses regex for highlighting, which, I believe, cannot give such a smart color picking. – Multifix Jun 07 '22 at 07:31