-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Difference between this and vim-mustache-handlebars? #8
Comments
I haven't checked recently, but I made this plugin because I use modern Ember constructs such as contextual components, angle bracket invocation, Finally, at the time I must admit that I have not tried |
Thanks for the detail. Can you please provide some examples of markup that causes the problems you mention? I'd love to get them fixed in the other repo as well. Thanks. |
Mostly the example text in the readme is designed to demonstrate the things this support that that doesn't. |
Well from a high level mustache and handlebars are a string template syntax while in Ember the template is a LISP language that looks like mustache but isn't. It includes many differences like nested macro calls {{foo (bar (baz "frotz"))}} It has local scoped variables that are yielded {{#let (something) as |thatThing|}}
{{log thatThing}}
{{/let}} Components with yielded values <FooBar as |theValue|>
{{log theValue}}
</FooBar> Soon to have new features like front matter and/or imports, and much much more. Considering this is a full blown language and not just a string template system it makes sense that it should be approached as a new thing. |
mustache/vim-mustache-handlebars is the official Vim syntax highlighting/indentation plugin from the Mustache project. What is the advantage to using this over the official one? I wonder if it would be better to take any improvements this has over vim-mustache-handlebars and just incorporate them as PRs there.
The text was updated successfully, but these errors were encountered: