In a Markdown file with mapping gx.
Error detected while processing function <SNR>265_OpenUrlUnderCursor[3]..<SNR>265_VersionAwareNetrwBrowseX:
line 2:
E118: Too many arguments for function: netrw#BrowseX
E475: Invalid argument: messages
Markdown_OpenUrlUnderCursor:
I removed the second argument to BrowseX, and problem gone for me.
|
function! s:VersionAwareNetrwBrowseX(url) |
https://github.com/saccarosium/netrw.vim/blob/215cafe7c59bcddcd09a44c89d916c5407e179f7/autoload/netrw.vim#L4127
But it probably depends on the Netrw version.
VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Nov 12 2025 17:04:01)
In a Markdown file with mapping
gx.Markdown_OpenUrlUnderCursor:
I removed the second argument to BrowseX, and problem gone for me.
vim-polyglot/ftplugin/markdown.vim
Line 727 in f061edd
https://github.com/saccarosium/netrw.vim/blob/215cafe7c59bcddcd09a44c89d916c5407e179f7/autoload/netrw.vim#L4127
But it probably depends on the Netrw version.
VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Nov 12 2025 17:04:01)