`lexer.cpp.track.preprocessor` lexer properties affects which styles are used, and we don't set those, so no filetype inheriting C styles should set it to 1.
Similarly, some properties like `styling.within.preprocessor` are mostly general settings rather than selecting syntax details, so they should probably match in all filetypes for consistency.
So, inherit the C lexer_properties everywhere C styles are used, and only override specific properties in the inheriting filetype. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/1217
-- Commit Summary --
* Inherit C lexer_properties in all filetypes inheriting C styles
-- File Changes --
M data/filedefs/filetypes.CUDA.conf (4) M data/filedefs/filetypes.Genie.conf (2) M data/filedefs/filetypes.Graphviz.conf (4) M data/filedefs/filetypes.JSON.conf (2) M data/filedefs/filetypes.Scala.conf (2) M data/filedefs/filetypes.actionscript (2) M data/filedefs/filetypes.cpp (4) M data/filedefs/filetypes.cs (4) M data/filedefs/filetypes.ferite (2) M data/filedefs/filetypes.glsl (4) M data/filedefs/filetypes.go (3) M data/filedefs/filetypes.haxe (2) M data/filedefs/filetypes.java (1) M data/filedefs/filetypes.javascript (2) M data/filedefs/filetypes.vala (4)
-- Patch Links --
https://github.com/geany/geany/pull/1217.patch https://github.com/geany/geany/pull/1217.diff