mirror of
https://github.com/neovim/neovim.git
synced 2026-08-02 04:51:38 +08:00
vim-patch:70d55cd: runtime(m4): Prevent the m4Disabled region from nesting within itself. (#41037)
closes: vim/vim#20801
70d55cd516
Co-authored-by: Sam Williams <sam@badcow.co>
This commit is contained in:
parent
635acc7dc8
commit
a8626466e8
@ -46,7 +46,7 @@ syn cluster m4Top add=m4Quoted
|
|||||||
" they simply prevent any macros from being expanded, while the text remains
|
" they simply prevent any macros from being expanded, while the text remains
|
||||||
" in the output. This region therefore disables any other matches.
|
" in the output. This region therefore disables any other matches.
|
||||||
" – Comments themselves are disabled when quoted.
|
" – Comments themselves are disabled when quoted.
|
||||||
syn region m4Disabled start=+#+ end=+$+ containedin=ALLBUT,m4Quoted,m4ParamCount
|
syn region m4Disabled start=+#+ end=+$+ containedin=ALLBUT,m4Quoted,m4ParamCount,m4Disabled
|
||||||
|
|
||||||
" Macros in M4:
|
" Macros in M4:
|
||||||
" – Name tokens consist of the longest possible sequence of letters, digits,
|
" – Name tokens consist of the longest possible sequence of letters, digits,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user