Vue 3 SFC Language Pack (syntect-safe) – syntax highlighting + Volar LSP #1072
unoctanium
started this conversation in
Show and tell
Replies: 1 comment
-
|
thank you so much. I will try it out once I have some time. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Fresh community 👋
I built a Vue 3 Single File Component language pack designed specifically
for Fresh’s syntect-compatible highlighter.
✔ Syntax highlighting for
.vuefiles✔
<script>TypeScript / JavaScript support✔
<template>Vue directives (v-if,v-for,v-model,:class,@click)✔ Mustache interpolation
{{ ... }}✔ PascalCase component highlighting
✔ Tailwind-friendly class tokenization
✔ Volar LSP integration (
vue-language-server)Repository:
https://github.com/unoctanium/fresh-vue-language
Install via:
Fresh → Command Palette → Package: Install from URL
Notes:
This grammar intentionally avoids advanced Sublime/TextMate features
(
extends, injections, etc.) to remain fully compatible with Fresh.Feedback welcome — happy to refine scopes or behaviour.
Beta Was this translation helpful? Give feedback.
All reactions