[geany/geany] b2b813: Python: Don't highlight sub-identifiers as keywords
Colomban Wendling
git-noreply at xxxxx
Sun Jul 16 04:03:53 UTC 2017
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Sun, 16 Jul 2017 04:03:53 UTC
Commit: b2b81359c3e271f7ea835fd1ba25bd2ca59514d9
https://github.com/geany/geany/commit/b2b81359c3e271f7ea835fd1ba25bd2ca59514d9
Log Message:
-----------
Python: Don't highlight sub-identifiers as keywords
For example, highlight `file` as a builtin when appearing by itself,
but not in a construct like `obj.file`.
Fixes #1542.
Modified Paths:
--------------
data/filedefs/filetypes.python
Modified: data/filedefs/filetypes.python
1 lines changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -34,6 +34,7 @@ identifiers=ArithmeticError AssertionError AttributeError BaseException Blocking
[lexer_properties]
fold.comment.python=1
fold.quotes.python=1
+lexer.python.keywords2.no.sub.identifiers=1
[settings]
# default extension used when saving files
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list