From 707147362b11b4e4c7cc6f4e616849c2b2ed3619 Mon Sep 17 00:00:00 2001 From: Sophie <70588905+probablySophie@users.noreply.github.com> Date: Mon, 4 Nov 2024 19:13:15 +0800 Subject: [PATCH] Documentation comments for Python --- runtime/queries/python/highlights.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/runtime/queries/python/highlights.scm b/runtime/queries/python/highlights.scm index 9f7d2790c..04adb3002 100644 --- a/runtime/queries/python/highlights.scm +++ b/runtime/queries/python/highlights.scm @@ -111,6 +111,9 @@ (integer) @constant.numeric.integer (float) @constant.numeric.float +(expression_statement (string) @content + (#match? @content "^\"\"\"") +) @comment.block.documentation (comment) @comment (string) @string (escape_sequence) @constant.character.escape