Skip to content

Commit e09e8f8

Browse files
set python-pytest-use-treesit to t when treesit is an available feature
1 parent a104cf8 commit e09e8f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python-pytest.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ When non-nil only ‘test_foo()’ will match, and nothing else."
127127
(set-default symbol value)
128128
value))))
129129

130-
(defcustom python-pytest-use-treesit nil
130+
(defcustom python-pytest-use-treesit (featurep 'treesit)
131131
"Whether to use treesit for getting the node ids of things at point.
132132
133133
Users that are running a version of Emacs that supports treesit

0 commit comments

Comments
 (0)