editorconfig / editorconfig-vim

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

Fix typo #230

Closed yous closed 12 months ago

yous commented 1 year ago

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

xuhdev commented 12 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 12 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