annotate runtime/syntax/vue.vim @ 28355:f1a3df11d013
v8.2.4703
patch 8.2.4703: memory leak in handling 'cinscopedecls'
Commit: https://github.com/vim/vim/commit/cb49a1d934d38cbc0d445af59b71ffe45cbcae75
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Apr 7 13:08:00 2022 +0100
patch 8.2.4703: memory leak in handling 'cinscopedecls'
Problem: Memory leak in handling 'cinscopedecls'.
Solution: Free the memory before returning.
author |
Bram Moolenaar <Bram@vim.org> |
date |
Thu, 07 Apr 2022 14:15:03 +0200 |
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
|