c9d0bd7214
`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.
18 lines
242 B
Plaintext
18 lines
242 B
Plaintext
[styling=C]
|
|
|
|
[lexer_properties=C]
|
|
|
|
[keywords]
|
|
primary=true false null
|
|
|
|
[settings]
|
|
lexer_filetype=Javascript
|
|
tag_parser=JSON
|
|
extension=json
|
|
mime_type=application/json
|
|
|
|
[indentation]
|
|
#width=4
|
|
# 0 is spaces, 1 is tabs, 2 is tab & spaces
|
|
#type=1
|