leafOfTree/vim-vue-plugin

"%" key does not work on html/vue tags.

roket1428 opened this issue · 2 comments

% key has to jump between tags by default in html/vue tags.
(cursor is [<any_char>]. So, [m] means cursor on the "m" char.)

Expected when pressing %:

<te[m]plate>                           <template>
  <vue-tag>                               <vue-tag>
    Dummy data        ===>                  Dummy data
  </vue-tag>                              </vue-tag>
</template>                             <[/]template>

But it doesn't do anything.
If you don't know what % does (I'm pretty sure you do) check it out with :h % in vim

You could check expected behavior with a normal html file.

Thank you for reminding me of the useful % command. Its config is added and can be used for tags now.

Thanks a lot man...