snippets
snippets copied to clipboard
Symlinking personal directory in snippets directory doesnt allow snippets to be run
If you create a symlink in the snipets directory to some other directory, the editor will show the snippets in the symlinked dir, but you can't execute any of them (no error shown either). Issue is that the includeWalk uses os.walk which by default doesn't follow symlinks, ie.:
https://github.com/Vector35/snippets/blob/ceb917b3f4cb895d186691beff3740d9b17b8eb9/init.py#L66
changing that to: os.walk(dir, followlinks=True) will fix this.