Skip to content

Conversation

@tanarurkerem
Copy link

Hi,

You made a great work. I suggest some modifications.
I made some changes for better usage:

  • dropped drupal snippets to a different file (see snippets/drupal.snippets)
  • added drupal snippets to php scope
  • set filetype to php for Drupal files (.module, .test, .install etc)

See README for installation instructions.

pp

@technosophos
Copy link

I would suggest renaming drupal.snippets to php-drupal.snippets, which follows an (undocumented) pattern in snipMate, where text before the hyphen is assumed to be a language, and after the hyphen is assumed to be a specifier.

This has the desirable effect of automatically detecting that this is syntax for the PHP language (no special configuration is needed).

I'll give this a try in my own fork and generate a pull.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants