Highlighting is done through [Scintilla](http://scintilla.org) lexers, it's not possible to declare syntax from filetype files. For example the `comment_single` option is only here to tell editing functions like "toggle comment" what to insert, it doesn't affect how things are styled.
There is 2 solutions to add a new filetype with highlighting: * Use styling from another filetype. Those are "custom filetypes", and set `[styling=OtherFiletype]` and `lexer_filetype=OtherFiletype`. * Add a new built-in filetype, including a Scintilla lexer (either one from upstream Scintilla or writing one and submitting it there). I don't know BibTeX, but if it looks anything like LaTeX, you could try something like `[styling=LaTeX]` and `lexer_filtype=LaTeX`. `keywords` also depends on the lexer used. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/1297#issuecomment-259456217
