You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.7 KiB
Markdown

# EditorConfig Vim Plugin
[![Build Status](https://travis-ci.org/editorconfig/editorconfig-vim.png?branch=master)](https://travis-ci.org/editorconfig/editorconfig-vim)
This is an [EditorConfig][] plugin for Vim. This plugin could be found on both
[GitHub][] and [Vim online][].
## Installation
There are two ways for installation:
- If your Vim is compiled with `+python` feature (this is usually true on most
Linux distributions), the most simple way to install this plugin is to
download the archive and extract it into your Vim runtime directory (`~/.vim`
on UNIX/Linux and `$VIM_INSTALLATION_FOLDER\vimfiles` on windows).
- If your Vim is not compiled with `+python` feature, please first download the
[EditorConfig core][] and follow the instructions in the README and INSTALL
files to install it. This plugin would NOT work if neither `+python` nor
EditorConfig core is available.
## Supported properties
The EditorConfig Vim plugin supports the following EditorConfig [properties][]:
* indent_style
* indent_size
* tab_width
* end_of_line
* charset
* trim_trailing_whitespace
* max_line_width
* root (only used by EditorConfig core)
## Bugs and Feature Requests
Feel free to submit bugs, feature requests, and other issues to the main
[EditorConfig issue tracker][].
[EditorConfig]: http://editorconfig.org
[EditorConfig core]: https://github.com/editorconfig/editorconfig-core
[GitHub]: https://github.com/editorconfig/editorconfig-vim
[properties]: http://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties
[Vim online]: http://www.vim.org/scripts/script.php?script_id=3934
[EditorConfig issue tracker]: https://github.com/editorconfig/editorconfig/issues