This is an EditorConfig plugin for Vim. This plugin could be found on both GitHub and Vim online.
There are two ways for installation:
-
If your Vim is compiled with
+python
feature (this is usually true on most Linux distributions and with the main Windows binary installers), 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). You can verify if the+python
feature is included by running:ver
. -
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.
The EditorConfig Vim plugin supports the following EditorConfig properties:
indent_style
indent_size
tab_width
end_of_line
charset
insert_final_newline
(PreserveNoEOL is required for this property)trim_trailing_whitespace
max_line_length
root
(only used by EditorConfig core)
Feel free to submit bugs, feature requests, and other issues to the main EditorConfig issue tracker.