Justin Wood
Justin Wood

Reputation: 10061

Emacs yet another snippet extension php-mode

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?

Upvotes: 2

Views: 319

Answers (1)

event_jr
event_jr

Reputation: 17707

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

Upvotes: 1

Related Questions