3 Commits

Author SHA1 Message Date
Colomban Wendling
c9d0bd7214 Inherit C lexer_properties in all filetypes inheriting C styles
`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.
2016-09-06 12:18:48 +02:00
Colomban Wendling
bbdf56fc2e Haxe: Do not track preprocessor for styling
We don't set the styles for inactive preprocessor sections, so we
should make sure they aren't used.  Also, Haxe has different
preprocessor directives than C does, which confuses LexCPP tracking
anyway.

Fixes #936.
2016-09-06 11:35:11 +02:00
Jiří Techet
e513e5a099 Move filetypes.* to the filedefs directory 2016-03-13 17:35:08 +01:00