Opened 13 years ago
Last modified 7 years ago
#29818 new enhancement
Add vim info to apache2 port
Reported by: | singingwolfboy@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | Schamschula (Marius Schamschula), pixilla (Bradley Giesbrecht) | |
Port: | apache2 |
Description
Since we install files to /opt/local, Vim isn't aware that some of our apache config files are, in fact, apache config files. I've included a patch to make the apache2 port install a file to tell Vim where its configs are.
Attachments (1)
Change History (5)
Changed 13 years ago by singingwolfboy@…
Attachment: | apache2-vim.patch added |
---|
comment:1 Changed 13 years ago by singingwolfboy@…
comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
I'm not overly familiar with vim, but I guess I'm surprised that any text editor would be expected to know, out of the box, the locations of your config files.
comment:3 Changed 13 years ago by singingwolfboy@…
It's for syntax highlighting purposes. Vim knows that files that end in .conf are configuration files, and can highlight accordingly. But .conf files that live in /etc/apache/conf and /etc/apache/conf.d and considered special apache configuration files, and get more specific and useful syntax highlighting. This simply says that the .conf files we install for the apache2 port should be considered to be these special apache configuration files, and get the more useful highlighting.
It's a very minor enhancement, but I would find it useful. :)
comment:4 Changed 7 years ago by jmroot (Joshua Root)
Cc: | Schamschula pixilla added |
---|
I just realized we'll probably have to create that directory tree before writing a file to that location -- this patch is untested. :)