Closed (fixed)
Project:
Vim Plugin For Drupal
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
13 Nov 2012 at 20:33 UTC
Updated:
28 Nov 2012 at 18:20 UTC
Jump to comment: Most recent file
Now that we have committed #1735030: Drush command to create your own tags file. there are two follow-up tasks:
'tags' option to look in the Drupal root and project root directories (not in that order).Along with #2, check that we add to the 'tags' option and do not overwrite it.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | tag-menu-doc-1839772-2.patch | 9.22 KB | benjifisher |
| #1 | tag-option-1839772-1.patch | 1.75 KB | benjifisher |
| #1 | tag-menu-1839772-1.patch | 7.56 KB | benjifisher |
Comments
Comment #1
benjifisherThe second part was pretty easy. Already committed: 675b47e.
The second part was harder. In addition to adding menu items, I had to make some improvements to
drupal#CreateMaps(). In testing, I realized that replacing the path to the Drupal root directory with$DRUPAL_ROOTis a bad idea if you are actually creating a tags file for a single project, even though it is IMHO a great idea for packaging tags files with this project. So I added an option todrush vimrc-tag-genand disabled this feature by default. I also made some documentation corrections.Already committed: 67b5f31.
For the record, I have attached patches. I still have to document the changes before I close the issue.
Comment #2
benjifisherDocumentation added, both in
doc/drupal.txtand on-line: http://drupal.org/node/1840802. Already committed: a1a67ae.