Mercurial > vim-gutentags
comparison autoload/gutentags/ctags.vim @ 69:6900302dae0b
Merge pull request #28 from GitHub.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Thu, 16 Jul 2015 21:40:52 -0700 |
parents | 106757c129cb a14a788e3809 |
children | 661a97eaf608 |
comparison
equal
deleted
inserted
replaced
65:3ae6964078ab | 69:6900302dae0b |
---|---|
43 execute "chdir " . fnameescape(l:work_dir) | 43 execute "chdir " . fnameescape(l:work_dir) |
44 | 44 |
45 try | 45 try |
46 " Build the command line. | 46 " Build the command line. |
47 let l:cmd = gutentags#get_execute_cmd() . s:runner_exe | 47 let l:cmd = gutentags#get_execute_cmd() . s:runner_exe |
48 let l:cmd .= ' -e "' . g:gutentags_ctags_executable . '"' | 48 let l:cmd .= ' -e "' . gutentags#get_ctags_executable() . '"' |
49 let l:cmd .= ' -t "' . a:tags_file . '"' | 49 let l:cmd .= ' -t "' . a:tags_file . '"' |
50 let l:cmd .= ' -p "' . a:proj_dir . '"' | 50 let l:cmd .= ' -p "' . a:proj_dir . '"' |
51 if a:write_mode == 0 && filereadable(a:tags_file) | 51 if a:write_mode == 0 && filereadable(a:tags_file) |
52 let l:full_path = expand('%:p') | 52 let l:full_path = expand('%:p') |
53 let l:cmd .= ' -s "' . l:full_path . '"' | 53 let l:cmd .= ' -s "' . l:full_path . '"' |