From 612dbb6993c8a548744f29a4d15d6b31325357c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Tue, 14 May 2024 18:53:03 +0200 Subject: Tue May 14 06:53:03 PM CEST 2024 --- .config/nvim/queries/python/highlights.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to '.config/nvim/queries/python') diff --git a/.config/nvim/queries/python/highlights.scm b/.config/nvim/queries/python/highlights.scm index 2ea4847..a2179ec 100755 --- a/.config/nvim/queries/python/highlights.scm +++ b/.config/nvim/queries/python/highlights.scm @@ -1,5 +1,15 @@ ; extends -(block (expression_statement (string)) @docstring) +; function and class docstring detection +(block + (expression_statement + (string)) @docstring) +; shpinx detection in docstring +; (block +; (expression_statement +; (string +; (string_content))) @type) + +; type hint detection (type) @type -- cgit v1.2.3