zyedidia / micro

A modern and intuitive terminal-based text editor
https://micro-editor.github.io
MIT License
24.9k stars 1.17k forks source link

Match brace highlight is not working at all. #3426

Open makynoom opened 1 month ago

makynoom commented 1 month ago

I have set matchbracestyle to "highlight" and match-brace to "brightwhite,black" in my own color file (with default "black,brightwhite" for a paper scheme). However, the matching brace is not highlighted, although both braces are underlined, as if matchbracestyle is simply ignored.

Curiously, I also have identifier set to "bold blue" and most of the lines in my color file show up in micro as that color for their option name. But not match-brace or message or error-message. Even stranger, error- is bold blue but message is just the default black, both on the same line! Nevertheless, messages do display with the specified colors. Any ideas?

Commit hash: 68d88b57 (v. 2.0.13) Ubuntu Server android termux to tmux via ssh.

Andriamanitra commented 1 month ago

You're using an old version of micro. The pull request that added matchbracestyle (#2876) setting was merged in March 2024 and your version is from October 2023 (assuming the commit hash you provided is correct).

makynoom commented 1 month ago

Thanx for your response. My version, 2.0.13, is the latest stable version on the download page, and the online help fully includes match brace options. It is almost a year old, so perhaps it's time for a newer stable release? Like, perhaps, most users I don't really want to mess around with the nightly builds, especially for my multiple users. Highlighted matching braces is an extremely important feature of almost all code editors but I can wait a while if necessary. Overall, Micro is an excellent editor. I'll just have to use stronger spectacles to see the tiny underlines on the tablet I use for all my development work!

Andriamanitra commented 1 month ago

By online help I assume you mean this git repository? To read the version of the documentation for a tagged version you can change master in the url to v2.0.13: github.com/zyedidia/micro/blob/v2.0.13/runtime/help/options.md (you can also read the same markdown file in micro itself by running help options command).

You may close this issue if you can't reproduce the problem on master (or nightly). The 2.0.14 release has been discussed in #3254 and should happen fairly soon.

makynoom commented 1 month ago

I think I'll just wait for the 2.0.14 release. Micro works just fine for what I need to do over SSH. So I'll close this issue.