Add some docs for linter, comment, status

This commit is contained in:
Zachary Yedidia
2020-02-07 11:32:12 -05:00
parent ef768e36f3
commit 106ba48079
10 changed files with 249 additions and 11 deletions

View File

@@ -218,8 +218,8 @@ Here are the available options:
The `opt` and `bind` directives take either an option or an action afterward
and fill in the value of the option or the key bound to the action.
default value: `$(filename) $(modified)($(line),$(col)) $(opt:filetype)
$(opt:fileformat) $(opt:encoding)`
default value: `$(filename) $(modified)($(line),$(col)) $(status.paste)|
ft:$(opt:filetype) | $(opt:fileformat) | $(opt:encoding)`
* `statusformatr`: format string definition for the right-justified part of the
statusline.

View File

@@ -295,6 +295,9 @@ There are 6 default plugins that come pre-installed with micro. These are
* `status`: provides some extensions to the status line (integration with
Git and more).
See `> help linter`, `> help comment`, and `> help status` for additional
documentation specific to those plugins.
These are good examples for many use-cases if you are looking to write
your own plugins.