summaryrefslogtreecommitdiff
path: root/rc/filetype/python.kak
diff options
context:
space:
mode:
authorFrank LENORMAND <lenormf@gmail.com>2020-09-01 13:11:36 +0300
committerFrank LENORMAND <lenormf@gmail.com>2020-09-01 13:12:58 +0300
commit3145e3e939d09af907e911ff747729347abd520f (patch)
tree8ef212e6e1521cb6fa51e03a9bdea81c04d377ec /rc/filetype/python.kak
parent6c85c0cb2944930bf64bd93e6196b243f9fd41c8 (diff)
rc markdown: Highlight trailing spaces properly
This commit addresses the following issues: * highlight trailing space characters with the `meta` face, instead of `PrimarySelection` * make the regex more readable by using a capture group in stead of `\K` * specifically match space characters, not other horizontal whitespace characters * match two or more space characters Reference[1]: > When you do want to insert a <br /> break tag using Markdown, you > end a line with two or more spaces, then type return. [1] https://daringfireball.net/projects/markdown/syntax#p Note that the original reproducer doesn't seem to work anymore, probably because of changes made to how lists are highlighted. Fixes #911
Diffstat (limited to 'rc/filetype/python.kak')
0 files changed, 0 insertions, 0 deletions