Skip to content
New issue

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

Private snippets are only loaded after manually executing yas-reload-all #1830

Closed
hafenr opened this issue Jun 3, 2015 · 1 comment
Closed

Comments

@hafenr
Copy link

hafenr commented Jun 3, 2015

So here's the problem:

I created some snippets for javascript and python in the private dir, like so:

 private/
   angularjs/
   snippets/
     js-mode/
       beforeEach
       describe
       describeMidway
       it
       test
       wrapperFunction
     python-mode/
     README.md
   README.md

Now if I open a javascript or python file, the snippets won't show up. If I execute yas-reload-all from within the buffer, they do show up though and I can insert them.

The content of my yas-snippets-dirs variable:

("/Users/hafenr/.emacs.d/private/snippets/" "/Users/hafenr/.emacs.d/private/angularjs/angularjs-mode/snippets" "~/.emacs.d/snippets" yas-installed-snippets-dir)
@duerrp
Copy link
Contributor

duerrp commented Jun 9, 2015

Same here...

Btw., thanks for the great work! Spacemacs is fantastic!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants