[Github-comments] [geany/geany] Inherit C lexer_properties in all filetypes inheriting C styles (#1217)

Colomban Wendling notifications at xxxxx
Tue Sep 6 12:51:07 UTC 2016


`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

-- 
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/1217
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160906/3df37882/attachment.html>


More information about the Github-comments mailing list