diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-03-22 07:31:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-22 07:31:43 +0800 |
commit | 15c6909bb198ca8a1a22405a4a7e96357716e57e (patch) | |
tree | 9db0e03c14ae32a3b409d777693cf69b1af92390 /runtime/lua/vim/iter.lua | |
parent | 50b249930675b4443e95f880a3e4f98f0ee92abf (diff) | |
download | rneovim-15c6909bb198ca8a1a22405a4a7e96357716e57e.tar.gz rneovim-15c6909bb198ca8a1a22405a4a7e96357716e57e.tar.bz2 rneovim-15c6909bb198ca8a1a22405a4a7e96357716e57e.zip |
vim-patch:35e6f4ca27c8 (#27973)
runtime(vim): Update base-syntax, improve function definition highlighting (vim/vim#14203)
Improve function definition highlighting.
- Match bang and function modifiers - abort etc.
- Only match valid scope modifiers.
- Match listing commands.
- Don't match ex commands in function names.
- Split function syntax groups into :func and :def subgroups.
- Match Vim9-script parameter and return types.
- Limit legacy-script and Vim9-script comments to :func and :def
definitions, respectively.
https://github.com/vim/vim/commit/35e6f4ca27c8115c606f265e4b09e11db01c970d
Omit the vimFunctionError change as it's a whitespace-only change and
will likely be superseded by later patches.
Co-authored-by: dkearns <dougkearns@gmail.com>
Diffstat (limited to 'runtime/lua/vim/iter.lua')
0 files changed, 0 insertions, 0 deletions