Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sgur/vim-editorconfig
Yet another EditorConfig (http://editorconfig.org) plugin for vim written in vimscript only
https://github.com/sgur/vim-editorconfig
editorconfig vim
Last synced: about 1 month ago
JSON representation
Yet another EditorConfig (http://editorconfig.org) plugin for vim written in vimscript only
- Host: GitHub
- URL: https://github.com/sgur/vim-editorconfig
- Owner: sgur
- License: mit
- Archived: true
- Created: 2015-07-06T05:55:44.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-03-19T00:17:39.000Z (over 4 years ago)
- Last Synced: 2024-06-22T19:59:47.477Z (5 months ago)
- Topics: editorconfig, vim
- Language: Vim script
- Size: 76.2 KB
- Stars: 186
- Watchers: 8
- Forks: 13
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vim-editorconfig
Yet another Vim plugin for [EditorConfig](http://editorconfig.org)
## **Importants**
- [editorconfig/editorconfig-vim](https://github.com/editorconfig/editorconfig-vim)
The official [editorconfig-vim](https://github.com/editorconfig/editorconfig-vim)
has no external dependencies. It doesn't require `if_python` interface anymore.See [#119](https://github.com/editorconfig/editorconfig-vim/pull/119) for details.
## Description
### Supported Properties
- `charset`
- `end_of_line`
- `indent_size`
- `indent_style`
- `insert_final_newline`
- `max_line_length`
- `root`
- `tab_width`
- `trim_trailing_whitespace`Properties below are enabled only in this plugin:
- `c_include_path`
- `spell_language`Usage
-----1. Install the plugin
2. Locate `.editorconfig`
3. Edit some filesOptions
-------### g:editorconfig\_blacklist
Exclude regexp patterns for filetypes or filepaths
```vim
let g:editorconfig_blacklist = {
\ 'filetype': ['git.*', 'fugitive'],
\ 'pattern': ['\.un~$']}
```### g:editorconfig\_root\_chdir
Automatically `:lcd` If `root = true` exists in `.editorconfig`.
### g:editorconfig\_verbose
Show verbose messages
```vim
let g:editorconfig_verbose = 1 " 0 by default
```Install
-------Use your favorite plugin manager.
License
-------MIT License
Author
------sgur