diff --git a/pythonx/UltiSnips/snippet_manager.py b/pythonx/UltiSnips/snippet_manager.py index 86a3d65..44db2b9 100644 --- a/pythonx/UltiSnips/snippet_manager.py +++ b/pythonx/UltiSnips/snippet_manager.py @@ -524,7 +524,8 @@ class SnippetManager(object): if bang: potentials.update(find_all_snippet_files(ft)) - potentials = set(os.path.realpath(p) for p in potentials) + potentials = set(os.path.realpath(os.path.expanduser(p)) + for p in potentials) if len(potentials) > 1: files = sorted(potentials)