D
D
darofonom2017-05-31 20:14:08
Sublime Text
darofonom, 2017-05-31 20:14:08

How to make a snippet for .vue?

I'm trying to make a snippet for a .vue file and it doesn't see it. snippet

<snippet>
  <content><![CDATA[
Hello, ${1:this} is a ${2:snippet}.
]]></content>
  <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
  <tabTrigger>hello</tabTrigger>
  <!-- Optional: Set a scope to limit where the snippet will trigger -->
  <scope>source.vue</scope>
</snippet>

Maybe I need to register an additional extension somewhere?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
darofonom, 2017-05-31
@darofonom

Fixed it. Wrong scope, need `text.html.vue`

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question