Mercurial > vim
view runtime/syntax/vue.vim @ 26470:ff0310e6f889 v8.2.3765
patch 8.2.3765: Vim9: cannot use a lambda for 'opfunc' and others
Commit: https://github.com/vim/vim/commit/dcb53be4418fe263a71c7738315241031df6c986
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 9 14:23:43 2021 +0000
patch 8.2.3765: Vim9: cannot use a lambda for 'opfunc' and others
Problem: Vim9: cannot use a lambda for 'opfunc' and others.
Solution: Convert the lambda to a string.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 09 Dec 2021 15:30:04 +0100 |
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