diff options
| author | Maxime Coste <mawww@kakoune.org> | 2020-02-16 10:46:35 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2020-02-16 10:46:35 +1100 |
| commit | 08d6268ae797ade18e5ae09d4ca69e3c06f09b48 (patch) | |
| tree | 1918e3beb0ab86222eadb55ea4fe75249542270a /rc/filetype/python.kak | |
| parent | 4c0c3f0ef54dc6de5dd022d72b408fb665cceff5 (diff) | |
| parent | 0c4c7443625aac79811d57409f87d921dd404e85 (diff) | |
Merge remote-tracking branch 'lenormf/documentation-face'
Diffstat (limited to 'rc/filetype/python.kak')
| -rw-r--r-- | rc/filetype/python.kak | 1 |
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 |
