Mercurial > vim-gutentags
comparison autoload/gutentags.vim @ 147:d566ec6cd2f7
Merge changes.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sat, 26 Nov 2016 16:33:41 -0800 |
parents | 7bc4df0225d1 3459a2522a3b |
children | b178f2251982 |
comparison
equal
deleted
inserted
replaced
145:3f15dabaa9f4 | 147:d566ec6cd2f7 |
---|---|
102 endfunction | 102 endfunction |
103 | 103 |
104 " Finds the first directory with a project marker by walking up from the given | 104 " Finds the first directory with a project marker by walking up from the given |
105 " file path. | 105 " file path. |
106 function! gutentags#get_project_root(path) abort | 106 function! gutentags#get_project_root(path) abort |
107 if g:gutentags_project_root_finder | 107 if g:gutentags_project_root_finder != '' |
108 return call(g:gutentags_project_root_finder, [a:path]) | 108 return call(g:gutentags_project_root_finder, [a:path]) |
109 endif | 109 endif |
110 | 110 |
111 let l:path = gutentags#stripslash(a:path) | 111 let l:path = gutentags#stripslash(a:path) |
112 let l:previous_path = "" | 112 let l:previous_path = "" |