Mercurial > vim
view runtime/syntax/vuejs.vim @ 17417:aa4532c1d001 v8.1.1707
patch 8.1.1707: Coverity warns for possibly using a NULL pointer
commit https://github.com/vim/vim/commit/cfdbc5adde49cbab939e8164555ed0b8d9ce000b
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jul 17 21:27:52 2019 +0200
patch 8.1.1707: Coverity warns for possibly using a NULL pointer
Problem: Coverity warns for possibly using a NULL pointer.
Solution: Change the logic to make sure no NULL pointer is used.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 17 Jul 2019 21:30:04 +0200 |
parents | b9bc47742df6 |
children |
line wrap: on
line source
" Vim syntax file " Language: Vue.js Single File Component " Maintainer: Ralph Giles <giles@thaumas.net> " URL: https://vuejs.org/v2/guide/single-file-components.html " Last Change: 2019 Jul 8 " Quit if a syntax file was already loaded. if exists("b:current_syntax") finish endif " We have a collection of html, css and javascript wrapped in " tags. The default HTML syntax highlight works well enough. runtime! syntax/html.vim