editorconfig / editorconfig-vim

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

Fix typo #230

Closed yous closed 10 months ago

yous commented 10 months ago

This fixes https://github.com/editorconfig/editorconfig-vim/issues/224#issuecomment-1829630143.

xuhdev commented 10 months ago

Could you explain why l: should be replaced by a: here? I'm having a hard time finding out relevant docs.

nedbat commented 10 months ago

a: references the arguments of a function. l: references variables local to a function. This function has no bufnr variable. Details: https://vimhelp.org/eval.txt.html#variable-scope