summaryrefslogtreecommitdiff
path: root/config/nvim/after/queries/python/highlights.scm
diff options
context:
space:
mode:
author2025-12-03 14:04:47 +0300
committer2025-12-03 14:04:47 +0300
commit7f94d67cce04305bf374ffc4d608a0584f266bae (patch)
tree52e90e58342951282e5063c59f0597d9f2e75dff /config/nvim/after/queries/python/highlights.scm
parentНебольшие апдейты (diff)
downloaddotfiles-7f94d67cce04305bf374ffc4d608a0584f266bae.tar.gz
dotfiles-7f94d67cce04305bf374ffc4d608a0584f266bae.tar.bz2
dotfiles-7f94d67cce04305bf374ffc4d608a0584f266bae.tar.xz
dotfiles-7f94d67cce04305bf374ffc4d608a0584f266bae.zip
03.12.25
Diffstat (limited to '')
-rw-r--r--config/nvim/after/queries/python/highlights.scm13
1 files changed, 13 insertions, 0 deletions
diff --git a/config/nvim/after/queries/python/highlights.scm b/config/nvim/after/queries/python/highlights.scm
new file mode 100644
index 0000000..0d5ef66
--- /dev/null
+++ b/config/nvim/after/queries/python/highlights.scm
@@ -0,0 +1,13 @@
+;; vim: ft=query
+;; extends
+
+(function_definition
+ name: (identifier) @AlabasterDefinition)
+(class_definition
+ name: (identifier) @AlabasterDefinition)
+
+((module . (comment) @AlabasterHashbang)
+ (#match? @AlabasterHashbang "^#!/"))
+
+(decorator
+ (identifier) @AlabasterBase)