fixup: wrap vim installers with functions

This commit is contained in:
AJ ONeal
2021-03-22 05:30:41 +00:00
parent 4731a08b78
commit 797ea8983b
3 changed files with 9 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
{
function __init_vim_go() {
set -e
set -u
@@ -74,3 +74,5 @@
echo 'Running :GoInstallBinaries in vim ...'
printf ':GoInstallBinaries\n:q\n' | vim -e
}
__init_vim_go