diff options
author | zeertzjq <zeertzjq@outlook.com> | 2025-03-06 19:40:47 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-06 19:40:47 +0800 |
commit | 9a02906c44f3980e33e83171b30bc83abba8052c (patch) | |
tree | 55835a34b37b7408c0ce4e68b4c648d1918580c0 | |
parent | baccb569dc8508af5bea521bd27800c478883b29 (diff) | |
download | rneovim-9a02906c44f3980e33e83171b30bc83abba8052c.tar.gz rneovim-9a02906c44f3980e33e83171b30bc83abba8052c.tar.bz2 rneovim-9a02906c44f3980e33e83171b30bc83abba8052c.zip |
vim-patch:08a410f: runtime(vim): recognize <...> strings (and keys) for 'keywordprg' (#32752)
see :help E499 and :h key-notation
closes: vim/vim#16795
https://github.com/vim/vim/commit/08a410f674a340f137623526bf8159d5a476f729
Co-authored-by: Konfekt <Konfekt@users.noreply.github.com>
-rw-r--r-- | runtime/ftplugin/vim.vim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/ftplugin/vim.vim b/runtime/ftplugin/vim.vim index 16730185c7..4772683ee8 100644 --- a/runtime/ftplugin/vim.vim +++ b/runtime/ftplugin/vim.vim @@ -1,7 +1,7 @@ " Vim filetype plugin " Language: Vim " Maintainer: Doug Kearns <dougkearns@gmail.com> -" Last Change: 2025 Feb 25 +" Last Change: 2025 Mar 05 " Former Maintainer: Bram Moolenaar <Bram@vim.org> " Contributors: Riley Bruins <ribru17@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 pre =~# '\\$' return '/\'.topic elseif topic ==# 'v' && post =~# ':\w\+' |