comparison plugin/autotags.vim @ 10:b853ad0e7afd

Only define `:AutotagsToggleFake` if debug mode is on.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 22 Jul 2014 10:40:03 -0700
parents f0f1d20d6f5c
children 478638833c3b
comparison
equal deleted inserted replaced
9:f0f1d20d6f5c 10:b853ad0e7afd
333 333
334 " Toggles and Miscellaneous Commands {{{ 334 " Toggles and Miscellaneous Commands {{{
335 335
336 command! AutotagsToggleEnabled :let g:autotags_enabled=!g:autotags_enabled 336 command! AutotagsToggleEnabled :let g:autotags_enabled=!g:autotags_enabled
337 command! AutotagsToggleTrace :call autotags#trace() 337 command! AutotagsToggleTrace :call autotags#trace()
338 command! AutotagsToggleFake :call autotags#fake()
339 command! AutotagsUnlock :call delete(b:autotags_file . '.lock') 338 command! AutotagsUnlock :call delete(b:autotags_file . '.lock')
339
340 if g:autotags_debug
341 command! AutotagsToggleFake :call autotags#fake()
342 endif
340 343
341 " }}} 344 " }}}
342 345
343 " Autoload Functions {{{ 346 " Autoload Functions {{{
344 347