maralla / completor.vim

Async completion framework made ease.
MIT License
1.27k stars 63 forks source link

Buffer completion cuts off after 45 characters #259

Open arthurxavierx opened 5 years ago

arthurxavierx commented 5 years ago

This happens because of the character limit in the regexp defined in this commit.

Ideally, this limit would be removed or turned into a configurable property, as removing the limit did not cause a performance hit in files with up to 4000 lines. This is so because the great majority of the tokens frequently encountered in normal text editing do not exceed the 45 characters threshold.