php-auto-yasnippets
php-auto-yasnippets copied to clipboard
Dynamically Generated YASnippets for PHP Code in GNU Emacs
It looks like somehow, `(thing-at-point 'sexp)` is returning `nil` when I call `(yas/create-php-snippet)` inside a class method. If I bring the cursor out of the method, then the function works...
When I add `(payas/ac-setup)` to my config, I get: ``` Debugger entered--Lisp error: (void-variable php-auto-yasnippets) payas/ac-setup() eval((payas/ac-setup) nil) eval-last-sexp-1(nil) eval-last-sexp(nil) call-interactively(eval-last-sexp nil nil) command-execute(eval-last-sexp) ``` Is this working for others?
Following the guide for getting user-defined functions via Composer to work. I have created a .dir-locals.el file at the root of the project with the following content. ((php-mode . ((php-auto-yasnippet-required-files...
When loading php-auto-yasnippets with my normal .emacs I get the above errors - "backtrace1" below if using M-x yas/create-php-snippet (I get `wrong-type-argument stringp nil`) - "backtrace2" below if using the...
I installed your package following the README. When I type 'preg_match' in a php file and they type 'C-c C-y', I get this error: split-string: Wrong type argument: stringp, nil...