diff --git a/CHANGELOG.md b/CHANGELOG.md index 304bfaea6b..01ad969e2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ - 🙌 Add `vti version` command. Thanks to contribution from [@andrewisaburden](https://github.com/andrewisaburden). #2337. - 🙌 Complete with `?.` for optional properies in completion. Thanks to contribution from [@yoyo930021](https://github.com/yoyo930021). #2326 and #2357. - 🙌 Respect typescript language settings. Thanks to contribution from [@yoyo930021](https://github.com/yoyo930021). #2109 and #2375. +- 🙌 Slim syntax highlighting. Thanks to contribution from [@Antti](https://github.com/Antti). ### 0.28.0 | 2020-09-23 | [VSIX](https://marketplace.visualstudio.com/_apis/public/gallery/publishers/octref/vsextensions/vetur/0.28.0/vspackage) diff --git a/client/grammar.ts b/client/grammar.ts index b9759efc40..6b33ebc70a 100644 --- a/client/grammar.ts +++ b/client/grammar.ts @@ -8,6 +8,7 @@ const SCOPES: { [lang: string]: string } = { html: 'text.html.basic', pug: 'text.pug', haml: 'text.haml', + slim: 'text.slim', css: 'source.css', scss: 'source.css.scss', less: 'source.css.less', diff --git a/docs/highlighting.md b/docs/highlighting.md index 0c3f994e66..d07f59a2d3 100644 --- a/docs/highlighting.md +++ b/docs/highlighting.md @@ -9,6 +9,7 @@ Vetur supports syntax highlighting for the following languages: | `