editorconfig-vim
editorconfig-vim copied to clipboard
EditorConfig plugin for Vim
Changing 'encoding' has many side effects and that should be avoided. Strip BOM manually. Fix #144 Fix #145 Fix #147
# Setup Here's the setup for my minimal reproducible example. In my `.vimrc`, I have (using vim-plug as my plugin manager): ``` set spell call plug#begin() Plug 'editorconfig/editorconfig-vim' call plug#end()...
This will help when working on legacy codebases where one wants to move incrementally to `.editorconfig`. This mode is also more consistent with `indent_style`, which operates only on changes. What...
I've been having trouble with this plugin for about a year now. My default on most projects is to use tabs. Our work project uses spaces and has a `.editorconfig`...
`insert_final_newline (Feature +fixendofline (available on Vim 7.4.785+) or PreserveNoEOL is required for this property)` in neovim this setting is ON by default, but newline is not inserted.
I see from issues, it is supposed to work with NeoVim. Can you clarify it in readme?
After f305bc77faef4b418aee65682d7d147f64cfd5a9 (#142), we have: ``` if s:UseConfigFiles_VimCore() == 0 let b:editorconfig_applied = 1 endif elseif s:editorconfig_core_mode ==? 'external_command' call s:UseConfigFiles_ExternalCommand() let b:editorconfig_applied = 1 ``` I believe that should...
When editing a file with the following .editorconfig loaded: ``` [*] indent_style = space end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true charset = utf-8 ``` no final newline...
I noticed that upon reloading a file the editorconfig overrides are lost. To reproduce: - open a file in a project with an editorconfig setup (in my case rav1e) -...