view runtime/ftplugin/vue.vim @ 31732:ef7a9a7eb197 v9.0.1198

patch 9.0.1198: abstract class not supported yet Commit: https://github.com/vim/vim/commit/24a8d06d7f4db0865f374ced2f4d4b57cbc5b9e4 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 14 13:12:06 2023 +0000 patch 9.0.1198: abstract class not supported yet Problem: Abstract class not supported yet. Solution: Implement abstract class and add tests.
author Bram Moolenaar <Bram@vim.org>
date Sat, 14 Jan 2023 14:15:06 +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