You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add lua/pytrize/fzf.lua module that displays fixture usages in an
fzf-lua picker with preview and file actions (edit, split, vsplit, tab)
- Update usages.lua to dispatch to fzf-lua when preferred_input is set
to 'fzf-lua', with graceful fallback to quickfix
- Fix settings.lua to use a valid_keys lookup table so nil-defaulted
settings like preferred_input are not rejected as unknown
- Add test for fzf-lua fallback behavior
- Update README with fzf-lua documentation
-`no_commands` can be set to `true` and the commands `Pytrize` etc won't be declared.
104
104
-`highlight` defines the highlighting used for the virtual text.
105
105
-`metrics` when set to `true`, logs timing information via `vim.notify` after each jump-to-fixture and rename operation. Useful for understanding performance in large projects. The jump reports total time and index-build time; the rename reports total, grep, scoping (fixture resolution), and apply time.
106
-
-`preferred_input` which method to query input to prefer (if it's installed), see the [Input](#input)-section below.
106
+
-`preferred_input` which method to query input to prefer (if it's installed), see the [Input](#input)-section below. For fixture usages, setting this to `'fzf-lua'` will display results in an [`fzf-lua`](https://github.com/ibhagwan/fzf-lua) picker instead of the quickfix list.
If you trigger to jump to the declaration of the parameters in this case `pytrize` will find all files in the cache that matches this test-case id and if there is more than one ask you which one to jump to.
141
-
Currently three input methods are supported:
141
+
Currently four input methods are supported:
142
142
143
+
-[`fzf-lua`](https://github.com/ibhagwan/fzf-lua) — used for fixture usages when `preferred_input = 'fzf-lua'`. Results are shown in an fzf picker with preview, and you can open files with Enter, `ctrl-s` (split), `ctrl-v` (vsplit), or `ctrl-t` (tab).
0 commit comments