aboutsummaryrefslogtreecommitdiffstats
path: root/java/org/gnu
diff options
context:
space:
mode:
authorkobarity2025-02-05 00:02:05 +0900
committerStefan Kangas2025-02-04 23:28:00 +0100
commit999d054dc1e265f1a39c10035a3a3f7f75de8445 (patch)
tree7f2b906f03434ce890fdbb6b0db37b6b7843bd19 /java/org/gnu
parent7d85f678f33029cc874da2aaa89cf95a45403146 (diff)
downloademacs-999d054dc1e265f1a39c10035a3a3f7f75de8445.tar.gz
emacs-999d054dc1e265f1a39c10035a3a3f7f75de8445.zip
Make it configurable to highlight Python 2 builtins
By default, Python 2-only builtins are not highlighted. * lisp/progmodes/python.el (python-2-support): New defcustom. (python-font-lock-builtin-types) (python-font-lock-builtins-python3) (python-font-lock-builtins-python2) (python-font-lock-builtins) (python-font-lock-special-attributes) (python-font-lock-builtin-exceptions-python3) (python-font-lock-builtin-exceptions-python2) (python-font-lock-builtin-exceptions): New variables. (python-font-lock-keywords-level-2) (python-font-lock-keywords-maximum-decoration) (python--treesit-builtin-types) (python--treesit-builtins) (python--treesit-special-attributes) (python--treesit-exceptions): Use new variables. Co-authored-by: Konstantin Kharlamov <Hi-Angel@yandex.ru> Co-authored-by: Stefan Kangas <stefankangas@gmail.com>
Diffstat (limited to 'java/org/gnu')
0 files changed, 0 insertions, 0 deletions