From 72ff414873aed13afd5047695c354a0dc31bfdb4 Mon Sep 17 00:00:00 2001 From: Clif Reeder Date: Wed, 22 Aug 2012 19:42:25 -0400 Subject: [PATCH] Adding syntastic, json to ackrc --- .ackrc | 2 ++ .gitmodules | 3 +++ .gvimrc | 5 +++++ .vim/.netrwhist | 4 +++- .vim/bundle/syntastic | 1 + .vimrc | 4 ++++ 6 files changed, 18 insertions(+), 1 deletion(-) create mode 160000 .vim/bundle/syntastic diff --git a/.ackrc b/.ackrc index f482d62..16c28a9 100644 --- a/.ackrc +++ b/.ackrc @@ -1,3 +1,5 @@ --type-set=coffeescript=.coffee --type-set=css=.scss --ignore-dir=public/cache +--type-set=json=.json +--type-add=js=.json diff --git a/.gitmodules b/.gitmodules index 7dd6ab3..d567bc6 100644 --- a/.gitmodules +++ b/.gitmodules @@ -13,3 +13,6 @@ [submodule ".vim/bundle/matchit"] path = .vim/bundle/matchit url = https://github.com/tsaleh/vim-matchit +[submodule ".vim/bundle/syntastic"] + path = .vim/bundle/syntastic + url = https://github.com/scrooloose/syntastic diff --git a/.gvimrc b/.gvimrc index b673e2a..5058551 100644 --- a/.gvimrc +++ b/.gvimrc @@ -14,3 +14,8 @@ set gfn=Inconsolate-dz:h12 " Set some useful ignores for Command-T set wildignore+=public/cache/*,tmp/*,.sass-cache/* + +" Show syntastic errors in location-list +let g:syntastic_auto_loc_list=1 +let g:syntastic_auto_loc_list_height=3 + diff --git a/.vim/.netrwhist b/.vim/.netrwhist index b5f0579..34dffd3 100644 --- a/.vim/.netrwhist +++ b/.vim/.netrwhist @@ -1,6 +1,8 @@ let g:netrw_dirhistmax =10 -let g:netrw_dirhist_cnt =4 +let g:netrw_dirhist_cnt =6 let g:netrw_dirhist_1='/usr/bin' let g:netrw_dirhist_2='/Users/clifff/Code/syllabus' let g:netrw_dirhist_3='/Users/clifff/src/rails' let g:netrw_dirhist_4='/Users/clifff/Code/linode_chef_solo/cookbooks/rvm' +let g:netrw_dirhist_5='/Users/clifff/.vim' +let g:netrw_dirhist_6='/Users/clifff/.rvm/rubies/ruby-1.9.2-p290' diff --git a/.vim/bundle/syntastic b/.vim/bundle/syntastic new file mode 160000 index 0000000..e5dfcc3 --- /dev/null +++ b/.vim/bundle/syntastic @@ -0,0 +1 @@ +Subproject commit e5dfcc3488e407c8e28b308cb6e631336e77d060 diff --git a/.vimrc b/.vimrc index 95303f2..ec22025 100644 --- a/.vimrc +++ b/.vimrc @@ -64,5 +64,9 @@ match ExtraWhitespace /\s\+\%#\@