Mercurial > vim-gutentags
changeset 151:1d7ce0d69261
Set default l:proj_options with empty string
author | Mark Wu <wuhsinyee@hotmail.com> |
---|---|
date | Mon, 16 May 2016 01:48:56 +0800 |
parents | a2b75536fb7d |
children | a876a0df4008 |
files | autoload/gutentags/gtags_cscope.vim |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/autoload/gutentags/gtags_cscope.vim Mon May 16 01:43:21 2016 +0800 +++ b/autoload/gutentags/gtags_cscope.vim Mon May 16 01:48:56 2016 +0800 @@ -79,9 +79,10 @@ " have to be set let l:proj_options_file = a:proj_dir . '/' . g:gutentags_gtags_options_file + let l:proj_options = '' if filereadable(l:proj_options_file) let l:lines = readfile(l:proj_options_file) - let l:proj_options = join(l:lines, ' ') + let l:proj_options .= join(l:lines, ' ') endif let l:cmd .= ' PWD=' . a:proj_dir