From 721ba8498b461873869803c63e5ca6a9d54f7cf3 Mon Sep 17 00:00:00 2001 From: Josh King Date: Thu, 5 Jan 2012 23:11:00 -0800 Subject: [PATCH] Patch from @mexpolk to fix doc file to be able to call pathogen#helptags() Fixes the following error: Error detected while processing function pathogen#helptags: line 3: E154: Duplicate tag "/MyProjectDir/" in file /Users/jking/.vim/bundle/dbext/doc/dbext.txt --- doc/dbext.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/dbext.txt b/doc/dbext.txt index 7ecaa91..1ad5fb8 100644 --- a/doc/dbext.txt +++ b/doc/dbext.txt @@ -2985,12 +2985,12 @@ To specify the type of database you connect to most often, you can place the a file somewhere under a directory called MyProjectDir. If so, it sets dbext's current variable_def_regex for this buffer. This |autocmd| can be added to your |.vimrc|: > - autocmd BufRead */MyProjectDir/* DBSetOption variable_def_regex=\<\(p_\|lv_\)\w\+\> + autocmd BufRead /MyProjectDir/ DBSetOption variable_def_regex=\<\(p_\|lv_\)\w\+\> < Or if you simply wanted to extended the existing defaults, you can retrieve the existing setting using dbext's DB_listOption function and concatenate the new regex separated by a comma: > - autocmd BufRead */MyProjectDir/* DBSetOption variable_def_regex=,\<\(p_\|lv_\)\w\+\> + autocmd BufRead /MyProjectDir/ DBSetOption variable_def_regex=,\<\(p_\|lv_\)\w\+\> <