dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README

commit 7d95fd0936efc6352a8a4d0cfe7fb1bf8d8787ed (patch)
parent 48e810632c302f8e9fd02b1b5057fc5c68f20a98
Author: Alexander Karle <akarle@umass.edu>
Date:   Mon, 23 Apr 2018 00:31:30 -0400

Find and link vim syntax files for install.sh

Diffstat:
Minstall.sh | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/install.sh b/install.sh @@ -51,6 +51,7 @@ try_mkdir $VIMHOME try_mkdir $VIMHOME/undo try_mkdir $VIMHOME/swp try_mkdir $VIMHOME/ftplugin +try_mkdir $VIMHOME/syntax # all non-ftplugins for file in $DOTSVIM/*.vim; do @@ -63,3 +64,9 @@ for file in $DOTSVIM/ftplugin/*.vim; do [ -e "$file" ] || continue try_ln $file $VIMHOME/ftplugin/$(basename $file) done + +# syntax TODO: better way of recursing through subdirectories +for file in $DOTSVIM/syntax/*.vim; do + [ -e "$file" ] || continue + try_ln $file $VIMHOME/syntax/$(basename $file) +done