aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/keymap.lua
diff options
context:
space:
mode:
authorChip Senkbeil <chip.senkbeil@gmail.com>2025-11-15 15:40:01 -0600
committerGitHub <noreply@github.com>2025-11-15 13:40:01 -0800
commitc123b7245c438fea5dda4aa26aa06b4c161191de (patch)
tree9231384ebc85aafc0c5b2b236ed02b53458374de /runtime/lua/vim/keymap.lua
parentb3c099b1dd92f8bd310c23cd0e2f8e5a87a24acf (diff)
downloadrneovim-c123b7245c438fea5dda4aa26aa06b4c161191de.tar.gz
rneovim-c123b7245c438fea5dda4aa26aa06b4c161191de.tar.bz2
rneovim-c123b7245c438fea5dda4aa26aa06b4c161191de.zip
refactor(path)!: support RFC3986 in path_with_url() #36564
Problem: Nvim does not recognize URI scheme with numeric characters. While rare, there are URIs that contain numbers (e.g. [ed2k://](https://en.wikipedia.org/wiki/Ed2k_URI_scheme)) and characters like `+` (e.g. `svn+ssh`). I use it in [distant.nvim](https://github.com/chipsenkbeil/distant.nvim) to support multiple, distinct connections using `distant+1234://` as the scheme. Otherwise, if you open a file with the same name & path on two different machines from the same Nvim instance, their buffer names will conflict when just using `distant://`. Solution: Adds full support for detecting URI scheme per [RFC3986](https://www.rfc-editor.org/rfc/rfc3986#section-3.1)
Diffstat (limited to 'runtime/lua/vim/keymap.lua')
0 files changed, 0 insertions, 0 deletions