aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2021-06-29 21:28:32 +0200
committerStephan Seitz <stephan.lauf@yahoo.de>2021-07-01 22:50:33 +0200
commit6d5b4f19f37ec88d0fd3632a20c80d6d9bded112 (patch)
tree309858c0a19fd78c6537e7abf3d03d0f8b82765f
parenthighlights(typescript): fix indentifier for type imports (diff)
downloadnvim-treesitter-6d5b4f19f37ec88d0fd3632a20c80d6d9bded112.tar
nvim-treesitter-6d5b4f19f37ec88d0fd3632a20c80d6d9bded112.tar.gz
nvim-treesitter-6d5b4f19f37ec88d0fd3632a20c80d6d9bded112.tar.bz2
nvim-treesitter-6d5b4f19f37ec88d0fd3632a20c80d6d9bded112.tar.lz
nvim-treesitter-6d5b4f19f37ec88d0fd3632a20c80d6d9bded112.tar.xz
nvim-treesitter-6d5b4f19f37ec88d0fd3632a20c80d6d9bded112.tar.zst
nvim-treesitter-6d5b4f19f37ec88d0fd3632a20c80d6d9bded112.zip
python(highlights): don't use type for APP
-rw-r--r--queries/python/highlights.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm
index 2ea7c7db1..b97af471a 100644
--- a/queries/python/highlights.scm
+++ b/queries/python/highlights.scm
@@ -9,7 +9,7 @@
;; Identifier naming conventions
((identifier) @type
- (#match? @type "^[A-Z]"))
+ (#match? @type "^[A-Z].*[a-z]"))
((identifier) @constant
(#match? @constant "^[A-Z][A-Z_0-9]*$"))