Bram Moolenaar | 0d878b9 | 2022-07-01 18:45:04 +0100 | [diff] [blame] | 1 | " Vim filetype plugin file |
| 2 | " Language: vue |
| 3 | |
| 4 | if exists("b:did_ftplugin") | finish | endif |
| 5 | let b:did_ftplugin = 1 |
| 6 | |
| 7 | " Make sure the continuation lines below do not cause problems in |
| 8 | " compatibility mode. |
| 9 | let s:save_cpo = &cpo |
| 10 | set cpo-=C |
| 11 | |
| 12 | " Copied from ftplugin/html.vim |
| 13 | " Original thanks to Johannes Zellner and Benji Fisher. |
| 14 | if exists("loaded_matchit") |
| 15 | let b:match_ignorecase = 1 |
| 16 | let b:match_words = '<:>,' |
| 17 | \ .. '<\@<=[ou]l\>[^>]*\%(>\|$\):<\@<=li\>:<\@<=/[ou]l>,' |
| 18 | \ .. '<\@<=dl\>[^>]*\%(>\|$\):<\@<=d[td]\>:<\@<=/dl>,' |
| 19 | \ .. '<\@<=\([^/][^ \t>]*\)[^>]*\%(>\|$\):<\@<=/\1>' |
| 20 | endif |
| 21 | |
| 22 | " Restore the saved compatibility options. |
| 23 | let &cpo = s:save_cpo |
| 24 | unlet s:save_cpo |