Hello!
With a fairly simple setup defining my snippetDir to be relative to my home directory: ~/.config/nvim/snippets/ the snippet directory is not found.
Instead, when I go to use or edit a snippet it auto creates a ~/.config/nvim/snippets directory structure inside the current folder.
Expected behavior
The path is expanded so ~ results in my users home folder, leading the plugin to the same folder used for my custom snippets. LuaSnip successfully expands and uses the correct snippets.
Relevant Screenshot
No response
To Reproduce
Create a snippets folder in a ~/subdirectory/snippets
Set this folder as your snippetsDir
Open a different folder, say ~/code/some-project
See that nvim-scissors doesn't find your snippets and instead creates a ~/subdirectory/snippets folder in the cwd when trying to use it.
Carefully remove the newly created ~ folder with ./~, ensuring you do not accidentally rm ~ and delete your user folder.
neovim version
NVIM v0.9.5
Make sure you have done the following
[X] I have updated to the latest version of the plugin.
Bug Description
Hello! With a fairly simple setup defining my
snippetDir
to be relative to my home directory:~/.config/nvim/snippets/
the snippet directory is not found.Instead, when I go to use or edit a snippet it auto creates a
~/.config/nvim/snippets
directory structure inside the current folder.Expected behavior
The path is expanded so
~
results in my users home folder, leading the plugin to the same folder used for my custom snippets. LuaSnip successfully expands and uses the correct snippets.Relevant Screenshot
No response
To Reproduce
~/subdirectory/snippets
snippetsDir
~/code/some-project
~/subdirectory/snippets
folder in the cwd when trying to use it.~
folder with./~
, ensuring you do not accidentally rm~
and delete your user folder.neovim version
Make sure you have done the following