diff options
author | Yuan Fu <casouri@gmail.com> | 2022-09-22 11:24:32 -0700 |
---|---|---|
committer | Yuan Fu <casouri@gmail.com> | 2022-09-22 11:24:32 -0700 |
commit | 1cdb24fe35a9ff2e4f92c5acc93a5a5b0e70d93f (patch) | |
tree | 4c8b24e61d2ed67a0fcef3534e4c991522b8bcf1 /lisp/emacs-lisp/lisp.el | |
parent | 361eaae71e30d9554bb78d9ccaeddf3e006115c0 (diff) | |
download | emacs-1cdb24fe35a9ff2e4f92c5acc93a5a5b0e70d93f.tar.gz emacs-1cdb24fe35a9ff2e4f92c5acc93a5a5b0e70d93f.tar.bz2 emacs-1cdb24fe35a9ff2e4f92c5acc93a5a5b0e70d93f.zip |
Utilize tree-sitter in python.el
* lisp/progmodes/python.el (python-use-tree-sitter): New option.
(python--treesit-keywords, python--treesit-builtins)
(python--treesit-constants, python--treesit-operators)
(python--treesit-special-attributes, python--treesit-exceptions): New
variables.
(python--treesit-fontify-string, python--treesit-settings)
(python--imenu-treesit-create-index)
(python--imenu-treesit-create-flat-index)
(python-info-treesit-current-defun): New functions.
(python-mode): Enable tree-sitter font-lock and which-func.
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
0 files changed, 0 insertions, 0 deletions