This PR adds syntax highlighting and indentation support for Handlebars (*.hbs) templates and Glimmer (*.gjs/*.gts) files. While Vim already detected these filetypes, it lacked the syntax and indentation definitions needed for proper editing.
Handlebars Support:
runtime/syntax/handlebars.vim with syntax highlighting for Handlebars templatesruntime/indent/handlebars.vim with better indentation rules for Handlebars.hbs filesGlimmer Support:
runtime/syntax/glimmer.vim that combines JavaScript/TypeScript syntax with Handlebars syntax<template> blocks within Glimmer filesThe Handlebars code is adapted from an external project with permission from the original author under the MIT license (properly attributed in both files). This enhances Vim's support for Ember.js and other frameworks that use these template formats.
https://github.com/vim/vim/pull/19569
(5 files)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
@sukima pushed 2 commits.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
I am unable to understand the current test failures. They appear to be network issues concerning Linux OS packages unrelated to the runtime files added in this PR?
Please advise.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()