For example, highlight `file` as a builtin when appearing by itself, but not in a construct like `obj.file`.
Fixes #1542. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/1544
-- Commit Summary --
* Python: Don't highlight sub-identifiers as keywords
-- File Changes --
M data/filedefs/filetypes.python (1)
-- Patch Links --
https://github.com/geany/geany/pull/1544.patch https://github.com/geany/geany/pull/1544.diff
codebrainz approved this pull request.
Works for me.
And it works for me.
elextr approved this pull request.
Should be done in `filetypes.Cython` as well.
@b4n pushed 2 commits.
c03af5b Python: Remove obsolete lexer property 8b25d09 Cython: Inherit lexer properties from the Python filetype
@vfaronov sounds reasonable indeed. Actually, I just changed the Cython filetype to inherit Python properties, which includes folding of string literals.
@codebrainz @elextr thanks for the review :) Could you give a look at the 2 new commits too please?
eht16 approved this pull request.
LG(reat)TM
Extended version LGBI
Merged #1544.
github-comments@lists.geany.org