Skip to content

Commit

Permalink
Handle default servername
Browse files Browse the repository at this point in the history
  • Loading branch information
kika committed Dec 24, 2014
1 parent abade69 commit 762b7c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vim
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ checktabs () {
}

servername=$( findup $PWD ${REPOMARKERS[@]} | tr "[:lower:]" "[:upper:]" )
if [[ ! "$servername" && checktabs ]]; then
servername="VIM"
fi
if [[ "$servername" ]]; then
opts="--servername $servername"
if checktabs; then
Expand Down

0 comments on commit 762b7c4

Please sign in to comment.