0

I want to enable html snippets for php files. The Ultisnips manual said what I need to do is put extends html command at the beginning of the php.snippets file. But it doesn't work. HTML snippets still aren't showing up. How do I extend it properly?

2 Answers 2

4

It's difficult to point out where your problem is, since you didn't really describe what exactly you did; but this is how I added a custom PHP snippet file:

See :help UltiSnips-adding-snippets for more information.

0

You did the opposite. You should have written extends php in your html.snippets file. Then you can open a myfile.php and start using html snippets.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.