From b68930fc5cd23316dff81c8e2c60620e20df7b28 Mon Sep 17 00:00:00 2001 From: Anton Bobov Date: Fri, 5 Sep 2025 19:30:58 +0500 Subject: vim: Install hurl plugin only when has hurl binary Hurl repository too big to just install it on every setup. --- files/.vimrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/files/.vimrc b/files/.vimrc index 8c744d3..8a2781a 100644 --- a/files/.vimrc +++ b/files/.vimrc @@ -65,7 +65,9 @@ Plug 'lervag/vimtex' let g:polyglot_disabled = ['latex'] Plug 'sheerun/vim-polyglot' " Hurl syntax -Plug 'Orange-OpenSource/hurl', { 'rtp': 'contrib/vim' } +if executable('hurl') + Plug 'Orange-OpenSource/hurl', { 'rtp': 'contrib/vim' } +endif Plug 'terryma/vim-expand-region' " Maintains a history of previous yanks, changes and deletes "Plug 'vim-scripts/YankRing.vim' -- cgit v1.2.3