runtime(vim): make VimKeywordPrg even smarter for regexes Commit: https://github.com/vim/vim/commit/580e457a2a5fa63b9be0bf5f2c81434e157bcc0a Author: Konfekt <konf...@users.noreply.github.com> Date: Tue Feb 25 20:53:55 2025 +0100
runtime(vim): make VimKeywordPrg even smarter for regexes closes: https://github.com/vim/vim/issues/16729 Signed-off-by: Konfekt <konf...@users.noreply.github.com> Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/runtime/ftplugin/vim.vim b/runtime/ftplugin/vim.vim index c9ea793ee..cf6ced9f8 100644 --- a/runtime/ftplugin/vim.vim +++ b/runtime/ftplugin/vim.vim @@ -1,7 +1,7 @@ " Vim filetype plugin " Language: Vim " Maintainer: Doug Kearns <dougkea...@gmail.com> -" Last Change: 2025 Feb 23 +" Last Change: 2025 Feb 25 " Former Maintainer: Bram Moolenaar <b...@vim.org> " Contributors: Riley Bruins <ribr...@gmail.com> ('commentstring'), " @Konfekt @@ -85,6 +85,8 @@ if !exists("*" .. expand("<SID>") .. "Help") return ':'.topic elseif pre =~# '\<v:$' return 'v:'.topic + elseif pre =~# '\$' + return '/\'.topic elseif topic ==# 'v' && post =~# ':\w\+' return 'v'.matchstr(post, ':\w\+') else -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/vim_dev/E1tn164-00CnXY-OV%40256bit.org.