aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Bobov <anton@bobov.name>2025-09-05 19:30:58 +0500
committerAnton Bobov <anton@bobov.name>2025-09-05 19:31:31 +0500
commitb68930fc5cd23316dff81c8e2c60620e20df7b28 (patch)
treefc48ea901da67587f27d168919fa0efb33467d32
parentb39a98e707b40f891445e47a37d388784bc0a11d (diff)
vim: Install hurl plugin only when has hurl binary
Hurl repository too big to just install it on every setup.
-rw-r--r--files/.vimrc4
1 files changed, 3 insertions, 1 deletions
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'