This repository has been archived by the owner on May 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from JoshuaRLi/master
The 2018 Update
- Loading branch information
Showing
5 changed files
with
65 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,48 @@ | ||
editorconfig-micro | ||
================== | ||
# editorconfig-micro | ||
|
||
[EditorConfig][] Plugin for [micro][] editor | ||
[EditorConfig] Plugin for the [`micro`] editor | ||
|
||
|
||
Prerequisite | ||
------------ | ||
### Prerequisites | ||
|
||
* [Micro][micro] editor >= 1.1.3 | ||
* An `editorconfig` core executable ([EditorConfig C Core][] for example) | ||
* [`micro`] editor >= 1.3.2 | ||
* An `editorconfig` core executable (e.g. [EditorConfig C Core]) | ||
|
||
|
||
Install | ||
------- | ||
### Installation | ||
|
||
Once you installed a core program, this plugin can be | ||
installed via micro plugin system: | ||
While in micro's command mode (default keybinding: <kbd>CtrlE</kbd>): | ||
|
||
> plugin install editorconfig | ||
`plugin install editorconfig` | ||
|
||
(Type <kbd>CtrlE</kbd> `plugin install editorconfig` <kbd>Enter</kbd>) | ||
That's all! This plugin will be automatically enabled after you restart [`micro`]. | ||
|
||
This plugin will be automatically enabled after you restart micro editor. | ||
|
||
### Supported Properties | ||
|
||
Supported Properties | ||
-------------------- | ||
|
||
* `root` (only used by EditorConfig Core) | ||
* `indent_style` | ||
* `indent_size` | ||
* `tab_width` | ||
* `charset` | ||
* Currently, [`micro`] only [supports][EditorConfig Options] the UTF-8 charset. | ||
* `end_of_line` | ||
* Currently, [`micro`] only [supports][EditorConfig Options] LF and CRLF. | ||
* `insert_final_newline` | ||
* `root` (Only used by EditorConfig Core) | ||
* `trim_trailing_whitespace` | ||
|
||
### On the Backlog | ||
|
||
* `end_of_line` | ||
* Currently micro supports LF only | ||
* `charset` | ||
* Currently micro supports UTF-8 only | ||
* `trim_trailing_whitespace` | ||
* `max_line_length` | ||
### Unsupported Properties | ||
|
||
* `max_line_length` | ||
|
||
|
||
License | ||
------- | ||
### License | ||
|
||
This software is licensed under MIT License. | ||
See [LICENSE](LICENSE) for details. | ||
|
||
|
||
|
||
[micro]: https://micro-editor.github.io | ||
[`micro`]: https://micro-editor.github.io | ||
[EditorConfig]: http://editorconfig.org | ||
[EditorConfig Options]: https://github.com/zyedidia/micro/blob/master/runtime/help/options.md | ||
[EditorConfig C Core]: https://github.com/editorconfig/editorconfig-core-c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters