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)?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityset 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 matchbrackets
in nanorc?Nano
uses regex for highlighting, which, I believe, cannot give such a smart color picking.