fixup: wrap vim installers with functions
[webi-installers/.git] / vim-sensible / install.sh
index 0fbfdfb3b97024d0ccb045e614e5dba861fc4495..50a84edf4a7f21df649ee7851a283233a1d432d1 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-{
+function __init_vim_sensible() {
     set -e
     set -u
 
@@ -8,3 +8,5 @@
     rm -rf "$HOME/.vim/pack/plugins/start/sensible" "$HOME/.vim/pack/plugins/start/vim-sensible"
     git clone --depth=1 https://tpope.io/vim/sensible.git "$HOME/.vim/pack/plugins/start/vim-sensible"
 }
+
+__init_vim_sensible