Mercurial > vim-gutentags
comparison autoload/gutentags.vim @ 75:d12543f11eb9
Move the default `-R` option to an overridable "global" options file.
This makes it possible for a `.gutctags` file to disable the `-R` flag.
Also fixes Github issue #33.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Mon, 27 Jul 2015 14:18:10 -0700 |
parents | 661a97eaf608 |
children | 51c1a57811b3 |
comparison
equal
deleted
inserted
replaced
74:cb1cf815052e | 75:d12543f11eb9 |
---|---|
42 endfunction | 42 endfunction |
43 | 43 |
44 " Gets a file path in the correct `plat` folder. | 44 " Gets a file path in the correct `plat` folder. |
45 function! gutentags#get_plat_file(filename) abort | 45 function! gutentags#get_plat_file(filename) abort |
46 return g:gutentags_plat_dir . a:filename . g:gutentags_script_ext | 46 return g:gutentags_plat_dir . a:filename . g:gutentags_script_ext |
47 endfunction | |
48 | |
49 " Gets a file path in the resource folder. | |
50 function! gutentags#get_res_file(filename) abort | |
51 return g:gutentags_res_dir . a:filename | |
47 endfunction | 52 endfunction |
48 | 53 |
49 " }}} | 54 " }}} |
50 | 55 |
51 " Gutentags Setup {{{ | 56 " Gutentags Setup {{{ |