]> git.lizzy.rs Git - micro.git/commitdiff
Clarified some documentation (#2259)
authorEvan Shimoniak <eshimoniak@gmail.com>
Tue, 2 Nov 2021 20:26:14 +0000 (13:26 -0700)
committerGitHub <noreply@github.com>
Tue, 2 Nov 2021 20:26:14 +0000 (13:26 -0700)
* Clarified meaning of indentchar setting

The description "sets the indentation character" combined with the default value of a space led me to believe that this was a way to set a preference for tabs/spaces and choose a number of spaces per indentation all at once. I've updated the description to try to make its true function clearer.

* Added note on rmtrailingws

This behavior was unexpected for me, so it's probably good to let other users know which option has precedence.

* Added details to help command

Initially I kept trying to use `help <command-name>` rather than `help commands`

runtime/help/commands.md
runtime/help/options.md

index c0ef8dbf730c05b0337593215dd68704b42c8d9f..afcffd291b9f11449feb45fad43903851b51deb0 100644 (file)
@@ -22,7 +22,9 @@ quotes here but these are not necessary when entering the command in micro.
    `key` that already exist.
 
 * `help 'topic'?`: opens the corresponding help topic. If no topic is provided
-   opens the default help screen.
+   opens the default help screen. Help topics are stored as `.md` files in the
+   `runtime/help` directory of the source tree, which is embedded in the final
+   binary.
 
 * `save 'filename'?`: saves the current buffer. If the file is provided it
    will 'save as' the filename.
index 643115b0a843878bf68b8bd4cf132d0e805d361f..6b872398a0b2bb3e9f9f826408b73deb3d2baf02 100644 (file)
@@ -176,7 +176,12 @@ Here are the available options:
 
        default value: `true`
 
-* `indentchar`: sets the indentation character.
+* `indentchar`: sets the indentation character. This will not be inserted into
+  files; it is only a visual indicator that whitespace is present. If set to a
+  printing character, it functions as a subset of the "show invisibles"
+  setting available in many other text editors. The color of this character is
+  determined by the `indent-char` field in the current theme rather than the
+  default text color.
 
        default value: ` ` (space)
 
@@ -262,7 +267,7 @@ Here are the available options:
     default value: `false`
 
 * `rmtrailingws`: micro will automatically trim trailing whitespaces at ends of
-   lines.
+   lines. Note: This setting overrides `keepautoindent`
 
        default value: `false`