editorconfig / editorconfig-vim

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

s:MAX_PROPERTY_VALUE in ini.vim is too short #180

Open thawk opened 3 years ago

thawk commented 3 years ago

In my C++ project, there're tens of modules, thus tens of include path to be set in c_include_path property. Currently, s:MAX_SECTION_NAME is set to 255 and can't be alter by user configration.

Since s:MAX_SECTION_NAME is 4096, s:MAX_PROPERTY_VALUE shouldn't shorter than that.

BTW, it's better to expose an option to set these limits.

xuhdev commented 3 years ago

I believe you are talking about s:MAX_PROPERTY_VALUE. Yes I agree, we should make them configurable.