mirror of
https://github.com/vim/vim.git
synced 2025-07-04 23:07:33 -04:00
Currently, the overriding object method definitions are matched as vimFunctionError (:help builtin-object-methods, v9.1.0148). For example: ------------------------------------------------------------ vim9script class Test def string(): string return "Test" enddef endclass echo string(Test.new()) == Test.new().string() ------------------------------------------------------------ Instead, let's introduce a new syntax group vimMethodName and make these methods its members. In order to emphasise the link between the overriding methods and the overridden functions for highlighting, vimMethodName is linked by default to vimFuncName. Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com> Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
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 |