Document whitespace highlighter

This commit is contained in:
Eike Plack 2017-02-02 00:05:48 +01:00
parent 30d8641e78
commit ad48535a25

View File

@ -1042,6 +1042,7 @@ There are some builtins faces used by internal Kakoune functionalities:
* `MatchingChar`: face used by the show_matching highlighter * `MatchingChar`: face used by the show_matching highlighter
* `Search`: face used to highlight search results * `Search`: face used to highlight search results
* `BufferPadding`: face applied on the characters that follow the last line of a buffer * `BufferPadding`: face applied on the characters that follow the last line of a buffer
* `Whitespace`: face used by the show_whitespaces highlighter
Advanced topics Advanced topics
--------------- ---------------
@ -1232,6 +1233,8 @@ general highlighters are:
<option_name>. <option_name>.
* `show_matching`: highlight matching char of the character under the selections * `show_matching`: highlight matching char of the character under the selections
cursor using `MatchingChar` face. cursor using `MatchingChar` face.
* `show_whitespaces`: display symbols on top of whitespaces to make them more explicit
using the Whitespace face.
* `number_lines \<-relative> \<-hlcursor> \<-separator <separator text> >`: show line numbers. * `number_lines \<-relative> \<-hlcursor> \<-separator <separator text> >`: show line numbers.
The -relative switch will show line numbers relative to the main cursor line, the The -relative switch will show line numbers relative to the main cursor line, the
-hlcursor switch will highlight the cursor line with a separate face. With the -hlcursor switch will highlight the cursor line with a separate face. With the