Hello Enrico,
thanks for your quick answer. I inserted those to lines, which indeed were missing. And voilå, the highlighting is there!
Super thank you for your support! Kind regards Willi
On 15 Oct 2022, at 18:23, Enrico Tröger enrico.troeger@uvena.de wrote:
Hi,
I did what you proposed and indeed after closing all tex files i have now the menu I setup in filetypes.ConTeXt.conf. yes I have an entry in the Document —> Set filetype menu: “ConTeXt file" So far so good. There is however noe another issue, I am stumied about. — I do not get syntaxt highlighting. — I left the mime-type used by the latex environment untouched. — Might it be necessary to add/edit that file?
The mime type is not relevant for syntax highlighting.
Do you have the following settings in the "settings" section?
lexer_filetype=LaTeX tag_parser=LaTeX
"lexer_filetype" defines which base filetype to use for syntax highlighting. "tag_parser" configures which symbol parser to use.
I'm not 100% sure whether the values for those two settings are correct (try the ones above if it doesn't work, try lowercase).
If there are still problems, please provide your filetype config file the next time.
Regards, Enrico
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org