editorconfig / editorconfig-vim

EditorConfig plugin for Vim
http://editorconfig.org
Other
3.13k stars 137 forks source link

Plugin broken by syntax error #215

Closed kaihowl closed 1 year ago

kaihowl commented 1 year ago

Context: https://github.com/editorconfig/editorconfig-vim/pull/213/files#r1133331533

Reproduction steps:

  1. Place .editorconfig in current dir
root = true

[*]
max_line_length = 111
  1. Open vim with plugin installed on new file in current directory, e.g., vim newfile.txt.
  2. Observe that :echo &textwidth is 0 instead of 111.

When reverting the commit 6e2b092, the above correctly reproduces 111 instead.