onivim / oni

Oni: Modern Modal Editing - powered by Neovim
https://www.onivim.io
MIT License
11.35k stars 301 forks source link

Too much completion candidates #1280

Open hoschi opened 6 years ago

hoschi commented 6 years ago

Since my last updates I get a lot of completions.

Nothing of these should be there, see grep split: 2018-01-12-122756_2044x1395_scrot

2018-01-12-122958_2044x1395_scrot

2018-01-12-123421_2044x1395_scrot

2018-01-12-123602_2044x1395_scrot

hoschi commented 6 years ago

Code https://github.com/hoschi/yode/tree/develop/

hoschi commented 6 years ago

2018-01-17-093541_875x335_scrot

Looks Oni comes with a whole tourist agency :grin:

bryphe commented 6 years ago

Looks Oni comes with a whole tourist agency 😁

Wow, strange! I know with JS completion the typescript language server (tss) has some issues - but I wonder where it is even deciding to get those from.

In addition, it's strange that we are seeing duplicate items, though, too (I've seen this in TypeScript as well)

hoschi commented 6 years ago

Did you change some options? I also tried to say that before the matches were limited to the current scope. E.g. when I have file which is an object and type a . it should only list properties of that object. But now I see global variables. Other thing I thought about was: It is probably mixin omni completion candidates with that from any word completion?