uga-rosa/cmp-dictionary

Couple of changes/improvements

Closed this issue · 3 comments

Hey @uga-rosa

When you archived this repo, I created a fork, and I think I fixed a couple of issues in it, with the main one being: if I press ctrl+space to open auto-complete menu and I do it when there's no word under my cursor, I think the plugin will try to parse the whole dictionary, basically freezing everything (at least that was my impression, and I think I've fixed it).

These are my changes.

If you're OK with the changes, I can create a PR (minus the README changes of course)

That's not the right fix. What we should be looking at here should be keyword_length, not exact_length.

Thanks for pointing this out. I have corrected it in this commit.
4286695

Great, thank you @uga-rosa