diff options
author | Christian Clason <c.clason@uni-graz.at> | 2022-06-23 15:57:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-23 15:57:51 +0200 |
commit | c00a3f45d47840e36c97c87e2ddf1dd2bcc2c2f7 (patch) | |
tree | 70106c58f08ac71355eb8d953b0b003094aa0ede /runtime/syntax/doxygen.vim | |
parent | 3c85fd817ee57793503b29202ce07166f0a48480 (diff) | |
download | rneovim-c00a3f45d47840e36c97c87e2ddf1dd2bcc2c2f7.tar.gz rneovim-c00a3f45d47840e36c97c87e2ddf1dd2bcc2c2f7.tar.bz2 rneovim-c00a3f45d47840e36c97c87e2ddf1dd2bcc2c2f7.zip |
vim-patch:8cc5b559f700 (#19066)
Update runtime files
https://github.com/vim/vim/commit/8cc5b559f70041361612b8a6a87922503b33baa6
Diffstat (limited to 'runtime/syntax/doxygen.vim')
-rw-r--r-- | runtime/syntax/doxygen.vim | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/runtime/syntax/doxygen.vim b/runtime/syntax/doxygen.vim index 167b17cd0f..36d527b551 100644 --- a/runtime/syntax/doxygen.vim +++ b/runtime/syntax/doxygen.vim @@ -498,12 +498,16 @@ endif syn match doxygenLeadingWhite +\(^\s*\*\)\@<=\s*+ contained - " This is still a proposal, but won't do any harm. - aug doxygengroup - au! - au Syntax UserColor_reset nested call s:Doxygen_Hilights_Base() - au Syntax UserColor_{on,reset,enable} nested call s:Doxygen_Hilights() - aug END + " This is still a proposal, but it is probably fine. However, it doesn't + " work when 'syntax' is set in a modeline, catch the security error. + try + aug doxygengroup + au! + au Syntax UserColor_reset nested call s:Doxygen_Hilights_Base() + au Syntax UserColor_{on,reset,enable} nested call s:Doxygen_Hilights() + aug END + catch /E12:/ + endtry SynLink doxygenBody Comment |