Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Cleans tags, updates help docs and README

  • Loading branch information...
commit 84e3a287c48c5a17f2078d8b5ec0f6644d353393 1 parent bec0825
@agileadam authored
Showing with 14 additions and 13 deletions.
  1. +7 −4 README
  2. +1 −1  autoload/drupal6complete.vim
  3. +6 −8 doc/drupal6complete.txt
View
11 README
@@ -1,5 +1,8 @@
-1) Extract the files into the same directories under your ~/.vim/ directory.
-2) Open vim and run this command: :helptags ~/.vim/doc
-3) Run this command: :help drupal6complete-intro
+1) Extract the files into the appropriate directories in
+ your vim home directory (usually ~/.vim/)
-Enjoy!
+2) Open vim and generate the helptags
+ :helptags ~/.vim/doc
+
+3) Please READ the help docs to learn how to set up the plugin.
+ :help drupal6complete-intro
View
2  autoload/drupal6complete.vim
@@ -930,7 +930,7 @@ function! drupal6complete#GetKeywords()
\ ["drupal_get_content","includes/common.inc","function drupal_get_content($region = NULL, $delimiter = ' ') {","f"],
\ ["drupal_get_css","includes/common.inc","function drupal_get_css($css = NULL) {","f"],
\ ["drupal_get_destination","includes/common.inc","function drupal_get_destination() {","f"],
- \ ["drupal_get_feeds","includes/common.inc","function drupal_get_feeds($delimiter = '\\n') {","<-- *** REPLACE with double quotes ***","f"],
+ \ ["drupal_get_feeds","includes/common.inc","function drupal_get_feeds($delimiter = \"\\n\") {","f"],
\ ["drupal_get_filename","includes/bootstrap.inc","function drupal_get_filename($type, $name, $filename = NULL) {","f"],
\ ["drupal_get_form","includes/form.inc","function drupal_get_form($form_id) {","f"],
\ ["drupal_get_headers","includes/common.inc","function drupal_get_headers() {","f"],
View
14 doc/drupal6complete.txt
@@ -81,7 +81,7 @@ Advanced example (Drupal core with a specific few modules) >
<
After running the ctags command and checking the resulting file for
-double-quotes (and replacing them with single quotes), these commands will
+double-quotes (and escaping them), these commands will
clean up the tags, and put them into "list" form. >
:%s/\t\/\^/\t/g
:%s/\$\/;"//g
@@ -89,16 +89,14 @@ clean up the tags, and put them into "list" form. >
:%s/\t/","/g
:%s/$/"],
<
-Be very careful about the double-quotes. If there are ANY double quotes within
-any of the strings, there will be a problem. On occasion, you may not be able
-to replace the double-quotes with singles. If this is the case, just wipe out
-the string and replace with something like "*** SEE includes/xyz.module *** to
-let the user know where to look. This has only happened on 2 occasions in the
-core Drupal6 list that is the default for this module.
+Be very careful about the double-quotes. If there are ANY double-quotes within
+any of the strings, there will be a problem. If you have trouble escaping the
+double-quotes, just wipe out the string and replace with something like
+*** See path/to/xyz.module *** to let the user know where to look.
After you have your nicely formatted tags, you can use the list items in the
plugin. Note that the list will not be automatically sorted for various
-reasons. Try to keep your tags in order if you modify the tags list within the
+reasons. Keep the tags in order if you modify the tags list within the
plugin.
vim:tw=78:ts=8:ft=help:norl:
Please sign in to comment.
Something went wrong with that request. Please try again.