From fd047e332f2d47d6bc2152d54ffe71240224a763 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Kruszewski?= Date: Fri, 20 Nov 2020 15:18:15 +0100 Subject: [PATCH] Python: Highlight docstrings with documentation face, not string. --- rc/filetype/python.kak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rc/filetype/python.kak b/rc/filetype/python.kak index bc998170..d7b09aa7 100644 --- a/rc/filetype/python.kak +++ b/rc/filetype/python.kak @@ -35,7 +35,7 @@ provide-module python %ยง add-highlighter shared/python regions add-highlighter shared/python/code default-region group -add-highlighter shared/python/docstring region -match-capture ("""|''') (?>> \K' '\z' ref python add-highlighter shared/python/docstring/ region '\.\.\. \K' '\z' ref python