Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Separate highlighting and color schemes in Micro #3454

Open
mdziczkowski opened this issue Sep 6, 2024 · 6 comments
Open

Comments

@mdziczkowski
Copy link

Hello. I list bellow a feature request for the next release of Micro editor.

I would like to request that there were added separate folders containing the color schemes and highlighting for the different file formats and programming languages.

Currently, customizing of them requires bigger efford, since such files aren't defaultly included to the release.

Adding it would improve the comfort of work in the editor, instead wasting much time on manually creating the not included files

@JoeKar
Copy link
Collaborator

JoeKar commented Sep 6, 2024

I would like to request that there were added separate folders containing the color schemes and highlighting for the different file formats and programming languages.

They are already.

Currently, customizing of them requires bigger efford, since such files aren't defaultly included to the release.

They are included inside the micro binary itself.

Can you please precise what you're referring to?

@mdziczkowski
Copy link
Author

There seem to be no separate files inside the release that would allow to customize the syntax colors for any file kind.

For example, if someone use dark color scheme then (in some conditions) the text or code may be not good readable

@JoeKar
Copy link
Collaborator

JoeKar commented Sep 26, 2024

I've to quote myself:

They are included inside the micro binary itself.

As said, the default colorschemes & syntax files are built into the micro binary itself.
This is mentioned here, where it's also mentioned that these files can be downloaded as example and placed under ~/.config/micro/colorschemes or ~/.config/micro/syntax depending on their type.
Further explanation about their content is given here.

@mdziczkowski
Copy link
Author

mdziczkowski commented Sep 26, 2024

I understand that. I meant more the question why they aren't included (as separate folders) as default into each release and require a separate download?

In my modest opinion, embeding those statically into the binary seem to don't be a such good idea because it prevent any customization of them.

@JoeKar
Copy link
Collaborator

JoeKar commented Sep 26, 2024

I understand that. I meant more the question why they aren't included (as separate folders) as default into each release and require a separate download?

That was and is the design decision which was chosen by the creator and owner of micro.
Why adding them again on a second place, when they're already available within the source tree?

In my modest opinion, embeding those statically into the binary seem to don't be a such good idea because it prevent any customization of them.

No, it doesn't prevent the modification. Once again see above. You're free to overwrite them with definitions placed in your micro configuration directory...it isn't impossible.

BTW:
You can download every release and the current master as zip or tar.gz and will receive the colorschemes and syntax as they would be used inside micro. Extract them and place them in your configuration directory.

@mdziczkowski
Copy link
Author

My proposal was more to separate the both from the main binary for more customizable interface, without need to manually create additional files (or download them from github 😉) to make them override the build-in ones (I'm not even sure if that would work correctly 🤔)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants