Jump to content

.module extension?


Recommended Posts

8 hours ago, Robin S said:

You can also name your files ModuleName.module.php if you like.

So blindingly obvious/likely that I completely failed to try it ☺️

8 hours ago, netcarver said:

Try adding...


au BufRead,BufNewFile *.module set filetype=php

at the end of your .vimrc file and re-launch vim.

Cool - thanks for encouraging my laziness. I'll go and give that a try!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...