mirror of
https://github.com/vim/vim.git
synced 2025-10-14 07:04:10 -04:00
runtime(vim): Update base-syntax and generator, only match valid predefined variables
- Only match valid predefined and option variables. - Match scope dictionaries. - Highlight scope prefixed variables as a scope dictionary accessor. The vimVarScope syntax group can be linked to vimVar to disable this. - Include support for Neovim-only predefined and option variables. Temporary collateral damage - scope dictionaries match instead of keys in dictionary literals. closes: #16727 Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
42e498d9c4
commit
3dca512939
9
runtime/syntax/testdir/input/vim_nvim_variables.vim
Normal file
9
runtime/syntax/testdir/input/vim_nvim_variables.vim
Normal file
@@ -0,0 +1,9 @@
|
||||
" Neovim variable highlighting
|
||||
" VIM_TEST_SETUP let g:vimsyn_vim_features = ["nvim"]
|
||||
|
||||
echo v:lua v:msgpack_types v:relnum v:stderr v:termrequest v:virtnum
|
||||
|
||||
echo &channel &inccommand &mousescroll &pumblend &redrawdebug &scrollback
|
||||
echo &shada &shadafile &statuscolumn &termpastefilter &termsync &winbar
|
||||
echo &winblend &winhighlight
|
||||
|
Reference in New Issue
Block a user