view runtime/ftplugin/vue.vim @ 32041:7aeaf20e2ba5 v9.0.1352

patch 9.0.1352: "ignore" files are outdated Commit: https://github.com/vim/vim/commit/a63fd8232895bbf6751087d90fd15c8ea45f1cf0 Author: K.Takata <kentkt@csc.jp> Date: Fri Feb 24 17:16:41 2023 +0000 patch 9.0.1352: "ignore" files are outdated Problem: "ignore" files are outdated. Solution: Update "ignore" files. (Ken Takata, closes https://github.com/vim/vim/issues/12056)
author Bram Moolenaar <Bram@vim.org>
date Fri, 24 Feb 2023 18:30:04 +0100
parents 912224cab37f
children
line wrap: on
line source

" Vim filetype plugin file
" Language:	vue

if exists("b:did_ftplugin") | finish | endif
let b:did_ftplugin = 1

" Make sure the continuation lines below do not cause problems in
" compatibility mode.
let s:save_cpo = &cpo
set cpo-=C

" Copied from ftplugin/html.vim
" Original thanks to Johannes Zellner and Benji Fisher.
if exists("loaded_matchit")
  let b:match_ignorecase = 1
  let b:match_words = '<:>,'
	\ .. '<\@<=[ou]l\>[^>]*\%(>\|$\):<\@<=li\>:<\@<=/[ou]l>,'
	\ .. '<\@<=dl\>[^>]*\%(>\|$\):<\@<=d[td]\>:<\@<=/dl>,'
	\ .. '<\@<=\([^/][^ \t>]*\)[^>]*\%(>\|$\):<\@<=/\1>'
endif

" Restore the saved compatibility options.
let &cpo = s:save_cpo
unlet s:save_cpo