Emacs yet another snippet extension php-mode

331 Views Asked by At

I'm new to using emacs, and I am currently having some trouble with the 'yet another snippet' extension.

I am trying to do some work using the php-mode major mode. Unfortunately, it is based on the cc-mode, which means the snippet extension is looking at the C and PHP snippets.

Is there any way to just load the PHP snippets instead of loading them from both C and PHP?

1

There are 1 best solutions below

0
On

the docs indicate placing an empty .yas-parents file into the php-mode snippet directory works.