diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-02-06 11:16:32 +0100 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2024-02-06 11:42:15 +0100 |
commit | 9a761019da05fbdb546f6e81e294612be217ca12 (patch) | |
tree | 65c77c2dc55996b90a64584dfd47183470ae7c5e /runtime/lua/vim/uri.lua | |
parent | a945a31e768f9dfb09ff455229ed2c70b5ea6cf6 (diff) | |
download | rneovim-9a761019da05fbdb546f6e81e294612be217ca12.tar.gz rneovim-9a761019da05fbdb546f6e81e294612be217ca12.tar.bz2 rneovim-9a761019da05fbdb546f6e81e294612be217ca12.zip |
vim-patch:f7f33e3719c8
runtime(dosbatch): improve '::' comment highlighting
Added a syntax region for command blocks so that the highlighting of
`::` comments in them can be controlled. The `dosbatch_colons_comment`
variable now controls if all `::` comments in a code block are
highlighted as comments or errors. A `::` comment at the end of a
command block is always highlighted as an error.
This re-enables the highlighting of `::` comments in `.bat` files as
requested in vim/vim#13666, while allowing control of highlighting them in
command blocks requested in vim/vim#11778 and first attempted in vim/vim#11980.
related: vim/vim#11980
fixes: vim/vim#13666
https://github.com/vim/vim/commit/f7f33e3719c87279dfad109b874e2817007a1184
Co-authored-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Mike Williams <mikew@globalgraphics.com>
Diffstat (limited to 'runtime/lua/vim/uri.lua')
0 files changed, 0 insertions, 0 deletions