]> git.lizzy.rs Git - micro.git/commitdiff
Make default plugin options more explicit
authorZachary Yedidia <zyedidia@gmail.com>
Wed, 12 Feb 2020 20:34:13 +0000 (15:34 -0500)
committerZachary Yedidia <zyedidia@gmail.com>
Wed, 12 Feb 2020 20:34:13 +0000 (15:34 -0500)
Ref #1305

runtime/help/options.md
runtime/help/plugins.md

index 56fc6ca4ed45399db879f18651b448abcc1c061a..448c58fa70ff76727f7a00377803f28e479d160c 100644 (file)
@@ -301,6 +301,21 @@ Here are the available options:
 Plugin options: all plugins come with a special option to enable or disable
 them. The option is a boolean with the same name as the plugin itself.
 
+By default, the following plugins are provided, each with an option to enable
+or disable them:
+
+* `autoclose`: automatically closes brackets, quotes, etc...
+* `comment`: provides automatic commenting for a number of languages
+* `ftoptions`: alters some default options depending on the filetype
+* `linter`: provides extensible linting for many languages
+* `literate`: provides advanced syntax highlighting for the Literate
+   programming tool.
+* `status`: provides some extensions to the status line (integration with
+   Git and more).
+* `diff`: integrates the `diffgutter` option with Git. If you are in a Git
+   directory, the diff gutter will show changes with respect to the most
+   recent Git commit rather than the diff since opening the file.
+
 Any option you set in the editor will be saved to the file
 ~/.config/micro/settings.json so, in effect, your configuration file will be 
 created for you. If you'd like to take your configuration with you to another
index b94adcd1b632e2107fb5d659923330b1ff495268..fa806ea510201b89f6033e383b9bef6bb7fae11b 100644 (file)
@@ -391,6 +391,9 @@ There are 6 default plugins that come pre-installed with micro. These are
    programming tool.
 * `status`: provides some extensions to the status line (integration with
    Git and more).
+* `diff`: integrates the `diffgutter` option with Git. If you are in a Git
+   directory, the diff gutter will show changes with respect to the most
+   recent Git commit rather than the diff since opening the file.
 
 See `> help linter`, `> help comment`, and `> help status` for additional
 documentation specific to those plugins.