Mercurial > vim
view runtime/syntax/godoc.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 | 46763b01cd9a |
children |
line wrap: on
line source
" Vim syntax file " Language: Godoc (generated documentation for go) " Maintainer: David Barnett (https://github.com/google/vim-ft-go) " Last Change: 2014 Aug 16 if exists('b:current_syntax') finish endif syn case match syn match godocTitle "^\([A-Z][A-Z ]*\)$" hi def link godocTitle Title let b:current_syntax = 'godoc' " vim: sw=2 sts=2 et