diff options
| author | Anton Bobov <anton@bobov.name> | 2025-03-20 17:23:06 +0500 |
|---|---|---|
| committer | Anton Bobov <anton@bobov.name> | 2025-05-02 22:03:24 +0500 |
| commit | cb74cd8dc0e8d59294a908a2b40f60cc3b67be38 (patch) | |
| tree | 89d4b7a518c808628381177575d7f64965b7b45a | |
| parent | 33c5de12f9fa34674c40a5bf1a7329c3abe13c7e (diff) | |
vim: Load gutentags only when ctags installed
| -rw-r--r-- | files/.vimrc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/files/.vimrc b/files/.vimrc index 315f0c4..8c744d3 100644 --- a/files/.vimrc +++ b/files/.vimrc @@ -92,7 +92,9 @@ Plug 'editorconfig/editorconfig-vim' " use CTRL+A/X to create increasing sequence of numbers or letters via visual mode Plug 'triglav/vim-visual-increment' " A Vim plugin that manages your tag files -Plug 'ludovicchabant/vim-gutentags' +if executable('ctags') || executable('ctags-exuberant') || executable('ctags-universal') + Plug 'ludovicchabant/vim-gutentags' +endif " Asynchronous build and test dispatcher Plug 'tpope/vim-dispatch' " Run your tests at the speed of thought |
