mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-28 22:08:12 +09:00
Add some docs for linter, comment, status
This commit is contained in:
15
runtime/plugins/status/help/status.md
Normal file
15
runtime/plugins/status/help/status.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# Status
|
||||
|
||||
The status plugin provides some functions for modifying the status line.
|
||||
|
||||
Using the `statusformatl` and `statusformatr` options, the exact contents
|
||||
of the status line can be modified. Please see the documentation for
|
||||
those options (`> help options`) for more information.
|
||||
|
||||
This plugin provides the three functions that can be used in the status
|
||||
line format:
|
||||
|
||||
* `status.branch`: returns the name of the current git branch.
|
||||
* `status.hash`: returns the hash of the current git commit.
|
||||
* `status.paste`: returns "" if the paste option is disabled and "PASTE"
|
||||
if it is enabled.
|
||||
Reference in New Issue
Block a user