aboutsummaryrefslogtreecommitdiffstats
path: root/queries/python
diff options
context:
space:
mode:
authorSantos Gallegos <stsewd@protonmail.com>2021-01-01 22:01:10 -0500
committerStephan Seitz <stephan.lauf@yahoo.de>2021-01-02 04:21:47 +0100
commitc74be54debd65ac45b6c17c37ae41fe5d0c172f2 (patch)
treed5ddb4a6d04705ed074c8883ca3edbfa8a1581a1 /queries/python
parentUpdate lockfile.json (diff)
downloadnvim-treesitter-c74be54debd65ac45b6c17c37ae41fe5d0c172f2.tar
nvim-treesitter-c74be54debd65ac45b6c17c37ae41fe5d0c172f2.tar.gz
nvim-treesitter-c74be54debd65ac45b6c17c37ae41fe5d0c172f2.tar.bz2
nvim-treesitter-c74be54debd65ac45b6c17c37ae41fe5d0c172f2.tar.lz
nvim-treesitter-c74be54debd65ac45b6c17c37ae41fe5d0c172f2.tar.xz
nvim-treesitter-c74be54debd65ac45b6c17c37ae41fe5d0c172f2.tar.zst
nvim-treesitter-c74be54debd65ac45b6c17c37ae41fe5d0c172f2.zip
Python (folds): allow to fold strings
Mostly useful for folding docstrings
Diffstat (limited to 'queries/python')
-rw-r--r--queries/python/folds.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/queries/python/folds.scm b/queries/python/folds.scm
index 16c0cb482..aacd0aaca 100644
--- a/queries/python/folds.scm
+++ b/queries/python/folds.scm
@@ -22,4 +22,6 @@
(list)
(set)
(dictionary)
+
+ (string)
] @fold