Mercurial > vim
view runtime/syntax/vue.vim @ 25282:9bce044c7643 v8.2.3178
patch 8.2.3178: Vim9: the file name of an :import cannot be an expression
Commit: https://github.com/vim/vim/commit/4db572eeb2b42819268e934e76c67163316d873f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 18 18:21:38 2021 +0200
patch 8.2.3178: Vim9: the file name of an :import cannot be an expression
Problem: Vim9: the file name of an :import cannot be an expression.
Solution: Accept an expression that results in a string. Do not support
:import in a function.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 18 Jul 2021 18:30:04 +0200 |
parents | 95c23e180022 |
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