kakoune
kakoune copied to clipboard
Add filetype for ember js .gjs and .gts files
Im trying to add highlighting for .gjs
and .gts
files. I copied the .js
and .hbs
file and started to hack around a bit.
But im now getting errors that my closing expansion characters are not commands. Could someone help me out on this?
This is just an attempt and by no means complete or anything yet. I just thought i would ask if someone could help me out on this since I've been struggling with this for some times.
Example of an .gjs
file:
import { on } from '@ember/modifier';
import FancyButton from './fancy-button';
function greet() {
alert("AHOY!")
}
<template>
<p>Hello, {{@name}}!</p>
<FancyButton @label="Say hello!" {{on "click" greet}} />
</template>