Now that we have committed #1735030: Drush command to create your own tags file. there are two follow-up tasks:

  1. Add a menu item to invoke the drush command from vim.
  2. Adjust the '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.

Comments

benjifisher’s picture

StatusFileSize
new7.56 KB
new1.75 KB

The 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_ROOT is 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 to drush vimrc-tag-gen and 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.

benjifisher’s picture

Status: Active » Fixed
StatusFileSize
new9.22 KB

Documentation added, both in doc/drupal.txt and on-line: http://drupal.org/node/1840802. Already committed: a1a67ae.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.