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
This is a constructive idea, because, despite coloring buffers in an unconventional manner, we could still continue to emphasize language syntax in programs.
There are two problems:
First, this package does not integrate with Emacs' powerful, built-in keyword detection and fontification system. Instead, this package overrides that system with its own scope colorizer. They're incompatible. Yet Emacs' system is the ideal candidate for adding keyword emboldening.
Second, the name of this package restricts its scope. Context coloring is only concerned with colors, and no other text effects like boldness or italics. So specific text effects won't be added to this package's text transformation pipeline.
However, we may still be able to achieve your feature. If we can find some way to integrate context coloring with Emacs' syntax coloring, we can probably priortize context coloring for colors and "fall back" to regular syntax highlighting for other text effects (like boldness) as defined by the language's mode.
#Hi,
Is it possible to still have JS syntax highlighting, not using color, but rather by showing keywords like 'function' in bold? This, perhaps, is inspired by the Algol 68 'strict representation': https://en.wikipedia.org/wiki/ALGOL_68#Example_of_different_program_representations
--
Thanks,
Fyodor
The text was updated successfully, but these errors were encountered: