Closed sQVe closed 6 years ago
Hello @sQVe and thank you very much. :blush:
What do you mean with autocomplete? Do you mean automatic suggestions for attributes and properties?
Tl;dr: I have to implement a function to suggest words based on the given input. You need to setup how to trigger and interact with these suggestions yourself, though. (See details-section for an in-depth explanation. :smile:)
@fleischie Yeah, that's exactly what I mean. It would be awesome if one could autocomplete exactly like how it works in a normal CSS file. I'm currently running deoplete
, LanguageClient
and nvim-typescript
for auto/omni complete for a couple of languages.
I'd love to help but I'm far from well versed in VimScript.
BTW: It might be worth noting that this plugin currently does not support complete and only handles syntax highlighting.
For everybody interested in that topic: check the latest develop
branch, that contains the very first attempt of implementing this functionality. I didn't have much time to really test now, but it's there. :v:
@fleischie Awesome. I've been forced to disable this plugin due to https://github.com/styled-components/vim-styled-components/issues/36 sadly.
I'd like to first take the opportunity and thank everyone involved in this plugin. It's really nice having syntax highlighting. Over to the question...
Question: Is there currently any way to get autocomplete for styled-components? I know this is possible in VSCode but haven't found a proper way to do this in Vim.