-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does it work with nvim? #163
Comments
It works normally in neovim, even in android with termux it also works fine :), although I have only used the supported properties that are in the README |
@stepancheg I would welcome a PR to update the README :) |
Well using neovim 0.6.0 it seems to load and set the autocmd but it dosn't seem to work .. like the load is done before the default of nvim. I haven't figured it out yet but it seems that it broke when 0.6.0 was released. Anyhow once reloaded it works fine so
does the trick for me |
I have the same problem here. I am not very proficient at vimscript, but the plugin tries to do it here. # https://github.com/editorconfig/editorconfig-vim/blob/master/plugin/editorconfig.vim#L259
function! s:EditorConfigEnable(should_enable)
augroup editorconfig
autocmd!
if a:should_enable
autocmd BufNewFile,BufReadPost,BufFilePost * call s:UseConfigFiles()
endif
augroup END
endfunction @desdic's trick works for me. |
Quack, I just installed the plugin on neovim 0.6.0-1 (on Debian unstable) and tested with a project with different settings for different extensions (especially different indent_style/indent_size) and it is working fine without any trick. I use vim-plug and the plugin iis loaded quite early after theming plugins and before anything else. I only set \_o< |
For me, it used to work. Using Neovim 0.7.2 it does not any more. Switched over to https://github.com/gpanders/editorconfig.nvim, works out of the box, no config. It has less configurability but I just need a simple plugin that works. Maybe interesting to someone else as well. |
FYI: gpanders/editorconfig.nvim has been merged into NeoVim 0.9. See: neovim/neovim#21633 |
I see from issues, it is supposed to work with NeoVim. Can you clarify it in readme?
The text was updated successfully, but these errors were encountered: