1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-25 21:16:38 +03:00
kakoune/doc
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
..
pages Add -indent option to show-whitespace highlighter 2024-03-27 04:07:12 +01:00
autoedit.asciidoc doc: fix typos and clarify some parts 2020-05-28 18:37:26 +02:00
coding-style.asciidoc Rename NCursesUI to TerminalUI 2021-07-12 10:25:58 +10:00
design.asciidoc docs: minor grammar fix 2023-04-06 10:27:41 +00:00
interfacing.asciidoc Change completions option docstring element to be an arbitrary command 2019-04-17 08:38:52 +02:00
json_ui.asciidoc Refactor mouse press/release handling to support 3 buttons 2020-06-28 19:48:55 +10:00
kak.1 Describe 'filter mode' in more detail. 2021-12-13 09:05:22 +11:00
kakoune_logo.svg Add logo proposal. 2015-03-22 14:09:32 +01:00
screenshot-i3.gif Add some screenshots to README 2015-05-07 00:34:50 +01:00
screenshot-tmux.gif Add some screenshots to README 2015-05-07 00:34:50 +01:00
writing_scripts.asciidoc doc writing_scripts: Document echo portability issues 2020-05-04 12:10:23 +00:00