aboutsummaryrefslogtreecommitdiffstats
path: root/queries/python
diff options
context:
space:
mode:
authorSantos Gallegos <stsewd@protonmail.com>2021-03-12 11:21:46 -0500
committerGitHub <noreply@github.com>2021-03-12 11:21:46 -0500
commite4083fc8e11e6585f53d62eb71778cc2af464fad (patch)
tree347c6f8cd36ce9d786c817697e8ac59c0a6bd4a5 /queries/python
parentchore: create ecma base for use in js and ts which fixes jsx issues (diff)
downloadnvim-treesitter-e4083fc8e11e6585f53d62eb71778cc2af464fad.tar
nvim-treesitter-e4083fc8e11e6585f53d62eb71778cc2af464fad.tar.gz
nvim-treesitter-e4083fc8e11e6585f53d62eb71778cc2af464fad.tar.bz2
nvim-treesitter-e4083fc8e11e6585f53d62eb71778cc2af464fad.tar.lz
nvim-treesitter-e4083fc8e11e6585f53d62eb71778cc2af464fad.tar.xz
nvim-treesitter-e4083fc8e11e6585f53d62eb71778cc2af464fad.tar.zst
nvim-treesitter-e4083fc8e11e6585f53d62eb71778cc2af464fad.zip
Add comment parser to highlight comment tags (#893)
Closes #236
Diffstat (limited to 'queries/python')
-rw-r--r--queries/python/injections.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/queries/python/injections.scm b/queries/python/injections.scm
index de108262d..197e725e5 100644
--- a/queries/python/injections.scm
+++ b/queries/python/injections.scm
@@ -22,3 +22,5 @@
; Attribute docstring
(((expression_statement (assignment)) . (expression_statement (string) @rst))
(#offset! @rst 0 3 0 -3))
+
+(comment) @comment