home/rc
Frank LENORMAND 3145e3e939 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
2020-09-01 13:12:58 +03:00
..
detection Avoid accidentally using environment variables in sh scopes 2020-08-24 19:01:05 +02:00
filetype rc markdown: Highlight trailing spaces properly 2020-09-01 13:12:58 +03:00
tools Avoid accidentally using environment variables in sh scopes 2020-08-24 19:01:05 +02:00
windowing Allow multiple arguments in tmux repl 2020-08-30 10:53:03 +10:00