/edico

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Edico

EDItorCOnfig for COdiad

This is a simple plugin for to support EditorConfig in Codiad. This plugin is not official.

This package is compatible with code style StandardJS, LibreJS and PSR-2.

Install

To install you need to have the following pieces of software on your computer:

  • EditorConfig

You can install EditorConfig via your operating system's package manager. For Debian-like GNU/Linux distributions this would be:

# apt-get install editorconfig

Usage

This is minimal example.

# see editorconfig.org

root = true

[*]
indent_style = space
indent_size = 2

[*.md]
indent_style = tab
tab_width = 2

[*.php]
indent_size = 4

This plugin only supports for indent_style, indent_size or tab_width.

Partial support: tab_width cannot be set to a different value than indent_size when indent_style is "tab".

Contributing

Pull Requests not accepted.

Security

If you discover any security related issues, please email contato@sepbit.com instead of using the issue tracker.

License

GPL-3.0-or-later, please see COPYING file for more information.