Mercurial > vim-gutentags
changeset 180:8bac4b955c84
Merge pull request #117 from GitHub.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Thu, 23 Mar 2017 16:00:24 -0700 |
parents | 3d7f2bf017fd (diff) 411f3fa915f5 (current diff) |
children | 0b4ccd0deceb |
files | autoload/gutentags.vim |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/autoload/gutentags.vim Mon Mar 13 12:07:21 2017 -0300 +++ b/autoload/gutentags.vim Thu Mar 23 16:00:24 2017 -0700 @@ -147,7 +147,7 @@ endif while l:path != l:previous_path for root in l:markers - if !empty(globpath(l:path, root)) + if !empty(globpath(l:path, root, 1)) let l:proj_dir = simplify(fnamemodify(l:path, ':p')) let l:proj_dir = gutentags#stripslash(l:proj_dir) if l:proj_dir == ''
--- a/plat/unix/update_tags.sh Mon Mar 13 12:07:21 2017 -0300 +++ b/plat/unix/update_tags.sh Thu Mar 23 16:00:24 2017 -0700 @@ -104,10 +104,10 @@ if [ $INDEX_WHOLE_PROJECT -eq 1 ]; then if [ -n "${FILE_LIST_CMD}" ]; then if [ "${PROJECT_ROOT}" = "." ] || [ $FILE_LIST_CMD_IS_ABSOLUTE -eq 1 ]; then - $FILE_LIST_CMD > "${TAGS_FILE}.files" + eval $FILE_LIST_CMD > "${TAGS_FILE}.files" else # If using a tags cache directory, use absolute paths - $FILE_LIST_CMD | while read -r l; do + eval $FILE_LIST_CMD | while read -r l; do echo "${PROJECT_ROOT%/}/${l}" done > "${TAGS_FILE}.files" fi