annotate runtime/syntax/vue.vim @ 26406:fcc57227e99b
v8.2.3734
patch 8.2.3734: Vim9: crash when no pattern match found
Commit: https://github.com/vim/vim/commit/01a4dcbceefa99696bd1ef8631c3f7ce9f6e0cc2
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Dec 4 13:15:10 2021 +0000
patch 8.2.3734: Vim9: crash when no pattern match found
Problem: Vim9: crash when no pattern match found.
Solution: Check for error.
author |
Bram Moolenaar <Bram@vim.org> |
date |
Sat, 04 Dec 2021 14:30:03 +0100 |
parents |
95c23e180022 |
children |
|
rev |
line source |
17372
|
1 " Vim syntax file
|
|
2 " Language: Vue.js Single File Component
|
|
3 " Maintainer: Ralph Giles <giles@thaumas.net>
|
|
4 " URL: https://vuejs.org/v2/guide/single-file-components.html
|
|
5 " Last Change: 2019 Jul 8
|
|
6
|
|
7 " Quit if a syntax file was already loaded.
|
|
8 if exists("b:current_syntax")
|
|
9 finish
|
|
10 endif
|
|
11
|
|
12 " We have a collection of html, css and javascript wrapped in
|
|
13 " tags. The default HTML syntax highlight works well enough.
|
|
14 runtime! syntax/html.vim
|