0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00
Doug Kearns a577e4289c
runtime(vim): Update base-syntax, improve script-interface command highlighting
- Normalise interface heredoc highlighting with that used for
  :let-heredocs.
- Remove interface feature testing.  The Lua and Python interface
  command scripts are now highlighted by default.  Loading all syntax
  files incurs an undesirable load-time burden so highlighting of the
  less popular MzScheme, Perl, Ruby and Tcl interfaces is disabled by
  default.  g:vimsyn_embed can still be used to customise the supported
  interfaces.
- Always highlight interface ex-commands as valid commands, even when
  the corresponding command-script highlighting is disabled.
- Highlight simple command-script statements as well as heredocs.
- Remove error highlighting of heredoc and statement command-script
  regions when an interface is disabled.  These are now highlighted as
  plain text.
- Allow indented heredoc end tokens when "trim" is specified.
- Match interface heredocs in :def functions.
- Fix runaway vimEmbedError regions.  These regions have been removed.
- Use python2 syntax for :python, and :pythonx when 'pyxversion' is
  appropriately set.

closes: #15522

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2025-05-17 16:29:13 +02:00
..
2024-10-05 16:56:47 +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