From 817b5c81c46de5467d0849bcc0ed5426aa9c5e47 Mon Sep 17 00:00:00 2001 From: Thomas Gideon Date: Thu, 26 Mar 2015 16:20:34 -0400 Subject: [PATCH] Add javascript specific config. Currently syntax folding does nothing, change to indent for now. --- javascript.vim | 1 + vimrc | 1 + 2 files changed, 2 insertions(+) create mode 100644 javascript.vim diff --git a/javascript.vim b/javascript.vim new file mode 100644 index 0000000..24d05ed --- /dev/null +++ b/javascript.vim @@ -0,0 +1 @@ +autocmd FileType java set fdm=indent diff --git a/vimrc b/vimrc index 009f17f..d2806ea 100644 --- a/vimrc +++ b/vimrc @@ -6,6 +6,7 @@ let oldwd = getcwd() exec "cd " . vimrc_git source vundle.vim source java.vim +source javascript.vim exec "cd " . oldwd filetype plugin indent on