aboutsummaryrefslogtreecommitdiffstats
path: root/queries/python
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2020-05-17 17:07:27 +0200
committerStephan Seitz <stephan.seitz@fau.de>2020-05-17 21:56:44 +0200
commitf6bf56974ea3ee4a2640c9ddd1b42c20a53188cc (patch)
treedcd629aa8de6bf684c9806ddb40c98b676d1b886 /queries/python
parentAdd python/highlights.scm from tree-sitter-python (diff)
downloadnvim-treesitter-f6bf56974ea3ee4a2640c9ddd1b42c20a53188cc.tar
nvim-treesitter-f6bf56974ea3ee4a2640c9ddd1b42c20a53188cc.tar.gz
nvim-treesitter-f6bf56974ea3ee4a2640c9ddd1b42c20a53188cc.tar.bz2
nvim-treesitter-f6bf56974ea3ee4a2640c9ddd1b42c20a53188cc.tar.lz
nvim-treesitter-f6bf56974ea3ee4a2640c9ddd1b42c20a53188cc.tar.xz
nvim-treesitter-f6bf56974ea3ee4a2640c9ddd1b42c20a53188cc.tar.zst
nvim-treesitter-f6bf56974ea3ee4a2640c9ddd1b42c20a53188cc.zip
Introduce `@include`
Diffstat (limited to 'queries/python')
-rw-r--r--queries/python/highlights.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm
index f953efd0c..4cd8b8998 100644
--- a/queries/python/highlights.scm
+++ b/queries/python/highlights.scm
@@ -103,7 +103,7 @@
; Keywords
-"as" @keyword
+"as" @include
"assert" @keyword
"async" @keyword
"await" @keyword
@@ -118,10 +118,10 @@
"exec" @keyword
"finally" @keyword
"for" @repeat
-"from" @keyword
+"from" @include
"global" @keyword
"if" @conditional
-"import" @keyword
+"import" @include
"lambda" @keyword
"nonlocal" @keyword
"pass" @keyword