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 vue and or svelte. #420

Open
susnick opened this issue Dec 8, 2023 · 3 comments
Open

support vue and or svelte. #420

susnick opened this issue Dec 8, 2023 · 3 comments

Comments

@susnick
Copy link

susnick commented Dec 8, 2023

Im looking for language support hat has a mix of other languages. Svelte would have javascript/typescript, html, css in one file. They have different comment characters for each type. Is this possible?

@davidhcefx
Copy link
Contributor

davidhcefx commented Feb 3, 2024

I don't think it is possible, because Nano currently only accepts one highlighting for the whole file. By the way, do you know any other text editor or plugins that has this ability?

@iconoclasthero
Copy link

iconoclasthero commented May 15, 2024

I got to this repo because nano's not highlighting .vue files. Just looking around to see if the files in this repo will syntax highlight .vue files without e.g., symlinking them to a .js extension and I found this thread at the top of the list...

Does this repo provide an easy way to get (what i assume i want is) js formatting for *.vue files?
Can I modify something to just add js support for *.vue?

@iconoclasthero
Copy link

iconoclasthero commented May 15, 2024

Oh, I see, you can't just slap an extension on .vue files. *^&%.

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

3 participants