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

Support for embedded languages #36

Open
KostkaBrukowa opened this issue May 23, 2023 · 1 comment
Open

Support for embedded languages #36

KostkaBrukowa opened this issue May 23, 2023 · 1 comment
Assignees

Comments

@KostkaBrukowa
Copy link
Collaborator

This is an issue to track: how to support embedded languages. For starters I'm thinking about "<script>" tags in HTML.
I will try to do the research if something like this exists in the wild.
Personally I would start with just diagnostics and later we could improve this support for other methods.
For now I've found this issue from other repo: quarto-dev/quarto-nvim#2
and they have proposed a sulution that we could have hidden buffer with scripts tag content and we attach LSP to that buffer and sync the LSP info between buffers. I think there is something to it.
Also I think it would be great selling point for this plugin because no other tsserver LSP cannot do that right now (especially "typescript-language-server")

@KostkaBrukowa KostkaBrukowa self-assigned this May 23, 2023
@KostkaBrukowa
Copy link
Collaborator Author

Or this could do the job https://github.com/jmbuhr/otter.nvim

@KostkaBrukowa KostkaBrukowa mentioned this issue Jun 2, 2023
4 tasks
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

1 participant