Open BarbzYHOOL opened 9 months ago
The default highlighting is something the PR #2933 tries to solve more or less the same as nano
does.
When using Nano (maybe i configured it a bit), it looks exactly like my terminal theme; But not micro, which is annoying.
Among micro's built-in colorschemes there is a colorscheme called simple
, which uses terminal's colors, not its own custom colors. Seems like that is exactly what you want?
Actually there are several such colorschemes: https://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#16-color
Actually there are several such colorschemes: https://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#16-color
Simple seems to work fine (but maybe i need 32 colors?) What would have been my way to determine which theme to use? How can I know that "simple" means that it adapts to my terminal? And how can I know i have to click such a long link to find doc too?
(just asking because I switch to micro to have less work configuring nano and I didn't study how it all works, unlike I did with Nano but it had taken me several hours in the past...)
It's the same doc that you can find by running help colors
in micro.
ok so how to know which other theme is like "simple"?
Those that are mentioned as 16-color themes.
* 16-color: A colorscheme that uses the 16 default colors will always work but
will only look good if the 16 default colors have been configured to the
user's liking. Using a colorscheme that only uses the 16 colors from the
terminal palette will also preserve the terminal's theme from other
applications since the terminal will often use those same colors for other
applications. Default colorschemes of this type include `simple` and
`solarized`.
...
### 16 color
These may vary widely based on the 16 colors selected for your terminal.
* `simple`
* `solarized` (must have the solarized color palette in your terminal to use
this colorscheme properly)
* `cmc-16`
* `cmc-paper`
* `geany`
Description of the problem or steps to reproduce
When using Nano (maybe i configured it a bit), it looks exactly like my terminal theme; But not micro, which is annoying. And more importantly, I opened /etc/environment file, and in Nano it turned a commented out line to a blue colored font, while in Micro it did nothing. Which makes it harder to read. I expected Micro to do that by default.
Specifications
Commit hash: 68d88b57 OS: popos Terminal: tilix