0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00
dkearns 04e5363b82
runtime(vim): Improve Vim9 and legacy-script comment highlighting (#13104)
This is a first-pass attempt to limit matching of Vim9 and legacy-script
comments to the appropriate syntactic contexts.

Vim9-script comments are highlighted at top level in a Vim9-script file,
in all :def functions, and in all :autocmd and :commmand command blocks.
Legacy-script comments are highlighted at top level in a legacy script
file, in all :func functions and in the Vim9-script preamble before the
:vim9script marker command.

Fixes #13047, #11307 and #9587.

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-10 22:18:37 +02:00
..

Generator of Vim Script Syntax File

This directory contains a Vim Script generator, that will parse the Vim source file and generate a vim.vim syntax file.

Files in this directory where copied from https://github.com/vim-jp/syntax-vim-ex/ and included here on Feb, 13th, 2024 for the Vim Project.

  • Maintainer: Hirohito Higashi
  • License: Vim License

How to generate

$ make

This will generate ../vim.vim

Files

Name Description
Makefile Makefile to generate ../vim.vim
README.md This file
gen_syntax_vim.vim Script to generate vim.vim
update_date.vim Script to update "Last Change:"
vim.vim.base Template for vim.vim