styled-components / typescript-styled-plugin

TypeScript server plugin that adds intellisense to styled component css strings
MIT License
76 stars 7 forks source link

Set `isIncomplete` flag on completion item in addition to in the metadata #7

Closed mskelton closed 1 year ago

mskelton commented 1 year ago

isIncomplete is currently being set on the metadata for the completion items from Emmet, but this doesn't work when using Neovim with nvim-cmp which looks for isIncomplete on the actual completion item, rather than in the metadata.

The field is available in the TS definition for ts.CompletionInfo so this seems like an acceptable change.