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

Can't create snippets under special characters #15

Open
joereynolds opened this issue Jul 31, 2017 · 2 comments
Open

Can't create snippets under special characters #15

joereynolds opened this issue Jul 31, 2017 · 2 comments

Comments

@joereynolds
Copy link

If we have a file named _php_$ and we try and type $<tab>, it does not expand.
It seems (from my basic use of it) that it only works on characters [a-z]?

@LemonBoy
Copy link
Contributor

LemonBoy commented Sep 8, 2017

The pattern on this line [1] should be modified by replacing \w with \f, after all we're building a path to the snippet file.

[1] https://github.com/KeyboardFire/vim-minisnip/blob/master/plugin/vim-minisnip.vim#L14

@joereynolds
Copy link
Author

FYI this is fixed in my fork

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

Successfully merging a pull request may close this issue.

2 participants