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. |
||
|---|---|---|
| .. | ||
| backends | ||
| controller.lua | ||
| controller_test.lua | ||
| libivy.lua | ||
| libivy_test.lua | ||
| matcher_test.lua | ||
| prompt.lua | ||
| prompt_test.lua | ||
| utils.lua | ||
| utils_escape_test.lua | ||
| utils_line_action_test.lua | ||
| utils_vimgrep_action_test.lua | ||
| vim_mock.lua | ||
| window.lua | ||
| window_test.lua | ||