From 9b8e60cb84d46c64d76b8c71c1a6ec2376387835 Mon Sep 17 00:00:00 2001 From: shnhrrsn Date: Sat, 11 Nov 2017 13:02:45 -0500 Subject: [PATCH] Added support for slots to tagged components --- grind-stone.sublime-syntax | 11 +++++++++++ test.stone | 4 ++++ 2 files changed, 15 insertions(+) diff --git a/grind-stone.sublime-syntax b/grind-stone.sublime-syntax index 2ac19b7..d89054a 100644 --- a/grind-stone.sublime-syntax +++ b/grind-stone.sublime-syntax @@ -98,6 +98,17 @@ contexts: pop: true - include: tagged_component + - match: '(' + scope: punctuation.definition.tag.end.html + pop: true + directive_args: - meta_scope: custom.compiler.stone.js - meta_content_scope: source.js.stone diff --git a/test.stone b/test.stone index c783c13..dd43cb5 100644 --- a/test.stone +++ b/test.stone @@ -17,6 +17,10 @@ Hello, {!! name || 'Default' !!}. + +

Grind

+
+ @include('header') @include('footer')