Skip to content

Commit

Permalink
When use an external editorconfig executable, handle CR EOL as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
xuhdev committed Sep 18, 2017
1 parent 14376e0 commit e96ecb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/editorconfig.vim
Expand Up @@ -491,7 +491,7 @@ function! s:SpawnExternalParser(cmd) " {{{2

call s:ResetShellSlash()

let l:parsing_result = split(system(l:cmd), '\n')
let l:parsing_result = split(system(l:cmd), '[\r\n]')

" if editorconfig core's exit code is not zero, give out an error
" message
Expand Down

0 comments on commit e96ecb8

Please sign in to comment.