I can not get Bracket Matching to work

Marcel Weißenbach <[email protected]> Tue, 15 Jul 2025 13:23:42 +0000
Newsgroups gmane.editors.nano.general
Message-ID <20250715132342.Horde.nzOywXqbm6ZUxRls2xeIESP@nextcloud.ikaros.space>
Hi there,
 
i tested this on two Installations. GNU/Linux with foot (NANO 8.5) and Windows with Cygwin (NANO 8.0)
 
In both cases, bracket matching does not work. It should work out of the box, but does nothing. Explicitly setting it in ~/.nanorc also does nothing. Other options do work, for example if i put "set linenumbers" there, line numbers do appear. If i put "set autoindent" there, it does indentation. But if i put set matchingbrackets there, no matter what parameter (tried the default ones too), it does nothing. There is no highlighting.
 
As this happens with two terminal emulators on two different operating systems and given that this is an feature that should work out of the box, i am completely lost and have no idea what i am doing wrong.
 
This is my ~/.nanorc
 
$ cat ~/.nanorc 
set linenumbers
set autoindent
set matchbrackets "(<[{)>]}"
 
 
 
Best Regards
 
Marcel