summaryrefslogtreecommitdiffstatshomepage
path: root/test/functional/lua/uri_spec.lua
AgeCommit message (Collapse)AuthorFiles
2026-01-28fix(tui): log chdir failure properly #37591zeertzjq1
2024-12-11fix(uri): uri_encode encodes brackets incorrectly for RFC2732 #31284Jonny Kong1
**Problem:** The brackets in the RFC2732 regular expression are currently unescaped, causing them to be misinterpreted as special characters denoting character groups rather than as literal characters. **Solution:** Escape the brackets. Fix #31270
2024-09-09refactor(test): rename alter_slashes, invert its behaviorJustin M. Keyes1
- `alter_slashes` belongs in `testutil.lua`, not `testnvim.lua`. - `alter_slashes` is an unusual name. Rename it to `fix_slashes`. - invert its behavior, to emphasize that `/` slashes are the preferred, pervasive convention, not `\` slashes.
2024-04-23test: improve test conventionsdundargoc1
Specifically, functions that are run in the context of the test runner are put in module `test/testutil.lua` while the functions that are run in the context of the test session are put in `test/functional/testnvim.lua`. Closes https://github.com/neovim/neovim/issues/27004.
2024-04-10refactor(test): inject after_each differentlyLewis Russell1
2024-04-08test: improve test conventionsdundargoc1
Work on https://github.com/neovim/neovim/issues/27004.
2024-02-28fix(lua): remove uri fragment from file paths (#27647)Ilia Choly1
Problem: Some LSP servers return `textDocument/documentLink` responses containing file URIs with line/column numbers in the fragment. `vim.uri_to_fname` returns invalid file names for these URIs. Solution: Remove the URI fragment from file URIs.
2024-01-03refactor: format test/*Justin M. Keyes1
2022-11-22test: simplify platform detection (#21020)dundargoc1
Extend the capabilities of is_os to detect more platforms such as freebsd and openbsd. Also remove `iswin()` helper function as it can be replaced by `is_os("win")`.
2022-11-13test: introduce skip() #21010dundargoc1
This is essentially a convenience wrapper around the `pending()` function, similar to `skip_fragile()` but more general-purpose. Also remove `pending_win32` function as it can be replaced by `skip(iswin())`.
2022-09-30docs: fix typos (#20394)dundargoc1
Co-authored-by: Raphael <glephunter@gmail.com> Co-authored-by: smjonas <jonas.strittmatter@gmx.de> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
2022-01-29chore: typo fixes (#16921)dundargoc1
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
2021-12-26fix(uri): change scheme pattern to not include the comma character (#16797)Dmytro Meleshko1
2021-11-19vim-patch:8.2.3468: problem with :cd when editing file in non-existent directoryzeertzjq1
Problem: Problem with :cd when editing file in non-existent directory. (Yee Cheng Chin) Solution: Prepend the current directory to get the full path. (closes vim/vim#8903) https://github.com/vim/vim/commit/c6376c798433bcb9ee38a8664299d11454546950
2021-10-15fix: correctly capture uri scheme on windows (#16027)Michael Lingelbach1
closes https://github.com/neovim/neovim/issues/15261 * normalize uri path to forward slashes on windows * use a capture group on windows that avoids mistaking drive letters as uri scheme
2021-07-10feat(vim.uri): Allow URI schemes other than file: without authorityTom Payne1
2021-07-10test(lsp): file URIs without a hostnameAlessandro Pezzoni1
2020-05-22Change uri_to_fname to not convert non-file URIs (#12351)Mathias Fußenegger1
* Change uri_to_fname to not convert non-file URIs A URI with a scheme other than file doesn't have a local file path. * fixup! Change uri_to_fname to not convert non-file URIs * fixup! fixup! Change uri_to_fname to not convert non-file URIs
2020-05-04LSP: Avoid URI-to-fname conversion for non-file URIs #12243Mathias Fußenegger1
Fixes https://github.com/neovim/neovim/issues/12210
2020-03-30vim.uri: fix uri_to_fname (#12059)Hirokazu Hata1
fix: #12056 If the colon of the drive letter of windows is URI encoded, it doesn't match the expected pattern, so decode it first.
2019-11-13lua LSP client: initial implementation (#11336)Ashkan Kiani1
Mainly configuration and RPC infrastructure can be considered "done". Specific requests and their callbacks will be improved later (and also served by plugins). There are also some TODO:s for the client itself, like incremental updates. Co-authored by at-tjdevries and at-h-michael, with many review/suggestion contributions.