diff options
| author | João Bettencourt <joao.d.bettencourt@tecnico.ulisboa.pt> | 2025-04-15 14:27:51 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-15 06:27:51 -0700 |
| commit | 5333d6371bfa2fe048e5d99e0e843657b3b0e33f (patch) | |
| tree | da6735f59f4166c50c1affb5f3592cd11bf1bbc0 /runtime/lua/_vim9script.lua | |
| parent | 07b33c326697df0fd922053215fb546de5c4f1b1 (diff) | |
| download | rneovim-5333d6371bfa2fe048e5d99e0e843657b3b0e33f.tar.gz rneovim-5333d6371bfa2fe048e5d99e0e843657b3b0e33f.tar.bz2 rneovim-5333d6371bfa2fe048e5d99e0e843657b3b0e33f.zip | |
fix(man.lua): E95 when piping to :Man #33068
Problem: When piping raw manpage content into `:Man!`, buf name is
set to 'man://.. ref', but the check only matches the prefix.
Allows duplicate buffers to be created, triggering E95.
Solution: Match full buf name instead of only 'man://' prefix.
If the buffer already exists, generate a unique name with
'man://' .. 'ref' .. '?new=' format.
Refs: #30132
Diffstat (limited to 'runtime/lua/_vim9script.lua')
0 files changed, 0 insertions, 0 deletions