You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would appreciate some help getting syntax highlighting to work for a custom language definition.
So I'm working on ec2hx to provide EditorConfig support for Helix. One of the most difficult features is to customize stuff based on arbitrary globs instead of for individual languages. My idea was to configure a new language for each glob and copy-paste most of the config from the original language. This mostly works, except for syntax highlighting.
For example, the Linux kernel has the following editorconfig section:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I would appreciate some help getting syntax highlighting to work for a custom language definition.
So I'm working on ec2hx to provide EditorConfig support for Helix. One of the most difficult features is to customize stuff based on arbitrary globs instead of for individual languages. My idea was to configure a new language for each glob and copy-paste most of the config from the original language. This mostly works, except for syntax highlighting.
For example, the Linux kernel has the following editorconfig section:
From that,
ec2hx
generates several synthetic languages like the following:Does anybody have an idea what about this language configuration is preventing the syntax highlighting from working? Thanks for any help!
Beta Was this translation helpful? Give feedback.
All reactions