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

Hover information missing syntax highlighting #11

Open
stephenjcampbell opened this issue Nov 6, 2022 · 1 comment
Open

Hover information missing syntax highlighting #11

stephenjcampbell opened this issue Nov 6, 2022 · 1 comment

Comments

@stephenjcampbell
Copy link

Hi,
Just a minor issue - when hovering JavaScript in Svelte files, the hover information popup which has the type annotation in it is displayed with the three backticks and typescript language for highlighting visible.
Screenshot 2022-11-06 at 4 37 01 am

I'm not using TypeScript in this project, just for clarity - in case that helps to replicate the issue.

The TypeScript extension for Nova displays hover information as follows:
Screenshot 2022-11-06 at 4 37 33 am

Thanks for the extension and the new highlighting of Svelte files is great

@laosb
Copy link
Owner

laosb commented Nov 21, 2022

This is a known issue for long - Previously Nova didn't support Markdown in tooltips, and I remember the author of TypeScript extension mentioned that he used some workarounds to make this work, likely modifying the LSP side. Not sure if forking a LSP server is what I want to do (or even whether I'm going to understand how to).

Some links for reference:

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