summaryrefslogtreecommitdiff
path: root/rc/filetype/python.kak
diff options
context:
space:
mode:
Diffstat (limited to 'rc/filetype/python.kak')
-rw-r--r--rc/filetype/python.kak1
1 files changed, 1 insertions, 0 deletions
diff --git a/rc/filetype/python.kak b/rc/filetype/python.kak
index 5a5da6f6..58854638 100644
--- a/rc/filetype/python.kak
+++ b/rc/filetype/python.kak
@@ -37,6 +37,7 @@ add-highlighter shared/python/code default-region group
add-highlighter shared/python/docstring region -match-capture ("""|''') ("""|''') regions
add-highlighter shared/python/double_string region '"' (?<!\\)(\\\\)*" fill string
add-highlighter shared/python/single_string region "'" (?<!\\)(\\\\)*' fill string
+add-highlighter shared/python/documentation region '##' '$' fill documentation
add-highlighter shared/python/comment region '#' '$' fill comment
# Integer formats