runtime(vim): recognize <...> strings (and keys) for 'keywordprg'
Commit:
https://github.com/vim/vim/commit/08a410f674a340f137623526bf8159d5a476f729
Author: Konfekt <[email protected]>
Date: Wed Mar 5 20:33:00 2025 +0100
runtime(vim): recognize <...> strings (and keys) for 'keywordprg'
see :help E499 and :h key-notation
closes: #16795
Signed-off-by: Konfekt <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/ftplugin/vim.vim b/runtime/ftplugin/vim.vim
index cf6ced9f8..99ce0bc58 100644
--- a/runtime/ftplugin/vim.vim
+++ b/runtime/ftplugin/vim.vim
@@ -1,7 +1,7 @@
" Vim filetype plugin
" Language: Vim
" Maintainer: Doug Kearns <[email protected]>
-" Last Change: 2025 Feb 25
+" Last Change: 2025 Mar 05
" Former Maintainer: Bram Moolenaar <[email protected]>
" Contributors: Riley Bruins <[email protected]> ('commentstring'),
" @Konfekt
@@ -85,6 +85,8 @@ if !exists("*" .. expand("<SID>") .. "Help")
return ':'.topic
elseif pre =~# '\<v:$'
return 'v:'.topic
+ elseif pre =~# '<$'
+ return '<'.topic.'>'
elseif pre =~# '\$'
return '/\'.topic
elseif topic ==# 'v' && post =~# ':\w\+'
--
--
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 [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1tpufw-00AZv8-Ad%40256bit.org.