problems displaying snippets using variables with `--- --no-sort`
tkossak opened this issue · 1 comments
tkossak commented
Describe the bug
Snippet that uses variable with --- --no-sort
, doesn't work properly. Maybe navi has problems parsing fzf parameters containing single dash?
To Reproduce
Install this cheat file:
% test
$ a: echo "123" --- --no-sort
# test
echo <a>
Now start navi, write search query "test" and observe that above snippet is not displayed at all. But if you remove --no-sort
from above file, then "test" is properly displayed by navi
Expected behavior
"test" snippet should be displayed properly when I search for it using navi.
Versions:
- OS: Linux Manjaro
- Shell Version: GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)
- navi 2.22.1
welcome commented
Thanks for opening your first issue here! In case you're facing a bug, please update navi to the latest version first. Maybe the bug is already solved! :)