summaryrefslogtreecommitdiffstats
path: root/queries/python
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2022-09-06 11:56:27 +0100
committerLewis Russell <me@lewisr.dev>2022-09-06 12:44:19 +0100
commit2a63ea5665a6de96acd31a045d9d4d73272ff5a9 (patch)
tree348be916a4d33581fd2703d88878dd33fd625741 /queries/python
parentUpdate lockfile.json (diff)
downloadnvim-treesitter-2a63ea5665a6de96acd31a045d9d4d73272ff5a9.tar
nvim-treesitter-2a63ea5665a6de96acd31a045d9d4d73272ff5a9.tar.gz
nvim-treesitter-2a63ea5665a6de96acd31a045d9d4d73272ff5a9.tar.bz2
nvim-treesitter-2a63ea5665a6de96acd31a045d9d4d73272ff5a9.tar.lz
nvim-treesitter-2a63ea5665a6de96acd31a045d9d4d73272ff5a9.tar.xz
nvim-treesitter-2a63ea5665a6de96acd31a045d9d4d73272ff5a9.tar.zst
nvim-treesitter-2a63ea5665a6de96acd31a045d9d4d73272ff5a9.zip
feat(spell): upstream spell queries from spellsitter
Diffstat (limited to 'queries/python')
-rw-r--r--queries/python/highlights.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm
index 5e2c4de66..f14e29f23 100644
--- a/queries/python/highlights.scm
+++ b/queries/python/highlights.scm
@@ -141,6 +141,7 @@
(float) @float
(comment) @comment
+(comment) @spell
(string) @string
[
(escape_sequence)
@@ -148,6 +149,9 @@
"}}"
] @string.escape
+; doc-strings
+(expression_statement (string) @spell)
+
; Tokens
[