diff options
author | zeertzjq <zeertzjq@outlook.com> | 2025-02-26 07:31:30 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2025-02-26 07:31:49 +0800 |
commit | 9c43e5cd4ae7dc82a6732793a01a1fa1e5b2b2ef (patch) | |
tree | 7d3ce616176e469b53c16d16a6f6143743b43e48 | |
parent | 6db439ff01319048fc23401fd7fbfba7d00a7c03 (diff) | |
download | rneovim-9c43e5cd4ae7dc82a6732793a01a1fa1e5b2b2ef.tar.gz rneovim-9c43e5cd4ae7dc82a6732793a01a1fa1e5b2b2ef.tar.bz2 rneovim-9c43e5cd4ae7dc82a6732793a01a1fa1e5b2b2ef.zip |
vim-patch:580e457: runtime(vim): make VimKeywordPrg even smarter for regexes
closes: vim/vim#16729
https://github.com/vim/vim/commit/580e457a2a5fa63b9be0bf5f2c81434e157bcc0a
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 9fa415daa4..16730185c7 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 23 +" Last Change: 2025 Feb 25 " 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 topic ==# 'v' && post =~# ':\w\+' return 'v'.matchstr(post, ':\w\+') else |