We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expected behavior:
I keep my configuration files on GitLab, and sync across systems. Thus I have a
/home/my_username/island/dot-files/vim/UltiSnips/
folder, which contains
tex.snippets text.snippets ...
if I symlink this folder into ~/.vim/,
$ file ~/.vim/UltiSnips /home/my_username/.vim/UltiSnips: symbolic link to /home/my_username/island/dot-files/vim/UltiSnips
it is not processed correctly.
Actual behavior:
$ vim /tmp/a.txt :UltiSnipsEdit
I get
UltiSnips was not able to find a default directory for snippets. Do you have a .vim directory? Try :UltiSnipsEdit! instead of :UltiSnipsEdit.
Workaround I found
if I create a regular folder
/home/my_username/.vim/UltiSnips/
and symlink files
tex.snippets, text.snippets, ...
there,
then everythng works as expected.
Steps to reproduce
The text was updated successfully, but these errors were encountered:
Some workaround (assuming an installation with vim-plug - normally in .vim/plugged):
.vim/plugged
fun Snip(folder, cmd) if a:cmd == 'view' " https://github.com/honza/vim-snippets let prefix = 'plugged/vim-snippets/' else let prefix = '' endif exe a:cmd '~/.vim/' . prefix . a:folder . '/' . &filetype . '.snippets' endf command SnipViewUltiSnips call Snip('UltiSnips', 'view') command SnipViewSnipMate call Snip('snippets', 'view') command SnipEditUltiSnips call Snip('UltiSnips', 'edit') nnoremap <Leader>,s :SnipEditUltiSnips<CR>
Sorry, something went wrong.
No branches or pull requests
Expected behavior:
I keep my configuration files on GitLab, and sync across systems. Thus I have a
folder, which contains
if I symlink this folder into ~/.vim/,
it is not processed correctly.
Actual behavior:
I get
Workaround I found
if I create a regular folder
and symlink files
there,
then everythng works as expected.
Steps to reproduce
Included patches: 1-2269, 3612, 3625, 3669, 3741
The text was updated successfully, but these errors were encountered: