Mercurial > vim-gutentags
diff autoload/gutentags.vim @ 70:661a97eaf608
Move `get_ctags_executable` to the `ctags` module.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Thu, 16 Jul 2015 21:43:06 -0700 |
parents | 6900302dae0b |
children | d12543f11eb9 |
line wrap: on
line diff
--- a/autoload/gutentags.vim Thu Jul 16 21:40:52 2015 -0700 +++ b/autoload/gutentags.vim Thu Jul 16 21:43:06 2015 -0700 @@ -182,17 +182,6 @@ endif endfunction -" Get final ctags executable depending whether a filetype one is defined -function! gutentags#get_ctags_executable() abort - "Only consider the main filetype in cases like 'python.django' - let l:ftype = get(split(&filetype, '\.'), 0, '') - if exists('g:gutentags_ctags_executable_{l:ftype}') - return g:gutentags_ctags_executable_{l:ftype} - else - return g:gutentags_ctags_executable - endif -endfunction - " Get the suffix for how to execute an external command. function! gutentags#get_execute_cmd_suffix() abort if has('win32')