Files
neovim/runtime/lua/vim
Justin M. Keyes 5a37eb7a49 feat(lua): vim.uri #24527
Problem:
- `vim.fs.abspath('fugitive:///a')` returns "<CWD>/fugitive:/a", so
  filetype functions get a mangled path for URI buffers.
- `vim.fs.root()` doesn't accept "file://" URIs.
- No URI parser, so modules use ad-hoc scheme patterns, e.g.
  `vim.ui.open('~/a:b')` treats the path as a URL.

Solution:
- Introduce `vim.uri.parse()`, and use it everywhere.
  - DWIM: a one-letter "scheme" is a drive letter.
- `vim.fs.abspath()` returns URLs as-is.
- Expose `vim.uri` a module. Deprecate the old `vim.uri_xx()` names.
2026-11-01 13:20:08 -05:00
..
2026-11-01 13:20:08 -05:00
2026-11-01 13:20:08 -05:00
2026-11-01 13:20:08 -05:00
2026-11-01 13:20:08 -05:00
2026-11-01 13:20:08 -05:00
2026-11-01 13:20:08 -05:00
2026-11-01 13:20:08 -05:00
2026-11-01 13:20:08 -05:00
2026-11-01 13:20:08 -05:00
2026-11-01 13:20:08 -05:00
2026-11-01 13:20:08 -05:00
2026-10-12 07:45:19 -04:00
2026-11-01 13:20:08 -05:00
2026-11-01 13:20:08 -05:00
2026-09-08 16:50:53 +01:00
2026-11-01 13:20:08 -05:00
2026-11-01 13:20:08 -05:00