summaryrefslogtreecommitdiffstatshomepage
path: root/test/functional/lua/inspector_spec.lua
AgeCommit message (Collapse)AuthorFiles
2025-03-18fix(lua): ensure inspect_pos() only shows visible highlight extmarksLuuk van Baal1
Problem: Unpaired marks are shown with `filter.extmarks == true`, which should only return visible highlights. Misleading `end_col` included in `inspect_pos()` for unpaired mark; it is set to `start_col + 1` which would be a visible highlight, which it is not. Custom "is_here" filter used to get extmarks overlapping a position. Solution: Exclude unpaired highlight extmarks with `filter.extmarks == true`. Set `end_col` to `start_col` for an unpaired mark. Supply appropriate arguments to nvim_buf_get_extmarks() to return overlapping extmarks; exclude marks whose end is at `{row, col}` with `filter.extmarks == true`.
2025-03-07feat(defaults): jump between :terminal shell prompts with ]]/[[ #32736Gregory Anders1
2024-09-21test: support upvalues in exec_luaLewis Russell1
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-01-03refactor: format test/*Justin M. Keyes1
2023-05-21refactor(options): deprecate nvim[_buf|_win]_[gs]et_optionLewis Russell1
Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: famiu <famiuhaque@protonmail.com>
2023-04-16fix(lua): inspect_pos respect bufnr when get syntax info (#23098)Raphael1
2023-04-02refactor(lua): get all marks instead of iterating over namespacesLuuk van Baal1
Inspector now also includes highlights set in anonymous namespaces. Close #22732
2022-12-17feat: `vim.inspect_pos`, `vim.show_pos`, `:Inspect`Folke Lemaitre1