ivy.nvim/lua/ivy
Ade Attwood cf3e7e3044 fix: opening file with square brackets in them
Summary:

Fixes an issue where you could not open files that were already open with ivy.
If the file path contains a square brackets and that file is already loaded
into a buffer, ivy will throw an error when trying to open it via "files" or
"buffers".

This is an issue with the file escaping before we try and cal `buffer` passing
in the file path to go to the buffer rather than open a new buffer.

This is common with JS frameworks like next js for parameters in file based
routing.

Test Plan:

Test have been added for this change. I have also added tests for the dollar
that was previously handled.
2024-02-13 09:27:09 +00:00
..
backends feat: add ripgrep backend 2023-05-23 09:24:36 +01:00
controller.lua feat: add the paste functionality into the ivy prompt 2023-06-13 01:19:24 -07:00
controller_test.lua fix: exscpe test when passing it to vim syntax match 2022-10-06 07:57:57 +01:00
libivy.lua perf: add lua iteration to decrease loops in lua 2023-12-02 16:40:58 +00:00
libivy_test.lua perf: add lua iteration to decrease loops in lua 2023-12-02 16:40:58 +00:00
matcher_test.lua feat: move to fts fuzzy match with some modifications 2022-08-25 20:14:12 +01:00
prompt.lua feat: make delete word in promp work more like bash 2023-01-07 13:49:36 +00:00
prompt_test.lua feat: make delete word in promp work more like bash 2023-01-07 13:49:36 +00:00
utils.lua fix: opening file with square brackets in them 2024-02-13 09:27:09 +00:00
utils_escape_test.lua fix: opening file with square brackets in them 2024-02-13 09:27:09 +00:00
utils_line_action_test.lua feat: add vsplit and split actions 2022-09-07 21:19:33 +01:00
utils_vimgrep_action_test.lua feat: add vsplit and split actions 2022-09-07 21:19:33 +01:00
vim_mock.lua fix: opening terminal buffers 2023-04-26 07:26:12 +01:00
window.lua perf: add lua iteration to decrease loops in lua 2023-12-02 16:40:58 +00:00
window_test.lua perf: add lua iteration to decrease loops in lua 2023-12-02 16:40:58 +00:00