Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work on .svelte files. #4

Open
evwltrs opened this issue Mar 23, 2024 · 3 comments
Open

Does not work on .svelte files. #4

evwltrs opened this issue Mar 23, 2024 · 3 comments

Comments

@evwltrs
Copy link

evwltrs commented Mar 23, 2024

This doesn't work on svelte files despite it being supported by emmet. The input box opens, but after typing in the abbreviation, nothing happens. Is there a config option to add support for svelte files that I can't see?

@olrtg
Copy link
Owner

olrtg commented Mar 29, 2024

Hey @evwltrs! this plugin doesn't provide completions. It only gives more integration between the https://github.com/olrtg/emmet-language-server/ and neovim. Aside from that, the svelte language server already bundles emmet completion capabilities. So specifically for svelte, you don't need either the emmet language server or this plugin.

@olrtg olrtg closed this as completed Mar 29, 2024
@evwltrs
Copy link
Author

evwltrs commented Mar 30, 2024

I'm not quite sure how to get wrap with abbreviations working on the normal language server. Can you point me in the right direction?

@olrtg
Copy link
Owner

olrtg commented Mar 30, 2024

@evwltrs Oh I see what you're saying now 🤔 my bad. I don't know how that would be implemented, as I said the svelte language server already comes with emmet bundled but they don't expose the endpoint that this plugin uses for making that action. This plugin only integrates with the emmet language server because it has the custom endpoint mentioned.

So for now, there's no solution to your problem. But I'll think about it, maybe I find some way to make this work. No promises tho.

@olrtg olrtg reopened this Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants