onivim / oni

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

Refactor code to use `CompletionItemKind` constants instead of string constants #377

Closed bryphe closed 7 years ago

bryphe commented 7 years ago

In the auto-completion dialog, we are using string constants instead of CompletionItemKind members - we should switch to using the language protocol constants instead of Oni-only constants.

bryphe commented 7 years ago

In general, for the Oni plugin API, we should use those VS types as well for things like quick info, find definition, etc.