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?

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.

| improve this answer | |
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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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