aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/executable_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-10-14 10:43:06 +0800
committerzeertzjq <zeertzjq@outlook.com>2025-10-14 10:43:09 +0800
commit6b006a03c4053c09e4aa00d8cd4b6e2e63a7ae90 (patch)
tree44c8605cef2ca543fb57c5776cb4ba14ecfcde2a /test/functional/vimscript/executable_spec.lua
parentdbddd5989acf55a30d3ff8fa4243bf2560238ca3 (diff)
downloadrneovim-6b006a03c4053c09e4aa00d8cd4b6e2e63a7ae90.tar.gz
rneovim-6b006a03c4053c09e4aa00d8cd4b6e2e63a7ae90.tar.bz2
rneovim-6b006a03c4053c09e4aa00d8cd4b6e2e63a7ae90.zip
vim-patch:47949b4: runtime(rst): Fix highlights nested in directive body
The leading two dots of a RST directive gets matched by rstExplicitMarkup group first, and then the directive name and directive body will be matched by the groups contained in rstDirectives cluster in order. The rstExDirective group in rstDiretives matches any RST directives other than footnote, citation and hyperlink target, therefore admonition and code block will be matched by rstExDirective. This fix has rstExDirective contain rstExplicitMarkup so as to enable recursive RST directives match. The interpreted texts enclosed in quotes are not highlighted within a RST directive body, because the rstCruft cluster contains a non-existing rstInterpretedText group.It should be renamed to rstInterpretedTextOrHyperlinkReference which is defined in a DefineInlineMarkup function call. related: vim/vim#18566 https://github.com/vim/vim/commit/47949b4b46965fdabbbe84cbe14027890d4ed3b8 Co-authored-by: Minjie Xu <madjxatw@gmail.com>
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions