blob: e8833742adf9fc23d365ef35915d058356a960f7 [file] [log] [blame]
Bram Moolenaar0d878b92022-07-01 18:45:04 +01001" Vim filetype plugin file
2" Language: vue
3
4if exists("b:did_ftplugin") | finish | endif
5let b:did_ftplugin = 1
6
7" Make sure the continuation lines below do not cause problems in
8" compatibility mode.
9let s:save_cpo = &cpo
10set cpo-=C
11
12" Copied from ftplugin/html.vim
13" Original thanks to Johannes Zellner and Benji Fisher.
14if 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>'
20endif
21
22" Restore the saved compatibility options.
23let &cpo = s:save_cpo
24unlet s:save_cpo