aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorYuan Fu2024-10-08 17:33:11 -0700
committerYuan Fu2024-10-08 17:33:11 -0700
commit1ea0d9b891bf7abadd291aeb715c51c4cc496dba (patch)
tree697aebb26f9d40b5662b51d57e63c36eb87ce284 /lisp/progmodes/python.el
parent52746ceb62592fba6d58595b7bc3199058f30185 (diff)
downloademacs-1ea0d9b891bf7abadd291aeb715c51c4cc496dba.tar.gz
emacs-1ea0d9b891bf7abadd291aeb715c51c4cc496dba.zip
Revert "Set treesit-primary-parser for tree-sitter modes"
This reverts commit ed57faafc74e0810b492841deccb3cdc77a258ff.
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index e4b9fe2367d..0001bdd21a9 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -7147,7 +7147,7 @@ implementations: `python-mode' and `python-ts-mode'."
7147\\{python-ts-mode-map}" 7147\\{python-ts-mode-map}"
7148 :syntax-table python-mode-syntax-table 7148 :syntax-table python-mode-syntax-table
7149 (when (treesit-ready-p 'python) 7149 (when (treesit-ready-p 'python)
7150 (setq treesit-primary-parser (treesit-parser-create 'python)) 7150 (treesit-parser-create 'python)
7151 (setq-local treesit-font-lock-feature-list 7151 (setq-local treesit-font-lock-feature-list
7152 '(( comment definition) 7152 '(( comment definition)
7153 ( keyword string type) 7153 ( keyword string type)