From 038d61081e3391d8ff02bc942caee27f7c8364f3 Mon Sep 17 00:00:00 2001 From: Chiel92 Date: Sat, 1 Dec 2012 18:53:11 +0100 Subject: [PATCH] whitespace bugfix --- ftplugin/javascript.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ftplugin/javascript.vim b/ftplugin/javascript.vim index 0f0a9b8..f54b267 100644 --- a/ftplugin/javascript.vim +++ b/ftplugin/javascript.vim @@ -1,10 +1,11 @@ let s:bundleDir = fnamemodify(expand(""), ":h:h:h") let s:prgpath = s:bundleDir."/js-beautify/python/js-beautify" let s:arguments = "-i" + if executable(s:prgpath) let &formatprg=s:prgpath." ".s:arguments endif set expandtab -set tabstop = 4 -set shiftwidth = 4 +set tabstop=4 +set shiftwidth=4