2

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 Answer 1

1

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.