kakoune/doc/pages
Tobias Pisani b9c60e2578 Add -indent option to show-whitespace highlighter
A couple of semi-opinionated choices were made in this implementation:

 1. The guide is hidden in the first column.
 2. The indent guides are highlighted using a new `WhitespaceIndent` face.
 3. Nothing is done to continue the guide through empty lines. I believe this to be the correct approach,
    at least as long as it is kept as a part of the show-whitespaces highlighter. However some people's
    oppinion may differ, and if so, that could be implemented.
 4. The guides default to on, like the other show-whitespace options. Default character is "│".
 5. Spaces between the indent guides are currently highlighted as other spaces.
    Other reasonable options would be no replacement, -tabpad, or a similar -indentpad.
 6. Guides are disabled by passing `-indent ""`.
 7. Indent guides are separate from tab highlighting.

Additionally, we could consider adding a separate face for the "current" indent level as many editors do,
but this is a bit harder in kakoune because of multiple selections.

Closes #2323
2024-03-27 04:07:12 +01:00
..
buffers.asciidoc Amended grammar, punctuation, and word choice. 2022-05-17 10:39:06 -07:00
changelog.asciidoc Merge remote-tracking branch 'krobelus/changelog' 2024-02-10 21:55:09 +11:00
command-parsing.asciidoc command-parsing: Put balanced string examples in the right section. 2022-10-25 16:51:26 +11:00
commands.asciidoc rc tools menu: replace menu builtin with a prompt-based implementation 2023-11-20 20:47:22 +01:00
execeval.asciidoc doc execeval: mention that the colon register is saved by default 2022-08-01 07:15:08 +02:00
expansions.asciidoc Revert "Switch undo storage from a tree to a plain list" 2023-06-17 17:31:57 +10:00
faces.asciidoc Add an InlineInformation face distinct from Information 2023-09-28 15:06:29 +02:00
faq.asciidoc doc faq: Document the frugal scripting language 2020-08-10 12:23:35 +03:00
highlighters.asciidoc Add -indent option to show-whitespace highlighter 2024-03-27 04:07:12 +01:00
hooks.asciidoc {commands,hooks}.asciidoc: Use consistent capitalization for Kakoune 2021-05-15 22:17:41 -04:00
keymap.asciidoc doc keymap: update for <space>/, swap 2022-08-17 00:48:12 +02:00
keys.asciidoc Fixup documentation on history navigation commands 2023-06-21 10:25:59 +09:00
mapping.asciidoc rc tools menu: replace menu builtin with a prompt-based implementation 2023-11-20 20:47:22 +01:00
modes.asciidoc rc tools menu: replace menu builtin with a prompt-based implementation 2023-11-20 20:47:22 +01:00
options.asciidoc Add option to set maximum info box width 2023-02-15 21:17:22 -05:00
regex.asciidoc doc regex: Avoid confusion in relationship with ECMAScript 2021-10-29 19:21:50 +02:00
registers.asciidoc Merge remote-tracking branch 'krobelus/document-history-registers' 2022-08-03 19:51:22 +10:00
scopes.asciidoc doc: Document the buffer=/path/to/file scope syntax. 2019-01-23 12:34:02 +11:00