From 8ca6d2b0d95658f6459fe743e0eb24746d582014 Mon Sep 17 00:00:00 2001 From: Joe Fleming Date: Sun, 6 May 2012 13:05:52 -0700 Subject: [PATCH] removed bundles and bash magic, start on install script --- bash/bash_magic | 1 - install.sh | 50 + vim/bundle/phpfolding.vim/README | 65 - .../phpfolding.vim/plugin/phpfolding.vim | 611 --------- vim/bundle/snipmate.vim/README.markdown | 5 - .../snipmate.vim/after/plugin/snipMate.vim | 40 - vim/bundle/snipmate.vim/autoload/snipMate.vim | 435 ------- vim/bundle/snipmate.vim/doc/snipMate.txt | 322 ----- vim/bundle/snipmate.vim/doc/tags | 37 - .../ftplugin/html_snip_helper.vim | 10 - vim/bundle/snipmate.vim/plugin-info.txt | 8 - vim/bundle/snipmate.vim/plugin/snipMate.vim | 271 ---- vim/bundle/snipmate.vim/snippets/_.snippets | 9 - .../snipmate.vim/snippets/autoit.snippets | 66 - vim/bundle/snipmate.vim/snippets/c.snippets | 113 -- .../snipmate.vim/snippets/coffee.snippets | 63 - vim/bundle/snipmate.vim/snippets/cpp.snippets | 34 - .../snipmate.vim/snippets/erlang.snippets | 39 - .../snipmate.vim/snippets/html.snippets | 190 --- .../snipmate.vim/snippets/java.snippets | 95 -- .../snipmate.vim/snippets/javascript.snippets | 74 -- .../snipmate.vim/snippets/mako.snippets | 54 - .../snipmate.vim/snippets/objc.snippets | 247 ---- .../snipmate.vim/snippets/perl.snippets | 97 -- vim/bundle/snipmate.vim/snippets/php.default | 222 ---- vim/bundle/snipmate.vim/snippets/php.snippets | 221 ---- .../snipmate.vim/snippets/python.snippets | 86 -- .../snipmate.vim/snippets/ruby.snippets | 504 -------- vim/bundle/snipmate.vim/snippets/sh.snippets | 28 - .../snipmate.vim/snippets/snippet.snippets | 7 - vim/bundle/snipmate.vim/snippets/tcl.snippets | 92 -- vim/bundle/snipmate.vim/snippets/tex.snippets | 115 -- vim/bundle/snipmate.vim/snippets/vim.snippets | 32 - vim/bundle/snipmate.vim/snippets/zsh.snippets | 58 - vim/bundle/snipmate.vim/syntax/snippet.vim | 19 - vim/bundle/syntastic/README.markdown | 142 --- vim/bundle/syntastic/_assets/screenshot_1.png | Bin 92425 -> 0 bytes vim/bundle/syntastic/autoload/syntastic/c.vim | 171 --- vim/bundle/syntastic/doc/syntastic.txt | 527 -------- vim/bundle/syntastic/plugin/syntastic.vim | 562 --------- .../syntastic/syntax_checkers/applescript.vim | 43 - vim/bundle/syntastic/syntax_checkers/c.vim | 156 --- .../syntastic/syntax_checkers/coffee.vim | 27 - vim/bundle/syntastic/syntax_checkers/cpp.vim | 94 -- vim/bundle/syntastic/syntax_checkers/css.vim | 31 - .../syntastic/syntax_checkers/cucumber.vim | 27 - vim/bundle/syntastic/syntax_checkers/cuda.vim | 37 - .../syntastic/syntax_checkers/docbk.vim | 29 - .../syntastic/syntax_checkers/erlang.vim | 42 - .../syntax_checkers/erlang_check_file.erl | 12 - .../syntastic/syntax_checkers/eruby.vim | 34 - .../syntastic/syntax_checkers/fortran.vim | 44 - .../syntax_checkers/gentoo_metadata.vim | 37 - vim/bundle/syntastic/syntax_checkers/go.vim | 27 - vim/bundle/syntastic/syntax_checkers/haml.vim | 26 - .../syntastic/syntax_checkers/haskell.vim | 37 - vim/bundle/syntastic/syntax_checkers/haxe.vim | 55 - vim/bundle/syntastic/syntax_checkers/html.vim | 86 -- .../syntastic/syntax_checkers/javascript.vim | 41 - .../syntax_checkers/javascript/gjslint.vim | 20 - .../syntax_checkers/javascript/jshint.vim | 21 - .../syntax_checkers/javascript/jsl.vim | 20 - .../syntax_checkers/javascript/jslint.vim | 31 - vim/bundle/syntastic/syntax_checkers/json.vim | 41 - .../syntax_checkers/json/jsonlint.vim | 16 - .../syntax_checkers/json/jsonval.vim | 17 - vim/bundle/syntastic/syntax_checkers/less.vim | 38 - vim/bundle/syntastic/syntax_checkers/lua.vim | 58 - .../syntastic/syntax_checkers/matlab.vim | 28 - .../syntastic/syntax_checkers/ocaml.vim | 89 -- vim/bundle/syntastic/syntax_checkers/perl.vim | 35 - vim/bundle/syntastic/syntax_checkers/php.vim | 57 - .../syntastic/syntax_checkers/puppet.vim | 38 - .../syntastic/syntax_checkers/python.vim | 77 -- vim/bundle/syntastic/syntax_checkers/rst.vim | 37 - vim/bundle/syntastic/syntax_checkers/ruby.vim | 32 - vim/bundle/syntastic/syntax_checkers/sass.vim | 35 - vim/bundle/syntastic/syntax_checkers/scss.vim | 27 - vim/bundle/syntastic/syntax_checkers/sh.vim | 52 - vim/bundle/syntastic/syntax_checkers/tcl.vim | 28 - vim/bundle/syntastic/syntax_checkers/tex.vim | 26 - vim/bundle/syntastic/syntax_checkers/vala.vim | 56 - .../syntastic/syntax_checkers/xhtml.vim | 46 - vim/bundle/syntastic/syntax_checkers/xml.vim | 42 - vim/bundle/syntastic/syntax_checkers/xslt.vim | 38 - vim/bundle/syntastic/syntax_checkers/yaml.vim | 30 - vim/bundle/syntastic/syntax_checkers/zpt.vim | 36 - vim/bundle/vim-coffee-script/.gitignore | 4 - vim/bundle/vim-coffee-script/Copying.md | 15 - vim/bundle/vim-coffee-script/Makefile | 25 - vim/bundle/vim-coffee-script/News.md | 14 - vim/bundle/vim-coffee-script/Readme.md | 241 ---- vim/bundle/vim-coffee-script/Thanks.md | 44 - vim/bundle/vim-coffee-script/Todo.md | 1 - .../vim-coffee-script/after/syntax/haml.vim | 9 - .../vim-coffee-script/after/syntax/html.vim | 10 - .../vim-coffee-script/compiler/coffee.vim | 68 - .../vim-coffee-script/doc/coffee-script.txt | 116 -- .../vim-coffee-script/ftdetect/coffee.vim | 8 - vim/bundle/vim-coffee-script/ftdetect/eco.vim | 1 - .../vim-coffee-script/ftplugin/coffee.vim | 221 ---- .../vim-coffee-script/indent/coffee.vim | 338 ----- .../vim-coffee-script/syntax/coffee.vim | 217 ---- vim/bundle/vim-coffee-script/syntax/eco.vim | 62 - .../vim-coffee-script/test/test-eco.html.eco | 12 - .../vim-coffee-script/test/test-interp.coffee | 3 - .../vim-coffee-script/test/test-ops.coffee | 90 -- .../test/test-reserved.coffee | 27 - vim/bundle/vim-coffee-script/test/test.html | 5 - vim/bundle/vim-colors-solarized/README.mkd | 267 ---- .../autoload/togglebg.vim | 55 - .../vim-colors-solarized/bitmaps/togglebg.png | Bin 1674 -> 0 bytes .../vim-colors-solarized/colors/solarized.vim | 1117 ----------------- .../vim-colors-solarized/doc/solarized.txt | 254 ---- vim/bundle/vim-colors-solarized/doc/tags | 27 - vim/bundle/vim-jade/README.markdown | 20 - vim/bundle/vim-jade/ftdetect/jade.vim | 2 - vim/bundle/vim-jade/ftplugin/jade.vim | 53 - vim/bundle/vim-jade/indent/jade.vim | 70 -- vim/bundle/vim-jade/syntax/jade.vim | 82 -- vim/bundle/vim-stylus/changelog.md | 11 - vim/bundle/vim-stylus/ftdetect/stylus.vim | 3 - vim/bundle/vim-stylus/ftplugin/stylus.vim | 53 - vim/bundle/vim-stylus/indent/stylus.vim | 52 - vim/bundle/vim-stylus/readme.md | 15 - vim/bundle/vim-stylus/syntax/stylus.vim | 91 -- vim/bundle/vim-stylus/test.styl | 60 - vim/bundle/vim-surround/.gitignore | 1 - vim/bundle/vim-surround/README.markdown | 97 -- vim/bundle/vim-surround/doc/surround.txt | 211 ---- vim/bundle/vim-surround/plugin/surround.vim | 564 --------- 131 files changed, 50 insertions(+), 12264 deletions(-) delete mode 160000 bash/bash_magic mode change 100644 => 100755 install.sh delete mode 100644 vim/bundle/phpfolding.vim/README delete mode 100644 vim/bundle/phpfolding.vim/plugin/phpfolding.vim delete mode 100644 vim/bundle/snipmate.vim/README.markdown delete mode 100644 vim/bundle/snipmate.vim/after/plugin/snipMate.vim delete mode 100644 vim/bundle/snipmate.vim/autoload/snipMate.vim delete mode 100644 vim/bundle/snipmate.vim/doc/snipMate.txt delete mode 100644 vim/bundle/snipmate.vim/doc/tags delete mode 100644 vim/bundle/snipmate.vim/ftplugin/html_snip_helper.vim delete mode 100644 vim/bundle/snipmate.vim/plugin-info.txt delete mode 100644 vim/bundle/snipmate.vim/plugin/snipMate.vim delete mode 100644 vim/bundle/snipmate.vim/snippets/_.snippets delete mode 100644 vim/bundle/snipmate.vim/snippets/autoit.snippets delete mode 100644 vim/bundle/snipmate.vim/snippets/c.snippets delete mode 100644 vim/bundle/snipmate.vim/snippets/coffee.snippets delete mode 100644 vim/bundle/snipmate.vim/snippets/cpp.snippets delete mode 100644 vim/bundle/snipmate.vim/snippets/erlang.snippets delete mode 100644 vim/bundle/snipmate.vim/snippets/html.snippets delete mode 100644 vim/bundle/snipmate.vim/snippets/java.snippets delete mode 100644 vim/bundle/snipmate.vim/snippets/javascript.snippets delete mode 100644 vim/bundle/snipmate.vim/snippets/mako.snippets delete mode 100644 vim/bundle/snipmate.vim/snippets/objc.snippets delete mode 100644 vim/bundle/snipmate.vim/snippets/perl.snippets delete mode 100644 vim/bundle/snipmate.vim/snippets/php.default delete mode 100644 vim/bundle/snipmate.vim/snippets/php.snippets delete mode 100644 vim/bundle/snipmate.vim/snippets/python.snippets delete mode 100644 vim/bundle/snipmate.vim/snippets/ruby.snippets delete mode 100644 vim/bundle/snipmate.vim/snippets/sh.snippets delete mode 100644 vim/bundle/snipmate.vim/snippets/snippet.snippets delete mode 100644 vim/bundle/snipmate.vim/snippets/tcl.snippets delete mode 100644 vim/bundle/snipmate.vim/snippets/tex.snippets delete mode 100644 vim/bundle/snipmate.vim/snippets/vim.snippets delete mode 100644 vim/bundle/snipmate.vim/snippets/zsh.snippets delete mode 100644 vim/bundle/snipmate.vim/syntax/snippet.vim delete mode 100644 vim/bundle/syntastic/README.markdown delete mode 100644 vim/bundle/syntastic/_assets/screenshot_1.png delete mode 100644 vim/bundle/syntastic/autoload/syntastic/c.vim delete mode 100644 vim/bundle/syntastic/doc/syntastic.txt delete mode 100644 vim/bundle/syntastic/plugin/syntastic.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/applescript.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/c.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/coffee.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/cpp.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/css.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/cucumber.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/cuda.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/docbk.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/erlang.vim delete mode 100755 vim/bundle/syntastic/syntax_checkers/erlang_check_file.erl delete mode 100644 vim/bundle/syntastic/syntax_checkers/eruby.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/fortran.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/gentoo_metadata.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/go.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/haml.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/haskell.vim delete mode 100755 vim/bundle/syntastic/syntax_checkers/haxe.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/html.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/javascript.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/javascript/gjslint.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/javascript/jshint.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/javascript/jsl.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/javascript/jslint.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/json.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/json/jsonlint.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/json/jsonval.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/less.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/lua.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/matlab.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/ocaml.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/perl.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/php.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/puppet.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/python.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/rst.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/ruby.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/sass.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/scss.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/sh.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/tcl.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/tex.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/vala.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/xhtml.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/xml.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/xslt.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/yaml.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/zpt.vim delete mode 100644 vim/bundle/vim-coffee-script/.gitignore delete mode 100644 vim/bundle/vim-coffee-script/Copying.md delete mode 100644 vim/bundle/vim-coffee-script/Makefile delete mode 100644 vim/bundle/vim-coffee-script/News.md delete mode 100644 vim/bundle/vim-coffee-script/Readme.md delete mode 100644 vim/bundle/vim-coffee-script/Thanks.md delete mode 100644 vim/bundle/vim-coffee-script/Todo.md delete mode 100644 vim/bundle/vim-coffee-script/after/syntax/haml.vim delete mode 100644 vim/bundle/vim-coffee-script/after/syntax/html.vim delete mode 100644 vim/bundle/vim-coffee-script/compiler/coffee.vim delete mode 100644 vim/bundle/vim-coffee-script/doc/coffee-script.txt delete mode 100644 vim/bundle/vim-coffee-script/ftdetect/coffee.vim delete mode 100644 vim/bundle/vim-coffee-script/ftdetect/eco.vim delete mode 100644 vim/bundle/vim-coffee-script/ftplugin/coffee.vim delete mode 100644 vim/bundle/vim-coffee-script/indent/coffee.vim delete mode 100755 vim/bundle/vim-coffee-script/syntax/coffee.vim delete mode 100644 vim/bundle/vim-coffee-script/syntax/eco.vim delete mode 100644 vim/bundle/vim-coffee-script/test/test-eco.html.eco delete mode 100644 vim/bundle/vim-coffee-script/test/test-interp.coffee delete mode 100644 vim/bundle/vim-coffee-script/test/test-ops.coffee delete mode 100644 vim/bundle/vim-coffee-script/test/test-reserved.coffee delete mode 100644 vim/bundle/vim-coffee-script/test/test.html delete mode 100644 vim/bundle/vim-colors-solarized/README.mkd delete mode 100644 vim/bundle/vim-colors-solarized/autoload/togglebg.vim delete mode 100644 vim/bundle/vim-colors-solarized/bitmaps/togglebg.png delete mode 100644 vim/bundle/vim-colors-solarized/colors/solarized.vim delete mode 100644 vim/bundle/vim-colors-solarized/doc/solarized.txt delete mode 100644 vim/bundle/vim-colors-solarized/doc/tags delete mode 100644 vim/bundle/vim-jade/README.markdown delete mode 100644 vim/bundle/vim-jade/ftdetect/jade.vim delete mode 100644 vim/bundle/vim-jade/ftplugin/jade.vim delete mode 100644 vim/bundle/vim-jade/indent/jade.vim delete mode 100644 vim/bundle/vim-jade/syntax/jade.vim delete mode 100644 vim/bundle/vim-stylus/changelog.md delete mode 100644 vim/bundle/vim-stylus/ftdetect/stylus.vim delete mode 100644 vim/bundle/vim-stylus/ftplugin/stylus.vim delete mode 100644 vim/bundle/vim-stylus/indent/stylus.vim delete mode 100644 vim/bundle/vim-stylus/readme.md delete mode 100644 vim/bundle/vim-stylus/syntax/stylus.vim delete mode 100644 vim/bundle/vim-stylus/test.styl delete mode 100644 vim/bundle/vim-surround/.gitignore delete mode 100644 vim/bundle/vim-surround/README.markdown delete mode 100644 vim/bundle/vim-surround/doc/surround.txt delete mode 100644 vim/bundle/vim-surround/plugin/surround.vim diff --git a/bash/bash_magic b/bash/bash_magic deleted file mode 160000 index c289364..0000000 --- a/bash/bash_magic +++ /dev/null @@ -1 +0,0 @@ -Subproject commit c289364fbe28495dda730f53750e933b12461589 diff --git a/install.sh b/install.sh old mode 100644 new mode 100755 index 5502059..73f80d2 --- a/install.sh +++ b/install.sh @@ -1,3 +1,53 @@ #!/bin/bash +#configure vim bundles +VIM_BUNDLES=( + 'https://github.com/vim-scripts/phpfolding.vim.git' + 'https://github.com/msanders/snipmate.vim.git' + 'https://github.com/scrooloose/syntastic.git' + 'https://github.com/kchmck/vim-coffee-script.git' + 'https://github.com/altercation/vim-colors-solarized.git' + 'https://github.com/digitaltoad/vim-jade.git' + 'https://github.com/wavded/vim-stylus.git' + 'https://github.com/tpope/vim-surround.git' + ) + +#check for git +GIT=$(which git) +if [ ! $? == 0 ]; then + echo "You must install git and add it to you PATH" + exit 1 +fi +ROOT=`pwd` + +### +# bash_magic +### +#clone repo +$GIT clone https://github.com/Knewton/bash_magic.git bash/bash_magic + +#install +cd "bash/bash_magic" +mkdir "${HOME}/.bash_aliases.d" "${HOME}/.bash_completion.d" "${HOME}/.bash_functions.d" +cd "bash_aliases.d" +ln -s color.sh refresh.sh "${HOME}/.bash_aliases.d" +cd "../bash_completion.d" +ln -s etc.sh "${HOME}/.bash_completion.d" +cd "../bash_functions.d" +ln -s completion.sh extract.sh lsbytes.sh lsnew.sh vim.sh "${HOME}/.bash_functions.d" +cd "${ROOT}" + +### +# vim +### +#clone bundle repos +cd "vim/bundle" +for b in ${VIM_BUNDLES[@]}; do + $GIT clone "${b}" +done +cd "${ROOT}" + +#install + + echo "not finished, check back later" diff --git a/vim/bundle/phpfolding.vim/README b/vim/bundle/phpfolding.vim/README deleted file mode 100644 index fb003e1..0000000 --- a/vim/bundle/phpfolding.vim/README +++ /dev/null @@ -1,65 +0,0 @@ -This is a mirror of http://www.vim.org/scripts/script.php?script_id=1623 - -This script can fold PHP functions and/or classes, properties with their PhpDoc, -without manually adding marker style folds ({{{ and }}}). It will generate the following -folds when executed: - - - -Based on e.g. functions declared like this: - - - -SCREENSHOT -You can view a screenshot here: http://www.fighterz.net/trig/folding.gif - -FEATURES -- It remembers fold settings. If you add functions and execute the script again, - your opened folds will not be closed. -- It will not be confused by brackets in comment blocks or string literals. -- The folding of class properties with their PhpDoc comments. -- The folding of all class properties into one fold. -- Folding the original marker style folds too. -- An "**" postfixing the fold indicates PhpDoc is inside (configurable). -- An "**#@+" postfixing the fold indicates PhpDocBlock is inside (configurable). -- Empty lines postfixing the folds can be configured to be included in the fold. -- Nested folds are supported (functions inside functions, etc.) - -FUTURE -- Better 'configurability' as opposed to editting the PHPCustomFolds() function and - some "Script configuration" global variables. - -NOTE -If anyone has emailed me and I have not replied, it's probably lost. I just found out -hotmail recognizes alot as junk. I now turned off the junk filter.. - -NOTE2: -I'm currently more active again with this project, so if you have any contributions to -this project, please let me know. - -COMPATIBILITY -This script is tested successfully with Vim version >= 6.3 on windows and linux -(With 6.0 it works *sometimes*, I don't recommend using it in that version) diff --git a/vim/bundle/phpfolding.vim/plugin/phpfolding.vim b/vim/bundle/phpfolding.vim/plugin/phpfolding.vim deleted file mode 100644 index b25a3c7..0000000 --- a/vim/bundle/phpfolding.vim/plugin/phpfolding.vim +++ /dev/null @@ -1,611 +0,0 @@ -" Plugin for automatic folding of PHP functions (also folds related PHPdoc) -" -" Maintainer: Ray Burgemeestre -" Last Change: 2010 Jan 15 -" -" USAGE -" If you enabled the script in your after/ftplugin directory (see install) -" then it will be executed after you open a .php file. -" -" After e.g. adding/moving functions, you can re-execute the script by using -" the following key mappings: -" -" F5 - To fold functions, classes, and other stuff with PHPdoc (depending -" on your configuration). -" F6 - To do the same with more extensive bracket checking (might work -" better if your folds are messed up due to misinterpreted brackets). -" F7 - To remove all folds. -" -" INSTALL -" 1. Put phpfolding.vim in your plugin directory (~/.vim/plugin) -" 2. You might want to add the following keyboard mappings to your .vimrc: -" -" map :EnableFastPHPFolds -" map :EnablePHPFolds -" map :DisablePHPFolds -" -" 3. You can disable auto folding in your .vimrc with: -" -" let g:DisableAutoPHPFolding = 1 -" -" By default EnableFastPHPFolds is called. Do these mess up your folds, -" you can try to replace EnableFastPHPFolds by EnablePHPFolds. You can -" change this in function s:CheckAutocmdEnablePHPFold. -" -" NOTE -" It may be that you need to load the plugin from your .vimrc manually, in -" case it doesn't work: -" -" let php_folding=0 -" (if you can't use the after directory in step 3) -" source ~/path/to/phpfolding.vim -" (if you're not using the default plugin directory) -" -" MORE INFORMATION -" - In PHPCustomFolds() you can i.e. comment the PHPFoldPureBlock('class', ...) -" call to have the script not fold classes. You can also change the second -" parameter passed to that function call, to have it or not have it fold -" PhpDoc comments. All other folding you can turn on/off in this function. -" - You can tweak the foldtext to your liking in the function PHPFoldText(). -" - You can set some preferences and default settings a few lines below -" at the "Script configuration" part. -" -" This script is tested with Vim version >= 6.3 on windows and linux. - -" Avoid reloading {{{1 -if exists('loaded_phpfolding') - finish -endif - -let loaded_phpfolding = 1 -" }}} - -" .vimrc variable to disable autofolding for php files {{{1 -if !exists("g:DisableAutoPHPFolding") - let g:DisableAutoPHPFolding = 0 -endif -" }}} - -command! EnableFastPHPFolds call EnableFastPHPFolds() -command! -nargs=* EnablePHPFolds call EnablePHPFolds() -command! DisablePHPFolds call DisablePHPFolds() - -" {{{ Script configuration -" Display the following after the foldtext if a fold contains phpdoc -let g:phpDocIncludedPostfix = '**' -let g:phpDocBlockIncludedPostfix = '**#@+' - -" Default values -" .. search this # of empty lines for PhpDoc comments -let g:searchPhpDocLineCount = 1 -" .. search this # of empty lines that 'trail' the foldmatch -let g:searchEmptyLinesPostfixing = 1 -" }}} -" {{{ Script constants -let s:synIDattr_exists = exists('*synIDattr') -let s:TRUE = 1 -let s:FALSE = 0 -let s:MODE_CREATE_FOLDS = 1 -let s:MODE_REMEMBER_FOLD_SETTINGS = 2 -let s:FOLD_WITH_PHPDOC = 1 -let s:FOLD_WITHOUT_PHPDOC = 2 -let s:SEARCH_PAIR_START_FIRST = 1 -let s:SEARCH_PAIR_IMMEDIATELY = 2 -" }}} - -function! s:EnableFastPHPFolds() " {{{ - call s:EnablePHPFolds(s:FALSE) -endfunction -" }}} -function! s:EnablePHPFolds(...) " {{{ - let s:extensiveBracketChecking = s:TRUE - - " Check function arguments - if a:0 == 1 - let s:extensiveBracketChecking = a:1 - endif - - " Remember cursor information if possible - let s:savedCursor = line(".") - - " Initialize variables - set foldmethod=manual - set foldtext=PHPFoldText() - let s:openFoldListItems = 0 - let s:fileLineCount = line('$') - - let s:searchPhpDocLineCount = g:searchPhpDocLineCount - let s:searchEmptyLinesPostfixing = g:searchEmptyLinesPostfixing - - - " Move to end of file - exec s:fileLineCount - - " First pass: Look for Folds, remember opened folds - let s:foldingMode = s:MODE_REMEMBER_FOLD_SETTINGS - call s:PHPCustomFolds() - - " Second pass: Recreate Folds, restore previously opened - let s:foldingMode = s:MODE_CREATE_FOLDS - " .. Remove all folds first - normal zE - let s:foldsCreated = 0 - call s:PHPCustomFolds() - " .. Fold all - normal zM - - " Restore previously opened folds - let currentItem = 0 - while currentItem < s:openFoldListItems - exec s:foldsOpenedList{currentItem} - normal zo - let currentItem = currentItem + 1 - endwhile - - :redraw - echo s:foldsCreated . " fold(s) created" - - " Restore cursor - exec s:savedCursor - -endfunction -" }}} -function! s:DisablePHPFolds() " {{{ - "set foldmethod=manual - set foldtext= - normal zE - echo "php fold(s) deleted" -endfunction -" }}} -function! s:PHPCustomFolds() " {{{ - " NOTE: The two last parameters for functions PHPFoldProperties() and - " PHPFoldPureBlock() overwrite: 'g:searchPhpDocLineCount' and - " 'g:searchEmptyLinesPostfixing'.. - - " Fold function with PhpDoc (function foo() {}) - call s:PHPFoldPureBlock('function', s:FOLD_WITH_PHPDOC) - - " Fold class properties with PhpDoc (var $foo = NULL;) - call s:PHPFoldProperties('^\s*var\s\$', ";", s:FOLD_WITH_PHPDOC, 1, 1) - - " Fold class without PhpDoc (class foo {}) - call s:PHPFoldPureBlock('^\s*\(abstract\s*\)\?class', s:FOLD_WITH_PHPDOC) - - " Fold define()'s with their PhpDoc - call s:PHPFoldProperties('^\s*define\s*(', ";", s:FOLD_WITH_PHPDOC) - - " Fold includes with their PhpDoc - call s:PHPFoldProperties('^\s*require\s*', ";", s:FOLD_WITH_PHPDOC) - call s:PHPFoldProperties('^\s*include\s*', ";", s:FOLD_WITH_PHPDOC) - - " Fold GLOBAL Arrays with their PhpDoc (some PEAR packages use these) - call s:PHPFoldProperties('^\s*\$GLOBALS.*array\s*(', ";", s:FOLD_WITH_PHPDOC) - - " Fold marker style comments ({{{ foo }}}) - call s:PHPFoldMarkers('{{{', '}}}') - - " Fold PhpDoc "DocBlock" templates (#@+ foo #@-) - call s:PHPFoldMarkers('#@+', '#@-') -endfunction -" }}} -function! s:PHPFoldPureBlock(startPattern, ...) " {{{ - let s:searchPhpDocLineCount = g:searchPhpDocLineCount - let s:searchEmptyLinesPostfixing = g:searchEmptyLinesPostfixing - let s:currentPhpDocMode = s:FOLD_WITH_PHPDOC - - if a:0 >= 1 - " Do we also put the PHP doc part in the fold? - let s:currentPhpDocMode = a:1 - endif - if a:0 >= 2 - " How far do we want to look for PhpDoc comments? - let s:searchPhpDocLineCount = a:2 - endif - if a:0 == 3 - " How greedy are we on postfixing empty lines? - let s:searchEmptyLinesPostfixing = a:3 - endif - - " Move to file end - exec s:fileLineCount - - " Loop through file, searching for folds - while 1 - let s:lineStart = s:FindPureBlockStart(a:startPattern) - - if s:lineStart != 0 - - let s:lineStart = s:FindOptionalPHPDocComment() - let s:lineStop = s:FindPureBlockEnd('{', '}', s:SEARCH_PAIR_START_FIRST) - - " Stop on Error - if s:lineStop == 0 - break - endif - - " Do something with the potential fold based on the Mode we're in - call s:HandleFold() - - else - break - endif - - " Goto fold start (remember we're searching upwards) - exec s:lineStart - endwhile - - - if s:foldingMode != s:MODE_REMEMBER_FOLD_SETTINGS - " Remove created folds - normal zR - endif -endfunction -" }}} -function! s:PHPFoldMarkers(startPattern, endPattern, ...) " {{{ - let s:currentPhpDocMode = s:FOLD_WITHOUT_PHPDOC - - " Move to file end - exec s:fileLineCount - - " Loop through file, searching for folds - while 1 - let s:lineStart = s:FindPatternStart(a:startPattern) - - if s:lineStart != 0 - let s:lineStart = s:FindOptionalPHPDocComment() - " The fourth parameter is for disabling the search for trailing - " empty lines.. - let s:lineStop = s:FindPureBlockEnd(a:startPattern, a:endPattern, - \ s:SEARCH_PAIR_IMMEDIATELY, s:FALSE) - - " Stop on Error - if s:lineStop == 0 - break - endif - - " Do something with the potential fold based on the Mode we're in - call s:HandleFold() - else - break - endif - - " Goto fold start (remember we're searching upwards) - exec s:lineStart - endwhile - - if s:foldingMode != s:MODE_REMEMBER_FOLD_SETTINGS - " Remove created folds - normal zR - endif -endfunction -" }}} -function! s:PHPFoldProperties(startPattern, endPattern, ...) " {{{ - let s:searchPhpDocLineCount = g:searchPhpDocLineCount - let s:searchEmptyLinesPostfixing = g:searchEmptyLinesPostfixing - let s:currentPhpDocMode = s:FOLD_WITH_PHPDOC - if a:0 >= 1 - " Do we also put the PHP doc part in the fold? - let s:currentPhpDocMode = a:1 - endif - if a:0 >= 2 - " How far do we want to look for PhpDoc comments? - let s:searchPhpDocLineCount = a:2 - endif - if a:0 == 3 - " How greedy are we on postfixing empty lines? - let s:searchEmptyLinesPostfixing = a:3 - endif - - " Move to end of file - exec s:fileLineCount - - " Loop through file, searching for folds - while 1 - let s:lineStart = s:FindPatternStart(a:startPattern) - - if s:lineStart != 0 - let s:lineStart = s:FindOptionalPHPDocComment() - let s:lineStop = s:FindPatternEnd(a:endPattern) - - " Stop on Error - if s:lineStop == 0 - break - endif - - " Do something with the potential fold based on the Mode we're in - call s:HandleFold() - else - break - endif - - " Goto fold start (remember we're searching upwards) - exec s:lineStart - - endwhile - - if s:foldingMode != s:MODE_REMEMBER_FOLD_SETTINGS - " Remove created folds - normal zR - endif -endfunction -" }}} -function! s:HandleFold() " {{{ - if s:foldingMode == s:MODE_REMEMBER_FOLD_SETTINGS - " If we are in an actual fold.., - if foldlevel(s:lineStart) != 0 - " .. and it is not closed.., - if foldclosed(s:lineStart) == -1 - " .. and it is more then one lines - " (it has to be or it will be open by default) - if s:lineStop - s:lineStart >= 1 - " Remember it as an open fold - let s:foldsOpenedList{s:openFoldListItems} = s:lineStart - let s:openFoldListItems = s:openFoldListItems + 1 - endif - endif - endif - - " If the cursor is inside the fold, it needs to be opened - if s:lineStart <= s:savedCursor && s:lineStop >= s:savedCursor - " Remember it as an open fold - let s:foldsOpenedList{s:openFoldListItems} = s:lineStart - let s:openFoldListItems = s:openFoldListItems + 1 - endif - - elseif s:foldingMode == s:MODE_CREATE_FOLDS - " Correct lineStop if needed (the script might have mistaken lines - " beyond the file's scope for trailing empty lines) - if s:lineStop > s:fileLineCount - let s:lineStop = s:fileLineCount - endif - " Create the actual fold! - exec s:lineStart . "," . s:lineStop . "fold" - let s:foldsCreated = s:foldsCreated + 1 - endif -endfunction -" }}} -function! s:FindPureBlockStart(startPattern) " {{{ - " When the startPattern is 'function', this following search will match: - " - " function foo($bar) { function foo($bar) - " { - " - " function foo($bar) function foo($bar1, - " .. { $bar2) - " { - " - "return search(a:startPattern . '.*\%[\n].*{', 'W') - "return search(a:startPattern . '.*\%[\n].*\%[\n].*{', 'bW') - - " This function can match the line its on *again* if the cursor was - " restored.. hence we search twice if needed.. - let currentLine = line('.') - let line = search(a:startPattern . '.*\%[\n].*\%[\n].*{', 'bW') - if currentLine == line - let line = search(a:startPattern . '.*\%[\n].*\%[\n].*{', 'bW') - endif - return line -endfunction -" }}} -function! s:FindPatternStart(startPattern) " {{{ - " This function can match the line its on *again* if the cursor was - " restored.. hence we search twice if needed.. - let currentLine = line('.') - let line = search(a:startPattern, 'bW') - if currentLine == line - let line = search(a:startPattern, 'bW') - endif - return line -endfunction -" }}} -function! s:FindOptionalPHPDocComment() " {{{ - " Is searching for PHPDoc disabled? - if s:currentPhpDocMode == s:FOLD_WITHOUT_PHPDOC - " .. Return the original Fold's start - return s:lineStart - endif - - " Skipover 'empty' lines in search for PhpDoc - let s:counter = 0 - let s:currentLine = s:lineStart - 1 - while s:counter < s:searchPhpDocLineCount - let line = getline(s:currentLine) - if (matchstr(line, '^\s*$') == line) - let s:currentLine = s:currentLine - 1 - endif - let s:counter = s:counter + 1 - endwhile - - " Is there a closing C style */ on the above line? - let checkLine = s:currentLine - if strridx(getline(checkLine), "\*\/") != -1 - " Then search for the matching C style /* opener - while 1 - if strridx(getline(checkLine), "\/\*") != -1 - " Only continue adjusting the Fold's start if it really is PHPdoc.. - " (which is characterized by a double asterisk, like /**) - if strridx(getline(checkLine), "\/\*\*") != -1 - " Also only continue adjusting if the PHPdoc opener does - " not contain a '/**#@+'. Those type of comments are - " supposed to match with a #@- .. - if strridx(getline(checkLine), '#@+') == -1 - " .. Return this as the Fold's start - return checkLine - else - break - endif - else - break - endif - endif - let checkLine = checkLine - 1 - endwhile - endif - " .. Return the original Fold's start - return s:lineStart -endfunction -" }}} -function! s:FindPureBlockEnd(startPair, endPair, searchStartPairFirst, ...) " {{{ - " Place Cursor on the opening pair/brace? - if a:searchStartPairFirst == s:SEARCH_PAIR_START_FIRST - let line = search(a:startPair, 'W') - endif - - " Search for the entangled closing brace - " call cursor(line, 1) " set the cursor to the start of the lnum line - if s:extensiveBracketChecking == s:TRUE - let line = searchpair(a:startPair, a:startPair, a:endPair, 'W', 'SkipMatch()') - else - let line = searchpair(a:startPair, a:startPair, a:endPair, 'W') - endif - if line == 0 - let line = search(a:endPair, 'W') - endif - if line == 0 - " Return error - return 0 - endif - - " If the fold exceeds more than one line, and searching for empty lines is - " not disabled.. - let foldExceedsOneLine = line - s:lineStart >= 1 - if a:0 == 1 - let emptyLinesNotDisabled = a:1 - else - let emptyLinesNotDisabled = s:TRUE - endif - if foldExceedsOneLine && emptyLinesNotDisabled - " Then be greedy with extra 'trailing' empty line(s) - let s:counter = 0 - while s:counter < s:searchEmptyLinesPostfixing - let linestr = getline(line + 1) - if (matchstr(linestr, '^\s*$') == linestr) - let line = line + 1 - endif - let s:counter = s:counter + 1 - endwhile - endif - - return line -endfunction -" }}} -function! s:FindPatternEnd(endPattern) " {{{ - let line = search(a:endPattern, 'W') - - " If the fold exceeds more than one line - if line - s:lineStart >= 1 - " Then be greedy with extra 'trailing' empty line(s) - let s:counter = 0 - while s:counter < s:searchEmptyLinesPostfixing - let linestr = getline(line + 1) - if (matchstr(linestr, '^\s*$') == linestr) - let line = line + 1 - endif - let s:counter = s:counter + 1 - endwhile - endif - - return line -endfunction -" }}} - -function! PHPFoldText() " {{{ - let currentLine = v:foldstart - let lines = (v:foldend - v:foldstart + 1) - let lineString = getline(currentLine) - " See if we folded a marker - if strridx(lineString, "{{{") != -1 " }}} - " Is there text after the fold opener? - if (matchstr(lineString, '^.*{{{..*$') == lineString) " }}} - " Then only show that text - let lineString = substitute(lineString, '^.*{{{', '', 'g') " }}} - " There is text before the fold opener - else - " Try to strip away the remainder - let lineString = substitute(lineString, '\s*{{{.*$', '', 'g') " }}} - endif - " See if we folded a DocBlock - elseif strridx(lineString, '#@+') != -1 - " Is there text after the #@+ piece? - if (matchstr(lineString, '^.*#@+..*$') == lineString) - " Then show that text - let lineString = substitute(lineString, '^.*#@+', '', 'g') . ' ' . g:phpDocBlockIncludedPostfix - " There is nothing? - else - " Use the next line.. - let lineString = getline(currentLine + 1) . ' ' . g:phpDocBlockIncludedPostfix - endif - " See if we folded an API comment block - elseif strridx(lineString, "\/\*\*") != -1 - " (I can't get search() or searchpair() to work.., therefore the - " following loop) - let s:state = 0 - while currentLine < v:foldend - let line = getline(currentLine) - if s:state == 0 && strridx(line, "\*\/") != -1 - " Found the end, now we need to find the first not-empty line - let s:state = 1 - elseif s:state == 1 && (matchstr(line, '^\s*$') != line) - " Found the line to display in fold! - break - endif - let currentLine = currentLine + 1 - endwhile - let lineString = getline(currentLine) - endif - - " Some common replaces... - " if currentLine != v:foldend - let lineString = substitute(lineString, '/\*\|\*/\d\=', '', 'g') - let lineString = substitute(lineString, '^\s*\*\?\s*', '', 'g') - let lineString = substitute(lineString, '{$', '', 'g') - let lineString = substitute(lineString, '($', '(..);', 'g') - " endif - - " Emulates printf("%3d", lines).. - if lines < 10 - let lines = " " . lines - elseif lines < 100 - let lines = " " . lines - endif - - " Append an (a) if there is PhpDoc in the fold (a for API) - if currentLine != v:foldstart - let lineString = lineString . " " . g:phpDocIncludedPostfix . " " - endif - - " Return the foldtext - return "+--".lines." lines: " . lineString -endfunction -" }}} -function! SkipMatch() " {{{ -" This function is modified from a PHP indent file by John Wellesz -" found here: http://www.vim.org/scripts/script.php?script_id=1120 - if (!s:synIDattr_exists) - return 0 - endif - let synname = synIDattr(synID(line("."), col("."), 0), "name") - if synname == "phpParent" || synname == "javaScriptBraces" || synname == "phpComment" - return 0 - else - return 1 - endif -endfun -" }}} - -" Check filetype == php before automatically creating (fast) folds {{{1 -function! s:CheckAutocmdEnablePHPFold() - if &filetype == "php" && ! g:DisableAutoPHPFolding - call s:EnableFastPHPFolds() - endif -endfunction -" }}} - -" Call CheckAutocmdEnablePHPFold on BufReadPost {{{1 -augroup SetPhpFolds - au! - au BufReadPost * call s:CheckAutocmdEnablePHPFold() -augroup END -" }}} - -" vim:ft=vim:foldmethod=marker:nowrap:tabstop=4:shiftwidth=4 diff --git a/vim/bundle/snipmate.vim/README.markdown b/vim/bundle/snipmate.vim/README.markdown deleted file mode 100644 index 160f807..0000000 --- a/vim/bundle/snipmate.vim/README.markdown +++ /dev/null @@ -1,5 +0,0 @@ -Quickly install with: - - git clone git://github.com/msanders/snipmate.vim.git - cd snipmate.vim - cp -R * ~/.vim diff --git a/vim/bundle/snipmate.vim/after/plugin/snipMate.vim b/vim/bundle/snipmate.vim/after/plugin/snipMate.vim deleted file mode 100644 index bdbe199..0000000 --- a/vim/bundle/snipmate.vim/after/plugin/snipMate.vim +++ /dev/null @@ -1,40 +0,0 @@ -" These are the mappings for snipMate.vim. Putting it here ensures that it -" will be mapped after other plugins such as supertab.vim. -if !exists('loaded_snips') || exists('s:did_snips_mappings') - finish -endif -let s:did_snips_mappings = 1 - -" This is put here in the 'after' directory in order for snipMate to override -" other plugin mappings (e.g., supertab). -" -" You can safely adjust these mappings to your preferences (as explained in -" :help snipMate-remap). -ino =TriggerSnippet() -snor i=TriggerSnippet() -ino =BackwardsSnippet() -snor i=BackwardsSnippet() -ino =ShowAvailableSnips() - -" The default mappings for these are annoying & sometimes break snipMate. -" You can change them back if you want, I've put them here for convenience. -snor b -snor a -snor bi -snor ' b' -snor ` b` -snor % b% -snor U bU -snor ^ b^ -snor \ b\ -snor b - -" By default load snippets in snippets_dir -if empty(snippets_dir) - finish -endif - -call GetSnippets(snippets_dir, '_') " Get global snippets - -au FileType * if &ft != 'help' | call GetSnippets(snippets_dir, &ft) | endif -" vim:noet:sw=4:ts=4:ft=vim diff --git a/vim/bundle/snipmate.vim/autoload/snipMate.vim b/vim/bundle/snipmate.vim/autoload/snipMate.vim deleted file mode 100644 index 0ad5a58..0000000 --- a/vim/bundle/snipmate.vim/autoload/snipMate.vim +++ /dev/null @@ -1,435 +0,0 @@ -fun! Filename(...) - let filename = expand('%:t:r') - if filename == '' | return a:0 == 2 ? a:2 : '' | endif - return !a:0 || a:1 == '' ? filename : substitute(a:1, '$1', filename, 'g') -endf - -fun s:RemoveSnippet() - unl! g:snipPos s:curPos s:snipLen s:endCol s:endLine s:prevLen - \ s:lastBuf s:oldWord - if exists('s:update') - unl s:startCol s:origWordLen s:update - if exists('s:oldVars') | unl s:oldVars s:oldEndCol | endif - endif - aug! snipMateAutocmds -endf - -fun snipMate#expandSnip(snip, col) - let lnum = line('.') | let col = a:col - - let snippet = s:ProcessSnippet(a:snip) - " Avoid error if eval evaluates to nothing - if snippet == '' | return '' | endif - - " Expand snippet onto current position with the tab stops removed - let snipLines = split(substitute(snippet, '$\d\+\|${\d\+.\{-}}', '', 'g'), "\n", 1) - - let line = getline(lnum) - let afterCursor = strpart(line, col - 1) - " Keep text after the cursor - if afterCursor != "\t" && afterCursor != ' ' - let line = strpart(line, 0, col - 1) - let snipLines[-1] .= afterCursor - else - let afterCursor = '' - " For some reason the cursor needs to move one right after this - if line != '' && col == 1 && &ve != 'all' && &ve != 'onemore' - let col += 1 - endif - endif - - call setline(lnum, line.snipLines[0]) - - " Autoindent snippet according to previous indentation - let indent = matchend(line, '^.\{-}\ze\(\S\|$\)') + 1 - call append(lnum, map(snipLines[1:], "'".strpart(line, 0, indent - 1)."'.v:val")) - - " Open any folds snippet expands into - if &fen | sil! exe lnum.','.(lnum + len(snipLines) - 1).'foldopen' | endif - - let [g:snipPos, s:snipLen] = s:BuildTabStops(snippet, lnum, col - indent, indent) - - if s:snipLen - aug snipMateAutocmds - au CursorMovedI * call s:UpdateChangedSnip(0) - au InsertEnter * call s:UpdateChangedSnip(1) - aug END - let s:lastBuf = bufnr(0) " Only expand snippet while in current buffer - let s:curPos = 0 - let s:endCol = g:snipPos[s:curPos][1] - let s:endLine = g:snipPos[s:curPos][0] - - call cursor(g:snipPos[s:curPos][0], g:snipPos[s:curPos][1]) - let s:prevLen = [line('$'), col('$')] - if g:snipPos[s:curPos][2] != -1 | return s:SelectWord() | endif - else - unl g:snipPos s:snipLen - " Place cursor at end of snippet if no tab stop is given - let newlines = len(snipLines) - 1 - call cursor(lnum + newlines, indent + len(snipLines[-1]) - len(afterCursor) - \ + (newlines ? 0: col - 1)) - endif - return '' -endf - -" Prepare snippet to be processed by s:BuildTabStops -fun s:ProcessSnippet(snip) - let snippet = a:snip - " Evaluate eval (`...`) expressions. - " Backquotes prefixed with a backslash "\" are ignored. - " Using a loop here instead of a regex fixes a bug with nested "\=". - if stridx(snippet, '`') != -1 - while match(snippet, '\(^\|[^\\]\)`.\{-}[^\\]`') != -1 - let snippet = substitute(snippet, '\(^\|[^\\]\)\zs`.\{-}[^\\]`\ze', - \ substitute(eval(matchstr(snippet, '\(^\|[^\\]\)`\zs.\{-}[^\\]\ze`')), - \ "\n\\%$", '', ''), '') - endw - let snippet = substitute(snippet, "\r", "\n", 'g') - let snippet = substitute(snippet, '\\`', '`', 'g') - endif - - " Place all text after a colon in a tab stop after the tab stop - " (e.g. "${#:foo}" becomes "${:foo}foo"). - " This helps tell the position of the tab stops later. - let snippet = substitute(snippet, '${\d\+:\(.\{-}\)}', '&\1', 'g') - - " Update the a:snip so that all the $# become the text after - " the colon in their associated ${#}. - " (e.g. "${1:foo}" turns all "$1"'s into "foo") - let i = 1 - while stridx(snippet, '${'.i) != -1 - let s = matchstr(snippet, '${'.i.':\zs.\{-}\ze}') - if s != '' - let snippet = substitute(snippet, '$'.i, s.'&', 'g') - endif - let i += 1 - endw - - if &et " Expand tabs to spaces if 'expandtab' is set. - return substitute(snippet, '\t', repeat(' ', &sts ? &sts : &sw), 'g') - endif - return snippet -endf - -" Counts occurences of haystack in needle -fun s:Count(haystack, needle) - let counter = 0 - let index = stridx(a:haystack, a:needle) - while index != -1 - let index = stridx(a:haystack, a:needle, index+1) - let counter += 1 - endw - return counter -endf - -" Builds a list of a list of each tab stop in the snippet containing: -" 1.) The tab stop's line number. -" 2.) The tab stop's column number -" (by getting the length of the string between the last "\n" and the -" tab stop). -" 3.) The length of the text after the colon for the current tab stop -" (e.g. "${1:foo}" would return 3). If there is no text, -1 is returned. -" 4.) If the "${#:}" construct is given, another list containing all -" the matches of "$#", to be replaced with the placeholder. This list is -" composed the same way as the parent; the first item is the line number, -" and the second is the column. -fun s:BuildTabStops(snip, lnum, col, indent) - let snipPos = [] - let i = 1 - let withoutVars = substitute(a:snip, '$\d\+', '', 'g') - while stridx(a:snip, '${'.i) != -1 - let beforeTabStop = matchstr(withoutVars, '^.*\ze${'.i.'\D') - let withoutOthers = substitute(withoutVars, '${\('.i.'\D\)\@!\d\+.\{-}}', '', 'g') - - let j = i - 1 - call add(snipPos, [0, 0, -1]) - let snipPos[j][0] = a:lnum + s:Count(beforeTabStop, "\n") - let snipPos[j][1] = a:indent + len(matchstr(withoutOthers, '.*\(\n\|^\)\zs.*\ze${'.i.'\D')) - if snipPos[j][0] == a:lnum | let snipPos[j][1] += a:col | endif - - " Get all $# matches in another list, if ${#:name} is given - if stridx(withoutVars, '${'.i.':') != -1 - let snipPos[j][2] = len(matchstr(withoutVars, '${'.i.':\zs.\{-}\ze}')) - let dots = repeat('.', snipPos[j][2]) - call add(snipPos[j], []) - let withoutOthers = substitute(a:snip, '${\d\+.\{-}}\|$'.i.'\@!\d\+', '', 'g') - while match(withoutOthers, '$'.i.'\(\D\|$\)') != -1 - let beforeMark = matchstr(withoutOthers, '^.\{-}\ze'.dots.'$'.i.'\(\D\|$\)') - call add(snipPos[j][3], [0, 0]) - let snipPos[j][3][-1][0] = a:lnum + s:Count(beforeMark, "\n") - let snipPos[j][3][-1][1] = a:indent + (snipPos[j][3][-1][0] > a:lnum - \ ? len(matchstr(beforeMark, '.*\n\zs.*')) - \ : a:col + len(beforeMark)) - let withoutOthers = substitute(withoutOthers, '$'.i.'\ze\(\D\|$\)', '', '') - endw - endif - let i += 1 - endw - return [snipPos, i - 1] -endf - -fun snipMate#jumpTabStop(backwards) - let leftPlaceholder = exists('s:origWordLen') - \ && s:origWordLen != g:snipPos[s:curPos][2] - if leftPlaceholder && exists('s:oldEndCol') - let startPlaceholder = s:oldEndCol + 1 - endif - - if exists('s:update') - call s:UpdatePlaceholderTabStops() - else - call s:UpdateTabStops() - endif - - " Don't reselect placeholder if it has been modified - if leftPlaceholder && g:snipPos[s:curPos][2] != -1 - if exists('startPlaceholder') - let g:snipPos[s:curPos][1] = startPlaceholder - else - let g:snipPos[s:curPos][1] = col('.') - let g:snipPos[s:curPos][2] = 0 - endif - endif - - let s:curPos += a:backwards ? -1 : 1 - " Loop over the snippet when going backwards from the beginning - if s:curPos < 0 | let s:curPos = s:snipLen - 1 | endif - - if s:curPos == s:snipLen - let sMode = s:endCol == g:snipPos[s:curPos-1][1]+g:snipPos[s:curPos-1][2] - call s:RemoveSnippet() - return sMode ? "\" : TriggerSnippet() - endif - - call cursor(g:snipPos[s:curPos][0], g:snipPos[s:curPos][1]) - - let s:endLine = g:snipPos[s:curPos][0] - let s:endCol = g:snipPos[s:curPos][1] - let s:prevLen = [line('$'), col('$')] - - return g:snipPos[s:curPos][2] == -1 ? '' : s:SelectWord() -endf - -fun s:UpdatePlaceholderTabStops() - let changeLen = s:origWordLen - g:snipPos[s:curPos][2] - unl s:startCol s:origWordLen s:update - if !exists('s:oldVars') | return | endif - " Update tab stops in snippet if text has been added via "$#" - " (e.g., in "${1:foo}bar$1${2}"). - if changeLen != 0 - let curLine = line('.') - - for pos in g:snipPos - if pos == g:snipPos[s:curPos] | continue | endif - let changed = pos[0] == curLine && pos[1] > s:oldEndCol - let changedVars = 0 - let endPlaceholder = pos[2] - 1 + pos[1] - " Subtract changeLen from each tab stop that was after any of - " the current tab stop's placeholders. - for [lnum, col] in s:oldVars - if lnum > pos[0] | break | endif - if pos[0] == lnum - if pos[1] > col || (pos[2] == -1 && pos[1] == col) - let changed += 1 - elseif col < endPlaceholder - let changedVars += 1 - endif - endif - endfor - let pos[1] -= changeLen * changed - let pos[2] -= changeLen * changedVars " Parse variables within placeholders - " e.g., "${1:foo} ${2:$1bar}" - - if pos[2] == -1 | continue | endif - " Do the same to any placeholders in the other tab stops. - for nPos in pos[3] - let changed = nPos[0] == curLine && nPos[1] > s:oldEndCol - for [lnum, col] in s:oldVars - if lnum > nPos[0] | break | endif - if nPos[0] == lnum && nPos[1] > col - let changed += 1 - endif - endfor - let nPos[1] -= changeLen * changed - endfor - endfor - endif - unl s:endCol s:oldVars s:oldEndCol -endf - -fun s:UpdateTabStops() - let changeLine = s:endLine - g:snipPos[s:curPos][0] - let changeCol = s:endCol - g:snipPos[s:curPos][1] - if exists('s:origWordLen') - let changeCol -= s:origWordLen - unl s:origWordLen - endif - let lnum = g:snipPos[s:curPos][0] - let col = g:snipPos[s:curPos][1] - " Update the line number of all proceeding tab stops if has - " been inserted. - if changeLine != 0 - let changeLine -= 1 - for pos in g:snipPos - if pos[0] >= lnum - if pos[0] == lnum | let pos[1] += changeCol | endif - let pos[0] += changeLine - endif - if pos[2] == -1 | continue | endif - for nPos in pos[3] - if nPos[0] >= lnum - if nPos[0] == lnum | let nPos[1] += changeCol | endif - let nPos[0] += changeLine - endif - endfor - endfor - elseif changeCol != 0 - " Update the column of all proceeding tab stops if text has - " been inserted/deleted in the current line. - for pos in g:snipPos - if pos[1] >= col && pos[0] == lnum - let pos[1] += changeCol - endif - if pos[2] == -1 | continue | endif - for nPos in pos[3] - if nPos[0] > lnum | break | endif - if nPos[0] == lnum && nPos[1] >= col - let nPos[1] += changeCol - endif - endfor - endfor - endif -endf - -fun s:SelectWord() - let s:origWordLen = g:snipPos[s:curPos][2] - let s:oldWord = strpart(getline('.'), g:snipPos[s:curPos][1] - 1, - \ s:origWordLen) - let s:prevLen[1] -= s:origWordLen - if !empty(g:snipPos[s:curPos][3]) - let s:update = 1 - let s:endCol = -1 - let s:startCol = g:snipPos[s:curPos][1] - 1 - endif - if !s:origWordLen | return '' | endif - let l = col('.') != 1 ? 'l' : '' - if &sel == 'exclusive' - return "\".l.'v'.s:origWordLen."l\" - endif - return s:origWordLen == 1 ? "\".l.'gh' - \ : "\".l.'v'.(s:origWordLen - 1)."l\" -endf - -" This updates the snippet as you type when text needs to be inserted -" into multiple places (e.g. in "${1:default text}foo$1bar$1", -" "default text" would be highlighted, and if the user types something, -" UpdateChangedSnip() would be called so that the text after "foo" & "bar" -" are updated accordingly) -" -" It also automatically quits the snippet if the cursor is moved out of it -" while in insert mode. -fun s:UpdateChangedSnip(entering) - if exists('g:snipPos') && bufnr(0) != s:lastBuf - call s:RemoveSnippet() - elseif exists('s:update') " If modifying a placeholder - if !exists('s:oldVars') && s:curPos + 1 < s:snipLen - " Save the old snippet & word length before it's updated - " s:startCol must be saved too, in case text is added - " before the snippet (e.g. in "foo$1${2}bar${1:foo}"). - let s:oldEndCol = s:startCol - let s:oldVars = deepcopy(g:snipPos[s:curPos][3]) - endif - let col = col('.') - 1 - - if s:endCol != -1 - let changeLen = col('$') - s:prevLen[1] - let s:endCol += changeLen - else " When being updated the first time, after leaving select mode - if a:entering | return | endif - let s:endCol = col - 1 - endif - - " If the cursor moves outside the snippet, quit it - if line('.') != g:snipPos[s:curPos][0] || col < s:startCol || - \ col - 1 > s:endCol - unl! s:startCol s:origWordLen s:oldVars s:update - return s:RemoveSnippet() - endif - - call s:UpdateVars() - let s:prevLen[1] = col('$') - elseif exists('g:snipPos') - if !a:entering && g:snipPos[s:curPos][2] != -1 - let g:snipPos[s:curPos][2] = -2 - endif - - let col = col('.') - let lnum = line('.') - let changeLine = line('$') - s:prevLen[0] - - if lnum == s:endLine - let s:endCol += col('$') - s:prevLen[1] - let s:prevLen = [line('$'), col('$')] - endif - if changeLine != 0 - let s:endLine += changeLine - let s:endCol = col - endif - - " Delete snippet if cursor moves out of it in insert mode - if (lnum == s:endLine && (col > s:endCol || col < g:snipPos[s:curPos][1])) - \ || lnum > s:endLine || lnum < g:snipPos[s:curPos][0] - call s:RemoveSnippet() - endif - endif -endf - -" This updates the variables in a snippet when a placeholder has been edited. -" (e.g., each "$1" in "${1:foo} $1bar $1bar") -fun s:UpdateVars() - let newWordLen = s:endCol - s:startCol + 1 - let newWord = strpart(getline('.'), s:startCol, newWordLen) - if newWord == s:oldWord || empty(g:snipPos[s:curPos][3]) - return - endif - - let changeLen = g:snipPos[s:curPos][2] - newWordLen - let curLine = line('.') - let startCol = col('.') - let oldStartSnip = s:startCol - let updateTabStops = changeLen != 0 - let i = 0 - - for [lnum, col] in g:snipPos[s:curPos][3] - if updateTabStops - let start = s:startCol - if lnum == curLine && col <= start - let s:startCol -= changeLen - let s:endCol -= changeLen - endif - for nPos in g:snipPos[s:curPos][3][(i):] - " This list is in ascending order, so quit if we've gone too far. - if nPos[0] > lnum | break | endif - if nPos[0] == lnum && nPos[1] > col - let nPos[1] -= changeLen - endif - endfor - if lnum == curLine && col > start - let col -= changeLen - let g:snipPos[s:curPos][3][i][1] = col - endif - let i += 1 - endif - - " "Very nomagic" is used here to allow special characters. - call setline(lnum, substitute(getline(lnum), '\%'.col.'c\V'. - \ escape(s:oldWord, '\'), escape(newWord, '\&'), '')) - endfor - if oldStartSnip != s:startCol - call cursor(0, startCol + s:startCol - oldStartSnip) - endif - - let s:oldWord = newWord - let g:snipPos[s:curPos][2] = newWordLen -endf -" vim:noet:sw=4:ts=4:ft=vim diff --git a/vim/bundle/snipmate.vim/doc/snipMate.txt b/vim/bundle/snipmate.vim/doc/snipMate.txt deleted file mode 100644 index 521235d..0000000 --- a/vim/bundle/snipmate.vim/doc/snipMate.txt +++ /dev/null @@ -1,322 +0,0 @@ -*snipMate.txt* Plugin for using TextMate-style snippets in Vim. - -snipMate *snippet* *snippets* *snipMate* -Last Change: December 27, 2009 - -|snipMate-description| Description -|snipMate-syntax| Snippet syntax -|snipMate-usage| Usage -|snipMate-settings| Settings -|snipMate-features| Features -|snipMate-disadvantages| Disadvantages to TextMate -|snipMate-contact| Contact -|snipMate-license| License - -For Vim version 7.0 or later. -This plugin only works if 'compatible' is not set. -{Vi does not have any of these features.} - -============================================================================== -DESCRIPTION *snipMate-description* - -snipMate.vim implements some of TextMate's snippets features in Vim. A -snippet is a piece of often-typed text that you can insert into your -document using a trigger word followed by a . - -For instance, in a C file using the default installation of snipMate.vim, if -you type "for" in insert mode, it will expand a typical for loop in C: > - - for (i = 0; i < count; i++) { - - } - - -To go to the next item in the loop, simply over to it; if there is -repeated code, such as the "i" variable in this example, you can simply -start typing once it's highlighted and all the matches specified in the -snippet will be updated. To go in reverse, use . - -============================================================================== -SYNTAX *snippet-syntax* - -Snippets can be defined in two ways. They can be in their own file, named -after their trigger in 'snippets//.snippet', or they can be -defined together in a 'snippets/.snippets' file. Note that dotted -'filetype' syntax is supported -- e.g., you can use > - - :set ft=html.eruby - -to activate snippets for both HTML and eRuby for the current file. - -The syntax for snippets in *.snippets files is the following: > - - snippet trigger - expanded text - more expanded text - -Note that the first hard tab after the snippet trigger is required, and not -expanded in the actual snippet. The syntax for *.snippet files is the same, -only without the trigger declaration and starting indentation. - -Also note that snippets must be defined using hard tabs. They can be expanded -to spaces later if desired (see |snipMate-indenting|). - -"#" is used as a line-comment character in *.snippets files; however, they can -only be used outside of a snippet declaration. E.g.: > - - # this is a correct comment - snippet trigger - expanded text - snippet another_trigger - # this isn't a comment! - expanded text -< -This should hopefully be obvious with the included syntax highlighting. - - *snipMate-${#}* -Tab stops ~ - -By default, the cursor is placed at the end of a snippet. To specify where the -cursor is to be placed next, use "${#}", where the # is the number of the tab -stop. E.g., to place the cursor first on the id of a
tag, and then allow -the user to press to go to the middle of it: - > - snippet div -
- ${2} -
-< - *snipMate-placeholders* *snipMate-${#:}* *snipMate-$#* -Placeholders ~ - -Placeholder text can be supplied using "${#:text}", where # is the number of -the tab stop. This text then can be copied throughout the snippet using "$#", -given # is the same number as used before. So, to make a C for loop: > - - snippet for - for (${2:i}; $2 < ${1:count}; $1++) { - ${4} - } - -This will cause "count" to first be selected and change if the user starts -typing. When is pressed, the "i" in ${2}'s position will be selected; -all $2 variables will default to "i" and automatically be updated if the user -starts typing. -NOTE: "$#" syntax is used only for variables, not for tab stops as in TextMate. - -Variables within variables are also possible. For instance: > - - snippet opt - - -Will, as usual, cause "option" to first be selected and update all the $1 -variables if the user starts typing. Since one of these variables is inside of -${2}, this text will then be used as a placeholder for the next tab stop, -allowing the user to change it if he wishes. - -To copy a value throughout a snippet without supplying default text, simply -use the "${#:}" construct without the text; e.g.: > - - snippet foo - ${1:}bar$1 -< *snipMate-commands* -Interpolated Vim Script ~ - -Snippets can also contain Vim script commands that are executed (via |eval()|) -when the snippet is inserted. Commands are given inside backticks (`...`); for -TextMates's functionality, use the |system()| function. E.g.: > - - snippet date - `system("date +%Y-%m-%d")` - -will insert the current date, assuming you are on a Unix system. Note that you -can also (and should) use |strftime()| for this example. - -Filename([{expr}] [, {defaultText}]) *snipMate-filename* *Filename()* - -Since the current filename is used often in snippets, a default function -has been defined for it in snipMate.vim, appropriately called Filename(). - -With no arguments, the default filename without an extension is returned; -the first argument specifies what to place before or after the filename, -and the second argument supplies the default text to be used if the file -has not been named. "$1" in the first argument is replaced with the filename; -if you only want the filename to be returned, the first argument can be left -blank. Examples: > - - snippet filename - `Filename()` - snippet filename_with_default - `Filename('', 'name')` - snippet filename_foo - `filename('$1_foo')` - -The first example returns the filename if it the file has been named, and an -empty string if it hasn't. The second returns the filename if it's been named, -and "name" if it hasn't. The third returns the filename followed by "_foo" if -it has been named, and an empty string if it hasn't. - - *multi_snip* -To specify that a snippet can have multiple matches in a *.snippets file, use -this syntax: > - - snippet trigger A description of snippet #1 - expand this text - snippet trigger A description of snippet #2 - expand THIS text! - -In this example, when "trigger" is typed, a numbered menu containing all -of the descriptions of the "trigger" will be shown; when the user presses the -corresponding number, that snippet will then be expanded. - -To create a snippet with multiple matches using *.snippet files, -simply place all the snippets in a subdirectory with the trigger name: -'snippets///.snippet'. - -============================================================================== -USAGE *snipMate-usage* - - *'snippets'* *g:snippets_dir* -Snippets are by default looked for any 'snippets' directory in your -'runtimepath'. Typically, it is located at '~/.vim/snippets/' on *nix or -'$HOME\vimfiles\snippets\' on Windows. To change that location or add another -one, change the g:snippets_dir variable in your |.vimrc| to your preferred -directory, or use the |ExtractSnips()|function. This will be used by the -|globpath()| function, and so accepts the same syntax as it (e.g., -comma-separated paths). - -ExtractSnipsFile({directory}, {filetype}) *ExtractSnipsFile()* *.snippets* - -ExtractSnipsFile() extracts the specified *.snippets file for the given -filetype. A .snippets file contains multiple snippet declarations for the -filetype. It is further explained above, in |snippet-syntax|. - -ExtractSnips({directory}, {filetype}) *ExtractSnips()* *.snippet* - -ExtractSnips() extracts *.snippet files from the specified directory and -defines them as snippets for the given filetype. The directory tree should -look like this: 'snippets//.snippet'. If the snippet has -multiple matches, it should look like this: -'snippets///.snippet' (see |multi_snip|). - -ResetAllSnippets() *ResetAllSnippets()* -ResetAllSnippets() removes all snippets from memory. This is useful to put at -the top of a snippet setup file for if you would like to |:source| it multiple -times. - -ResetSnippets({filetype}) *ResetSnippets()* -ResetSnippets() removes all snippets from memory for the given filetype. - -ReloadAllSnippets() *ReloadAllSnippets()* -ReloadAllSnippets() reloads all snippets for all filetypes. This is useful for -testing and debugging. - -ReloadSnippets({filetype}) *ReloadSnippets()* -ReloadSnippets() reloads all snippets for the given filetype. - - *list-snippets* *i_CTRL-R_* -If you would like to see what snippets are available, simply type -in the current buffer to show a list via |popupmenu-completion|. - -============================================================================== -SETTINGS *snipMate-settings* *g:snips_author* - -The g:snips_author string (similar to $TM_FULLNAME in TextMate) should be set -to your name; it can then be used in snippets to automatically add it. E.g.: > - - let g:snips_author = 'Hubert Farnsworth' - snippet name - `g:snips_author` -< - *snipMate-expandtab* *snipMate-indenting* -If you would like your snippets to be expanded using spaces instead of tabs, -just enable 'expandtab' and set 'softtabstop' to your preferred amount of -spaces. If 'softtabstop' is not set, 'shiftwidth' is used instead. - - *snipMate-remap* -snipMate does not come with a setting to customize the trigger key, but you -can remap it easily in the two lines it's defined in the 'after' directory -under 'plugin/snipMate.vim'. For instance, to change the trigger key -to CTRL-J, just change this: > - - ino =TriggerSnippet() - snor i=TriggerSnippet() - -to this: > - ino =TriggerSnippet() - snor i=TriggerSnippet() - -============================================================================== -FEATURES *snipMate-features* - -snipMate.vim has the following features among others: - - The syntax of snippets is very similar to TextMate's, allowing - easy conversion. - - The position of the snippet is kept transparently (i.e. it does not use - markers/placeholders written to the buffer), which allows you to escape - out of an incomplete snippet, something particularly useful in Vim. - - Variables in snippets are updated as-you-type. - - Snippets can have multiple matches. - - Snippets can be out of order. For instance, in a do...while loop, the - condition can be added before the code. - - [New] File-based snippets are supported. - - [New] Triggers after non-word delimiters are expanded, e.g. "foo" - in "bar.foo". - - [New] can now be used to jump tab stops in reverse order. - -============================================================================== -DISADVANTAGES *snipMate-disadvantages* - -snipMate.vim currently has the following disadvantages to TextMate's snippets: - - There is no $0; the order of tab stops must be explicitly stated. - - Placeholders within placeholders are not possible. E.g.: > - - '${3}
' -< - In TextMate this would first highlight ' id="some_id"', and if - you hit delete it would automatically skip ${2} and go to ${3} - on the next , but if you didn't delete it it would highlight - "some_id" first. You cannot do this in snipMate.vim. - - Regex cannot be performed on variables, such as "${1/.*/\U&}" - - Placeholders cannot span multiple lines. - - Activating snippets in different scopes of the same file is - not possible. - -Perhaps some of these features will be added in a later release. - -============================================================================== -CONTACT *snipMate-contact* *snipMate-author* - -To contact the author (Michael Sanders), please email: - msanders42+snipmate gmail com - -I greatly appreciate any suggestions or improvements offered for the script. - -============================================================================== -LICENSE *snipMate-license* - -snipMate is released under the MIT license: - -Copyright 2009-2010 Michael Sanders. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -The software is provided "as is", without warranty of any kind, express or -implied, including but not limited to the warranties of merchantability, -fitness for a particular purpose and noninfringement. In no event shall the -authors or copyright holders be liable for any claim, damages or other -liability, whether in an action of contract, tort or otherwise, arising from, -out of or in connection with the software or the use or other dealings in the -software. - -============================================================================== - -vim:tw=78:ts=8:ft=help:norl: diff --git a/vim/bundle/snipmate.vim/doc/tags b/vim/bundle/snipmate.vim/doc/tags deleted file mode 100644 index b86c27f..0000000 --- a/vim/bundle/snipmate.vim/doc/tags +++ /dev/null @@ -1,37 +0,0 @@ -'snippets' snipMate.txt /*'snippets'* -.snippet snipMate.txt /*.snippet* -.snippets snipMate.txt /*.snippets* -ExtractSnips() snipMate.txt /*ExtractSnips()* -ExtractSnipsFile() snipMate.txt /*ExtractSnipsFile()* -Filename() snipMate.txt /*Filename()* -ReloadAllSnippets() snipMate.txt /*ReloadAllSnippets()* -ReloadSnippets() snipMate.txt /*ReloadSnippets()* -ResetAllSnippets() snipMate.txt /*ResetAllSnippets()* -ResetSnippets() snipMate.txt /*ResetSnippets()* -g:snippets_dir snipMate.txt /*g:snippets_dir* -g:snips_author snipMate.txt /*g:snips_author* -i_CTRL-R_ snipMate.txt /*i_CTRL-R_* -list-snippets snipMate.txt /*list-snippets* -multi_snip snipMate.txt /*multi_snip* -snipMate snipMate.txt /*snipMate* -snipMate-$# snipMate.txt /*snipMate-$#* -snipMate-${#:} snipMate.txt /*snipMate-${#:}* -snipMate-${#} snipMate.txt /*snipMate-${#}* -snipMate-author snipMate.txt /*snipMate-author* -snipMate-commands snipMate.txt /*snipMate-commands* -snipMate-contact snipMate.txt /*snipMate-contact* -snipMate-description snipMate.txt /*snipMate-description* -snipMate-disadvantages snipMate.txt /*snipMate-disadvantages* -snipMate-expandtab snipMate.txt /*snipMate-expandtab* -snipMate-features snipMate.txt /*snipMate-features* -snipMate-filename snipMate.txt /*snipMate-filename* -snipMate-indenting snipMate.txt /*snipMate-indenting* -snipMate-license snipMate.txt /*snipMate-license* -snipMate-placeholders snipMate.txt /*snipMate-placeholders* -snipMate-remap snipMate.txt /*snipMate-remap* -snipMate-settings snipMate.txt /*snipMate-settings* -snipMate-usage snipMate.txt /*snipMate-usage* -snipMate.txt snipMate.txt /*snipMate.txt* -snippet snipMate.txt /*snippet* -snippet-syntax snipMate.txt /*snippet-syntax* -snippets snipMate.txt /*snippets* diff --git a/vim/bundle/snipmate.vim/ftplugin/html_snip_helper.vim b/vim/bundle/snipmate.vim/ftplugin/html_snip_helper.vim deleted file mode 100644 index 2e54570..0000000 --- a/vim/bundle/snipmate.vim/ftplugin/html_snip_helper.vim +++ /dev/null @@ -1,10 +0,0 @@ -" Helper function for (x)html snippets -if exists('s:did_snip_helper') || &cp || !exists('loaded_snips') - finish -endif -let s:did_snip_helper = 1 - -" Automatically closes tag if in xhtml -fun! Close() - return stridx(&ft, 'xhtml') == -1 ? '' : ' /' -endf diff --git a/vim/bundle/snipmate.vim/plugin-info.txt b/vim/bundle/snipmate.vim/plugin-info.txt deleted file mode 100644 index 0936bc1..0000000 --- a/vim/bundle/snipmate.vim/plugin-info.txt +++ /dev/null @@ -1,8 +0,0 @@ -{ - "name" : "snipmate", - "version" : "dev", - "author" : "Michael Sanders ", - "repository" : {"type": "git", "url": "git://github.com/msanders/snipmate.vim.git"}, - "dependencies" : {}, - "description" : "snipMate.vim aims to be a concise vim script that implements some of TextMate's snippets features in Vim." -} diff --git a/vim/bundle/snipmate.vim/plugin/snipMate.vim b/vim/bundle/snipmate.vim/plugin/snipMate.vim deleted file mode 100644 index ef03b12..0000000 --- a/vim/bundle/snipmate.vim/plugin/snipMate.vim +++ /dev/null @@ -1,271 +0,0 @@ -" File: snipMate.vim -" Author: Michael Sanders -" Version: 0.84 -" Description: snipMate.vim implements some of TextMate's snippets features in -" Vim. A snippet is a piece of often-typed text that you can -" insert into your document using a trigger word followed by a "". -" -" For more help see snipMate.txt; you can do this by using: -" :helptags ~/.vim/doc -" :h snipMate.txt - -if exists('loaded_snips') || &cp || version < 700 - finish -endif -let loaded_snips = 1 -if !exists('snips_author') | let snips_author = 'Me' | endif - -au BufRead,BufNewFile *.snippets\= set ft=snippet -au FileType snippet setl noet fdm=indent - -let s:snippets = {} | let s:multi_snips = {} - -if !exists('snippets_dir') - let snippets_dir = substitute(globpath(&rtp, 'snippets/'), "\n", ',', 'g') -endif - -fun! MakeSnip(scope, trigger, content, ...) - let multisnip = a:0 && a:1 != '' - let var = multisnip ? 's:multi_snips' : 's:snippets' - if !has_key({var}, a:scope) | let {var}[a:scope] = {} | endif - if !has_key({var}[a:scope], a:trigger) - let {var}[a:scope][a:trigger] = multisnip ? [[a:1, a:content]] : a:content - elseif multisnip | let {var}[a:scope][a:trigger] += [[a:1, a:content]] - else - echom 'Warning in snipMate.vim: Snippet '.a:trigger.' is already defined.' - \ .' See :h multi_snip for help on snippets with multiple matches.' - endif -endf - -fun! ExtractSnips(dir, ft) - for path in split(globpath(a:dir, '*'), "\n") - if isdirectory(path) - let pathname = fnamemodify(path, ':t') - for snipFile in split(globpath(path, '*.snippet'), "\n") - call s:ProcessFile(snipFile, a:ft, pathname) - endfor - elseif fnamemodify(path, ':e') == 'snippet' - call s:ProcessFile(path, a:ft) - endif - endfor -endf - -" Processes a single-snippet file; optionally add the name of the parent -" directory for a snippet with multiple matches. -fun s:ProcessFile(file, ft, ...) - let keyword = fnamemodify(a:file, ':t:r') - if keyword == '' | return | endif - try - let text = join(readfile(a:file), "\n") - catch /E484/ - echom "Error in snipMate.vim: couldn't read file: ".a:file - endtry - return a:0 ? MakeSnip(a:ft, a:1, text, keyword) - \ : MakeSnip(a:ft, keyword, text) -endf - -fun! ExtractSnipsFile(file, ft) - if !filereadable(a:file) | return | endif - let text = readfile(a:file) - let inSnip = 0 - for line in text + ["\n"] - if inSnip && (line[0] == "\t" || line == '') - let content .= strpart(line, 1)."\n" - continue - elseif inSnip - call MakeSnip(a:ft, trigger, content[:-2], name) - let inSnip = 0 - endif - - if line[:6] == 'snippet' - let inSnip = 1 - let trigger = strpart(line, 8) - let name = '' - let space = stridx(trigger, ' ') + 1 - if space " Process multi snip - let name = strpart(trigger, space) - let trigger = strpart(trigger, 0, space - 1) - endif - let content = '' - endif - endfor -endf - -" Reset snippets for filetype. -fun! ResetSnippets(ft) - let ft = a:ft == '' ? '_' : a:ft - for dict in [s:snippets, s:multi_snips, g:did_ft] - if has_key(dict, ft) - unlet dict[ft] - endif - endfor -endf - -" Reset snippets for all filetypes. -fun! ResetAllSnippets() - let s:snippets = {} | let s:multi_snips = {} | let g:did_ft = {} -endf - -" Reload snippets for filetype. -fun! ReloadSnippets(ft) - let ft = a:ft == '' ? '_' : a:ft - call ResetSnippets(ft) - call GetSnippets(g:snippets_dir, ft) -endf - -" Reload snippets for all filetypes. -fun! ReloadAllSnippets() - for ft in keys(g:did_ft) - call ReloadSnippets(ft) - endfor -endf - -let g:did_ft = {} -fun! GetSnippets(dir, filetypes) - for ft in split(a:filetypes, '\.') - if has_key(g:did_ft, ft) | continue | endif - call s:DefineSnips(a:dir, ft, ft) - if ft == 'objc' || ft == 'cpp' || ft == 'cs' - call s:DefineSnips(a:dir, 'c', ft) - elseif ft == 'xhtml' - call s:DefineSnips(a:dir, 'html', 'xhtml') - endif - let g:did_ft[ft] = 1 - endfor -endf - -" Define "aliasft" snippets for the filetype "realft". -fun s:DefineSnips(dir, aliasft, realft) - for path in split(globpath(a:dir, a:aliasft.'/')."\n". - \ globpath(a:dir, a:aliasft.'-*/'), "\n") - call ExtractSnips(path, a:realft) - endfor - for path in split(globpath(a:dir, a:aliasft.'.snippets')."\n". - \ globpath(a:dir, a:aliasft.'-*.snippets'), "\n") - call ExtractSnipsFile(path, a:realft) - endfor -endf - -fun! TriggerSnippet() - if exists('g:SuperTabMappingForward') - if g:SuperTabMappingForward == "" - let SuperTabKey = "\" - elseif g:SuperTabMappingBackward == "" - let SuperTabKey = "\" - endif - endif - - if pumvisible() " Update snippet if completion is used, or deal with supertab - if exists('SuperTabKey') - call feedkeys(SuperTabKey) | return '' - endif - call feedkeys("\a", 'n') " Close completion menu - call feedkeys("\") | return '' - endif - - if exists('g:snipPos') | return snipMate#jumpTabStop(0) | endif - - let word = matchstr(getline('.'), '\S\+\%'.col('.').'c') - for scope in [bufnr('%')] + split(&ft, '\.') + ['_'] - let [trigger, snippet] = s:GetSnippet(word, scope) - " If word is a trigger for a snippet, delete the trigger & expand - " the snippet. - if snippet != '' - let col = col('.') - len(trigger) - sil exe 's/\V'.escape(trigger, '/\.').'\%#//' - return snipMate#expandSnip(snippet, col) - endif - endfor - - if exists('SuperTabKey') - call feedkeys(SuperTabKey) - return '' - endif - return "\" -endf - -fun! BackwardsSnippet() - if exists('g:snipPos') | return snipMate#jumpTabStop(1) | endif - - if exists('g:SuperTabMappingForward') - if g:SuperTabMappingBackward == "" - let SuperTabKey = "\" - elseif g:SuperTabMappingForward == "" - let SuperTabKey = "\" - endif - endif - if exists('SuperTabKey') - call feedkeys(SuperTabKey) - return '' - endif - return "\" -endf - -" Check if word under cursor is snippet trigger; if it isn't, try checking if -" the text after non-word characters is (e.g. check for "foo" in "bar.foo") -fun s:GetSnippet(word, scope) - let word = a:word | let snippet = '' - while snippet == '' - if exists('s:snippets["'.a:scope.'"]["'.escape(word, '\"').'"]') - let snippet = s:snippets[a:scope][word] - elseif exists('s:multi_snips["'.a:scope.'"]["'.escape(word, '\"').'"]') - let snippet = s:ChooseSnippet(a:scope, word) - if snippet == '' | break | endif - else - if match(word, '\W') == -1 | break | endif - let word = substitute(word, '.\{-}\W', '', '') - endif - endw - if word == '' && a:word != '.' && stridx(a:word, '.') != -1 - let [word, snippet] = s:GetSnippet('.', a:scope) - endif - return [word, snippet] -endf - -fun s:ChooseSnippet(scope, trigger) - let snippet = [] - let i = 1 - for snip in s:multi_snips[a:scope][a:trigger] - let snippet += [i.'. '.snip[0]] - let i += 1 - endfor - if i == 2 | return s:multi_snips[a:scope][a:trigger][0][1] | endif - let num = inputlist(snippet) - 1 - return num == -1 ? '' : s:multi_snips[a:scope][a:trigger][num][1] -endf - -fun! ShowAvailableSnips() - let line = getline('.') - let col = col('.') - let word = matchstr(getline('.'), '\S\+\%'.col.'c') - let words = [word] - if stridx(word, '.') - let words += split(word, '\.', 1) - endif - let matchlen = 0 - let matches = [] - for scope in [bufnr('%')] + split(&ft, '\.') + ['_'] - let triggers = has_key(s:snippets, scope) ? keys(s:snippets[scope]) : [] - if has_key(s:multi_snips, scope) - let triggers += keys(s:multi_snips[scope]) - endif - for trigger in triggers - for word in words - if word == '' - let matches += [trigger] " Show all matches if word is empty - elseif trigger =~ '^'.word - let matches += [trigger] - let len = len(word) - if len > matchlen | let matchlen = len | endif - endif - endfor - endfor - endfor - - " This is to avoid a bug with Vim when using complete(col - matchlen, matches) - " (Issue#46 on the Google Code snipMate issue tracker). - call setline(line('.'), substitute(line, repeat('.', matchlen).'\%'.col.'c', '', '')) - call complete(col, matches) - return '' -endf -" vim:noet:sw=4:ts=4:ft=vim diff --git a/vim/bundle/snipmate.vim/snippets/_.snippets b/vim/bundle/snipmate.vim/snippets/_.snippets deleted file mode 100644 index d3ee355..0000000 --- a/vim/bundle/snipmate.vim/snippets/_.snippets +++ /dev/null @@ -1,9 +0,0 @@ -# Global snippets - -# (c) holds no legal value ;) -snippet c) - Copyright `&enc[:2] == "utf" ? "©" : "(c)"` `strftime("%Y")` ${1:`g:snips_author`}. All Rights Reserved.${2} -snippet date - `strftime("%Y-%m-%d")` -snippet ddate - `strftime("%B %d, %Y")` diff --git a/vim/bundle/snipmate.vim/snippets/autoit.snippets b/vim/bundle/snipmate.vim/snippets/autoit.snippets deleted file mode 100644 index 690018c..0000000 --- a/vim/bundle/snipmate.vim/snippets/autoit.snippets +++ /dev/null @@ -1,66 +0,0 @@ -snippet if - If ${1:condition} Then - ${2:; True code} - EndIf -snippet el - Else - ${1} -snippet elif - ElseIf ${1:condition} Then - ${2:; True code} -# If/Else block -snippet ifel - If ${1:condition} Then - ${2:; True code} - Else - ${3:; Else code} - EndIf -# If/ElseIf/Else block -snippet ifelif - If ${1:condition 1} Then - ${2:; True code} - ElseIf ${3:condition 2} Then - ${4:; True code} - Else - ${5:; Else code} - EndIf -# Switch block -snippet switch - Switch (${1:condition}) - Case {$2:case1}: - {$3:; Case 1 code} - Case Else: - {$4:; Else code} - EndSwitch -# Select block -snippet select - Select (${1:condition}) - Case {$2:case1}: - {$3:; Case 1 code} - Case Else: - {$4:; Else code} - EndSelect -# While loop -snippet while - While (${1:condition}) - ${2:; code...} - WEnd -# For loop -snippet for - For ${1:n} = ${3:1} to ${2:count} - ${4:; code...} - Next -# New Function -snippet func - Func ${1:fname}(${2:`indent('.') ? 'self' : ''`}): - ${4:Return} - EndFunc -# Message box -snippet msg - MsgBox(${3:MsgType}, ${1:"Title"}, ${2:"Message Text"}) -# Debug Message -snippet debug - MsgBox(0, "Debug", ${1:"Debug Message"}) -# Show Variable Debug Message -snippet showvar - MsgBox(0, "${1:VarName}", $1) diff --git a/vim/bundle/snipmate.vim/snippets/c.snippets b/vim/bundle/snipmate.vim/snippets/c.snippets deleted file mode 100644 index e1c4f05..0000000 --- a/vim/bundle/snipmate.vim/snippets/c.snippets +++ /dev/null @@ -1,113 +0,0 @@ -# main() -snippet main - int main(int argc, const char *argv[]) - { - ${1} - return 0; - } -snippet mainn - int main(void) - { - ${1} - return 0; - } -# #include <...> -snippet inc - #include <${1:stdio}.h>${2} -# #include "..." -snippet Inc - #include "${1:`Filename("$1.h")`}"${2} -# #ifndef ... #define ... #endif -snippet Def - #ifndef $1 - #define ${1:SYMBOL} ${2:value} - #endif${3} -snippet def - #define -snippet ifdef - #ifdef ${1:FOO} - ${2:#define } - #endif -snippet #if - #if ${1:FOO} - ${2} - #endif -# Header Include-Guard -snippet once - #ifndef ${1:`toupper(Filename('$1_H', 'UNTITLED_H'))`} - - #define $1 - - ${2} - - #endif /* end of include guard: $1 */ -# If Condition -snippet if - if (${1:/* condition */}) { - ${2:/* code */} - } -snippet el - else { - ${1} - } -# Ternary conditional -snippet t - ${1:/* condition */} ? ${2:a} : ${3:b} -# Do While Loop -snippet do - do { - ${2:/* code */} - } while (${1:/* condition */}); -# While Loop -snippet wh - while (${1:/* condition */}) { - ${2:/* code */} - } -# For Loop -snippet for - for (${2:i} = 0; $2 < ${1:count}; $2${3:++}) { - ${4:/* code */} - } -# Custom For Loop -snippet forr - for (${1:i} = ${2:0}; ${3:$1 < 10}; $1${4:++}) { - ${5:/* code */} - } -# Function -snippet fun - ${1:void} ${2:function_name}(${3}) - { - ${4:/* code */} - } -# Function Declaration -snippet fund - ${1:void} ${2:function_name}(${3});${4} -# Typedef -snippet td - typedef ${1:int} ${2:MyCustomType};${3} -# Struct -snippet st - struct ${1:`Filename('$1_t', 'name')`} { - ${2:/* data */} - }${3: /* optional variable list */};${4} -# Typedef struct -snippet tds - typedef struct ${2:_$1 }{ - ${3:/* data */} - } ${1:`Filename('$1_t', 'name')`}; -# Typdef enum -snippet tde - typedef enum { - ${1:/* data */} - } ${2:foo}; -# printf -# unfortunately version this isn't as nice as TextMates's, given the lack of a -# dynamic `...` -snippet pr - printf("${1:%s}\n"${2});${3} -# fprintf (again, this isn't as nice as TextMate's version, but it works) -snippet fpr - fprintf(${1:stderr}, "${2:%s}\n"${3});${4} -# This is kind of convenient -snippet . - [${1}]${2} diff --git a/vim/bundle/snipmate.vim/snippets/coffee.snippets b/vim/bundle/snipmate.vim/snippets/coffee.snippets deleted file mode 100644 index 520bb82..0000000 --- a/vim/bundle/snipmate.vim/snippets/coffee.snippets +++ /dev/null @@ -1,63 +0,0 @@ -snippet bfun - ${1:(${2:args}) }=> - ${3:# body...} - -snippet cla - class ${1:ClassName}${2: extends ${3:Ancestor}} - ${4:constructor: (${5:args}) -> - ${6:# body...}} - $7 - -snippet elif - else if ${1:condition} - ${2:# body...} - -snippet fora - for ${1:name} in ${2:array} - ${3:# body...} - -snippet foro - for ${1:key}, ${2:value} of ${3:Object} - ${0:# body...} - -snippet forr - for ${1:name} in [${2:start}..${3:finish}]${4: by ${5:step}} - ${6:# body...} - -snippet forrex - for ${1:name} in [${2:start}...${3:finish}]${4: by ${5:step}} - ${6:# body...} - -snippet fun - ${1:name} = (${2:args}) -> - ${3:# body...} - -snippet if - if ${1:condition} - ${2:# body...} - -snippet ife - if ${1:condition} - ${2:# body...} - else - ${3:# body...} - -snippet ifte - if ${1:condition} then ${2:value} else ${3:other} - -snippet log - console.log $1 - -snippet swi - switch ${1:object} - when ${2:value} - ${0:# body...} - -snippet try - try - $1 - catch ${2:error} - $3 - -snippet unl - ${1:action} unless ${2:condition} diff --git a/vim/bundle/snipmate.vim/snippets/cpp.snippets b/vim/bundle/snipmate.vim/snippets/cpp.snippets deleted file mode 100644 index fdabd63..0000000 --- a/vim/bundle/snipmate.vim/snippets/cpp.snippets +++ /dev/null @@ -1,34 +0,0 @@ -# Read File Into Vector -snippet readfile - std::vector v; - if (FILE *${2:fp} = fopen(${1:"filename"}, "r")) { - char buf[1024]; - while (size_t len = fread(buf, 1, sizeof(buf), $2)) - v.insert(v.end(), buf, buf + len); - fclose($2); - }${3} -# std::map -snippet map - std::map<${1:key}, ${2:value}> map${3}; -# std::vector -snippet vector - std::vector<${1:char}> v${2}; -# Namespace -snippet ns - namespace ${1:`Filename('', 'my')`} { - ${2} - } /* $1 */ -# Class -snippet cl - class ${1:`Filename('$1_t', 'name')`} { - public: - $1 (${2:arguments}); - virtual ~$1 (); - - private: - ${3:/* data */} - }; -snippet fori - for (int ${2:i} = 0; $2 < ${1:count}; $2${3:++}) { - ${4:/* code */} - } diff --git a/vim/bundle/snipmate.vim/snippets/erlang.snippets b/vim/bundle/snipmate.vim/snippets/erlang.snippets deleted file mode 100644 index 7238149..0000000 --- a/vim/bundle/snipmate.vim/snippets/erlang.snippets +++ /dev/null @@ -1,39 +0,0 @@ -# module and export all -snippet mod - -module(${1:`Filename('', 'my')`}). - - -compile([export_all]). - - start() -> - ${2} - - stop() -> - ok. -# define directive -snippet def - -define(${1:macro}, ${2:body}).${3} -# export directive -snippet exp - -export([${1:function}/${2:arity}]). -# include directive -snippet inc - -include("${1:file}").${2} -# behavior directive -snippet beh - -behaviour(${1:behaviour}).${2} -# if expression -snippet if - if - ${1:guard} -> - ${2:body} - end -# case expression -snippet case - case ${1:expression} of - ${2:pattern} -> - ${3:body}; - end -# record directive -snippet rec - -record(${1:record}, { - ${2:field}=${3:value}}).${4} diff --git a/vim/bundle/snipmate.vim/snippets/html.snippets b/vim/bundle/snipmate.vim/snippets/html.snippets deleted file mode 100644 index 302cea2..0000000 --- a/vim/bundle/snipmate.vim/snippets/html.snippets +++ /dev/null @@ -1,190 +0,0 @@ -# Some useful Unicode entities -# Non-Breaking Space -snippet nbs -   -# ← -snippet left - ← -# → -snippet right - → -# ↑ -snippet up - ↑ -# ↓ -snippet down - ↓ -# ↩ -snippet return - ↩ -# ⇤ -snippet backtab - ⇤ -# ⇥ -snippet tab - ⇥ -# ⇧ -snippet shift - ⇧ -# ⌃ -snippet control - ⌃ -# ⌅ -snippet enter - ⌅ -# ⌘ -snippet command - ⌘ -# ⌥ -snippet option - ⌥ -# ⌦ -snippet delete - ⌦ -# ⌫ -snippet backspace - ⌫ -# ⎋ -snippet escape - ⎋ -# Generic Doctype -snippet doctype HTML 4.01 Strict - -snippet doctype HTML 4.01 Transitional - -snippet doctype HTML 5 - -snippet doctype XHTML 1.0 Frameset - -snippet doctype XHTML 1.0 Strict - -snippet doctype XHTML 1.0 Transitional - -snippet doctype XHTML 1.1 - -# HTML Doctype 4.01 Strict -snippet docts - -# HTML Doctype 4.01 Transitional -snippet doct - -# HTML Doctype 5 -snippet doct5 - -# XHTML Doctype 1.0 Frameset -snippet docxf - -# XHTML Doctype 1.0 Strict -snippet docxs - -# XHTML Doctype 1.0 Transitional -snippet docxt - -# XHTML Doctype 1.1 -snippet docx - -snippet html - - ${1} - -snippet xhtml - - ${1} - -snippet body - - ${1} - -snippet head - - - - ${1:`substitute(Filename('', 'Page Title'), '^.', '\u&', '')`} - ${2} - -snippet title - ${1:`substitute(Filename('', 'Page Title'), '^.', '\u&', '')`}${2} -snippet script - ${2} -snippet scriptsrc - ${2} -snippet style - ${3} -snippet base - -snippet r - -snippet div -
- ${2} -
-# Embed QT Movie -snippet movie - - - - - - ${6} -snippet fieldset -
- ${1:name} - - ${3} -
-snippet form -
- ${3} - - -

-
-snippet h1 -

${2:$1}

-snippet input - ${4} -snippet label - ${7} -snippet link - ${4} -snippet mailto - ${3:email me} -snippet meta - ${3} -snippet opt - ${3} -snippet optt - ${2} -snippet select - ${5} -snippet table - - - -
${2:Header}
${3:Data}
${4} -snippet textarea - ${5} diff --git a/vim/bundle/snipmate.vim/snippets/java.snippets b/vim/bundle/snipmate.vim/snippets/java.snippets deleted file mode 100644 index dd96b79..0000000 --- a/vim/bundle/snipmate.vim/snippets/java.snippets +++ /dev/null @@ -1,95 +0,0 @@ -snippet main - public static void main (String [] args) - { - ${1:/* code */} - } -snippet pu - public -snippet po - protected -snippet pr - private -snippet st - static -snippet fi - final -snippet ab - abstract -snippet re - return -snippet br - break; -snippet de - default: - ${1} -snippet ca - catch(${1:Exception} ${2:e}) ${3} -snippet th - throw -snippet sy - synchronized -snippet im - import -snippet imp - implements -snippet ext - extends -snippet j.u - java.util -snippet j.i - java.io. -snippet j.b - java.beans. -snippet j.n - java.net. -snippet j.m - java.math. -snippet if - if (${1}) ${2} -snippet el - else -snippet elif - else if (${1}) ${2} -snippet wh - while (${1}) ${2} -snippet for - for (${1}; ${2}; ${3}) ${4} -snippet fore - for (${1} : ${2}) ${3} -snippet sw - switch (${1}) ${2} -snippet cs - case ${1}: - ${2} - ${3} -snippet tc - public class ${1:`Filename()`} extends ${2:TestCase} -snippet t - public void test${1:Name}() throws Exception ${2} -snippet cl - class ${1:`Filename("", "untitled")`} ${2} -snippet in - interface ${1:`Filename("", "untitled")`} ${2:extends Parent}${3} -snippet m - ${1:void} ${2:method}(${3}) ${4:throws }${5} -snippet v - ${1:String} ${2:var}${3: = null}${4};${5} -snippet co - static public final ${1:String} ${2:var} = ${3};${4} -snippet cos - static public final String ${1:var} = "${2}";${3} -snippet as - assert ${1:test} : "${2:Failure message}";${3} -snippet try - try { - ${3} - } catch(${1:Exception} ${2:e}) { - } -snippet tryf - try { - ${3} - } catch(${1:Exception} ${2:e}) { - } finally { - } -snippet rst - ResultSet ${1:rst}${2: = null}${3};${4} diff --git a/vim/bundle/snipmate.vim/snippets/javascript.snippets b/vim/bundle/snipmate.vim/snippets/javascript.snippets deleted file mode 100644 index f869e2f..0000000 --- a/vim/bundle/snipmate.vim/snippets/javascript.snippets +++ /dev/null @@ -1,74 +0,0 @@ -# Prototype -snippet proto - ${1:class_name}.prototype.${2:method_name} = - function(${3:first_argument}) { - ${4:// body...} - }; -# Function -snippet fun - function ${1:function_name} (${2:argument}) { - ${3:// body...} - } -# Anonymous Function -snippet f - function(${1}) {${2}}; -# if -snippet if - if (${1:true}) {${2}} -# if ... else -snippet ife - if (${1:true}) {${2}} - else{${3}} -# tertiary conditional -snippet t - ${1:/* condition */} ? ${2:a} : ${3:b} -# switch -snippet switch - switch(${1:expression}) { - case '${3:case}': - ${4:// code} - break; - ${5} - default: - ${2:// code} - } -# case -snippet case - case '${1:case}': - ${2:// code} - break; - ${3} -# for (...) {...} -snippet for - for (var ${2:i} = 0; $2 < ${1:Things}.length; $2${3:++}) { - ${4:$1[$2]} - }; -# for (...) {...} (Improved Native For-Loop) -snippet forr - for (var ${2:i} = ${1:Things}.length - 1; $2 >= 0; $2${3:--}) { - ${4:$1[$2]} - }; -# while (...) {...} -snippet wh - while (${1:/* condition */}) { - ${2:/* code */} - } -# do...while -snippet do - do { - ${2:/* code */} - } while (${1:/* condition */}); -# Object Method -snippet :f - ${1:method_name}: function(${2:attribute}) { - ${4} - }${3:,} -# setTimeout function -snippet timeout - setTimeout(function() {${3}}${2}, ${1:10}; -# Get Elements -snippet get - getElementsBy${1:TagName}('${2}')${3} -# Get Element -snippet gett - getElementBy${1:Id}('${2}')${3} diff --git a/vim/bundle/snipmate.vim/snippets/mako.snippets b/vim/bundle/snipmate.vim/snippets/mako.snippets deleted file mode 100644 index 2a0aef9..0000000 --- a/vim/bundle/snipmate.vim/snippets/mako.snippets +++ /dev/null @@ -1,54 +0,0 @@ -snippet def - <%def name="${1:name}"> - ${2:} - -snippet call - <%call expr="${1:name}"> - ${2:} - -snippet doc - <%doc> - ${1:} - -snippet text - <%text> - ${1:} - -snippet for - % for ${1:i} in ${2:iter}: - ${3:} - % endfor -snippet if if - % if ${1:condition}: - ${2:} - % endif -snippet if if/else - % if ${1:condition}: - ${2:} - % else: - ${3:} - % endif -snippet try - % try: - ${1:} - % except${2:}: - ${3:pass} - % endtry -snippet wh - % while ${1:}: - ${2:} - % endwhile -snippet $ - ${ ${1:} } -snippet <% - <% ${1:} %> -snippet -snippet inherit - <%inherit file="${1:filename}" /> -snippet include - <%include file="${1:filename}" /> -snippet namespace - <%namespace file="${1:name}" /> -snippet page - <%page args="${1:}" /> diff --git a/vim/bundle/snipmate.vim/snippets/objc.snippets b/vim/bundle/snipmate.vim/snippets/objc.snippets deleted file mode 100644 index 85b80d9..0000000 --- a/vim/bundle/snipmate.vim/snippets/objc.snippets +++ /dev/null @@ -1,247 +0,0 @@ -# #import <...> -snippet Imp - #import <${1:Cocoa/Cocoa.h}>${2} -# #import "..." -snippet imp - #import "${1:`Filename()`.h}"${2} -# @selector(...) -snippet sel - @selector(${1:method}:)${3} -# @"..." string -snippet s - @"${1}"${2} -# Object -snippet o - ${1:NSObject} *${2:foo} = [${3:$1 alloc}]${4};${5} -# NSLog(...) -snippet log - NSLog(@"${1:%@}"${2});${3} -# Class -snippet objc - @interface ${1:`Filename('', 'someClass')`} : ${2:NSObject} - { - } - @end - - @implementation $1 - ${3} - @end -# Class Interface -snippet int - @interface ${1:`Filename('', 'someClass')`} : ${2:NSObject} - {${3} - } - ${4} - @end -snippet @interface - @interface ${1:`Filename('', 'someClass')`} : ${2:NSObject} - {${3} - } - ${4} - @end -# Class Implementation -snippet impl - @implementation ${1:`Filename('', 'someClass')`} - ${2} - @end -snippet @implementation - @implementation ${1:`Filename('', 'someClass')`} - ${2} - @end -# Protocol -snippet pro - @protocol ${1:`Filename('$1Delegate', 'MyProtocol')`} ${2:} - ${3} - @end -snippet @protocol - @protocol ${1:`Filename('$1Delegate', 'MyProtocol')`} ${2:} - ${3} - @end -# init Definition -snippet init - - (id)init - { - if (self = [super init]) { - ${1} - } - return self; - } -# dealloc Definition -snippet dealloc - - (void) dealloc - { - ${1:deallocations} - [super dealloc]; - } -snippet su - [super ${1:init}]${2} -snippet ibo - IBOutlet ${1:NSSomeClass} *${2:$1};${3} -# Category -snippet cat - @interface ${1:NSObject} (${2:MyCategory}) - @end - - @implementation $1 ($2) - ${3} - @end -# Category Interface -snippet cath - @interface ${1:`Filename('$1', 'NSObject')`} (${2:MyCategory}) - ${3} - @end -# Method -snippet m - - (${1:id})${2:method} - { - ${3} - } -# Method declaration -snippet md - - (${1:id})${2:method};${3} -# IBAction declaration -snippet ibad - - (IBAction)${1:method}:(${2:id})sender;${3} -# IBAction method -snippet iba - - (IBAction)${1:method}:(${2:id})sender - { - ${3} - } -# awakeFromNib method -snippet wake - - (void)awakeFromNib - { - ${1} - } -# Class Method -snippet M - + (${1:id})${2:method} - { - ${3:return nil;} - } -# Sub-method (Call super) -snippet sm - - (${1:id})${2:method} - { - [super $2];${3} - return self; - } -# Accessor Methods For: -# Object -snippet objacc - - (${1:id})${2:thing} - { - return $2; - } - - - (void)set$2:($1)${3:new$2} - { - [$3 retain]; - [$2 release]; - $2 = $3; - }${4} -# for (object in array) -snippet forin - for (${1:Class} *${2:some$1} in ${3:array}) { - ${4} - } -snippet fore - for (${1:object} in ${2:array}) { - ${3:statements} - } -snippet forarray - unsigned int ${1:object}Count = [${2:array} count]; - - for (unsigned int index = 0; index < $1Count; index++) { - ${3:id} $1 = [$2 $1AtIndex:index]; - ${4} - } -snippet fora - unsigned int ${1:object}Count = [${2:array} count]; - - for (unsigned int index = 0; index < $1Count; index++) { - ${3:id} $1 = [$2 $1AtIndex:index]; - ${4} - } -# Try / Catch Block -snippet @try - @try { - ${1:statements} - } - @catch (NSException * e) { - ${2:handler} - } - @finally { - ${3:statements} - } -snippet @catch - @catch (${1:exception}) { - ${2:handler} - } -snippet @finally - @finally { - ${1:statements} - } -# IBOutlet -# @property (Objective-C 2.0) -snippet prop - @property (${1:retain}) ${2:NSSomeClass} ${3:*$2};${4} -# @synthesize (Objective-C 2.0) -snippet syn - @synthesize ${1:property};${2} -# [[ alloc] init] -snippet alloc - [[${1:foo} alloc] init${2}];${3} -snippet a - [[${1:foo} alloc] init${2}];${3} -# retain -snippet ret - [${1:foo} retain];${2} -# release -snippet rel - [${1:foo} release]; -# autorelease -snippet arel - [${1:foo} autorelease]; -# autorelease pool -snippet pool - NSAutoreleasePool *${1:pool} = [[NSAutoreleasePool alloc] init]; - ${2:/* code */} - [$1 drain]; -# Throw an exception -snippet except - NSException *${1:badness}; - $1 = [NSException exceptionWithName:@"${2:$1Name}" - reason:@"${3}" - userInfo:nil]; - [$1 raise]; -snippet prag - #pragma mark ${1:-} -snippet cl - @class ${1:Foo};${2} -snippet color - [[NSColor ${1:blackColor}] set]; -# NSArray -snippet array - NSMutableArray *${1:array} = [NSMutable array];${2} -snippet nsa - NSArray ${1} -snippet nsma - NSMutableArray ${1} -snippet aa - NSArray * array;${1} -snippet ma - NSMutableArray * array;${1} -# NSDictionary -snippet dict - NSMutableDictionary *${1:dict} = [NSMutableDictionary dictionary];${2} -snippet nsd - NSDictionary ${1} -snippet nsmd - NSMutableDictionary ${1} -# NSString -snippet nss - NSString ${1} -snippet nsms - NSMutableString ${1} diff --git a/vim/bundle/snipmate.vim/snippets/perl.snippets b/vim/bundle/snipmate.vim/snippets/perl.snippets deleted file mode 100644 index c85ff11..0000000 --- a/vim/bundle/snipmate.vim/snippets/perl.snippets +++ /dev/null @@ -1,97 +0,0 @@ -# #!/usr/bin/perl -snippet #! - #!/usr/bin/perl - -# Hash Pointer -snippet . - => -# Function -snippet sub - sub ${1:function_name} { - ${2:#body ...} - } -# Conditional -snippet if - if (${1}) { - ${2:# body...} - } -# Conditional if..else -snippet ife - if (${1}) { - ${2:# body...} - } - else { - ${3:# else...} - } -# Conditional if..elsif..else -snippet ifee - if (${1}) { - ${2:# body...} - } - elsif (${3}) { - ${4:# elsif...} - } - else { - ${5:# else...} - } -# Conditional One-line -snippet xif - ${1:expression} if ${2:condition};${3} -# Unless conditional -snippet unless - unless (${1}) { - ${2:# body...} - } -# Unless conditional One-line -snippet xunless - ${1:expression} unless ${2:condition};${3} -# Try/Except -snippet eval - eval { - ${1:# do something risky...} - }; - if ($@) { - ${2:# handle failure...} - } -# While Loop -snippet wh - while (${1}) { - ${2:# body...} - } -# While Loop One-line -snippet xwh - ${1:expression} while ${2:condition};${3} -# C-style For Loop -snippet cfor - for (my $${2:var} = 0; $$2 < ${1:count}; $$2${3:++}) { - ${4:# body...} - } -# For loop one-line -snippet xfor - ${1:expression} for @${2:array};${3} -# Foreach Loop -snippet for - foreach my $${1:x} (@${2:array}) { - ${3:# body...} - } -# Foreach Loop One-line -snippet fore - ${1:expression} foreach @${2:array};${3} -# Package -snippet cl - package ${1:ClassName}; - - use base qw(${2:ParentClass}); - - sub new { - my $class = shift; - $class = ref $class if ref $class; - my $self = bless {}, $class; - $self; - } - - 1;${3} -# Read File -snippet slurp - my $${1:var}; - { local $/ = undef; local *FILE; open FILE, "<${2:file}"; $$1 = ; close FILE }${3} diff --git a/vim/bundle/snipmate.vim/snippets/php.default b/vim/bundle/snipmate.vim/snippets/php.default deleted file mode 100644 index faed6b8..0000000 --- a/vim/bundle/snipmate.vim/snippets/php.default +++ /dev/null @@ -1,222 +0,0 @@ -snippet php - -snippet ec - echo "${1:string}"${2}; -snippet inc - include '${1:file}';${2} -snippet inc1 - include_once '${1:file}';${2} -snippet req - require '${1:file}';${2} -snippet req1 - require_once '${1:file}';${2} -# $GLOBALS['...'] -snippet globals - $GLOBALS['${1:variable}']${2: = }${3:something}${4:;}${5} -snippet $_ COOKIE['...'] - $_COOKIE['${1:variable}']${2} -snippet $_ ENV['...'] - $_ENV['${1:variable}']${2} -snippet $_ FILES['...'] - $_FILES['${1:variable}']${2} -snippet $_ Get['...'] - $_GET['${1:variable}']${2} -snippet $_ POST['...'] - $_POST['${1:variable}']${2} -snippet $_ REQUEST['...'] - $_REQUEST['${1:variable}']${2} -snippet $_ SERVER['...'] - $_SERVER['${1:variable}']${2} -snippet $_ SESSION['...'] - $_SESSION['${1:variable}']${2} -# Start Docblock -snippet /* - /** - * ${1} - **/ -# Class - post doc -snippet doc_cp - /** - * ${1:undocumented class} - * - * @package ${2:default} - * @author ${3:`g:snips_author`} - **/${4} -# Class Variable - post doc -snippet doc_vp - /** - * ${1:undocumented class variable} - * - * @var ${2:string} - **/${3} -# Class Variable -snippet doc_v - /** - * ${3:undocumented class variable} - * - * @var ${4:string} - **/ - ${1:var} $${2};${5} -# Class -snippet doc_c - /** - * ${3:undocumented class} - * - * @packaged ${4:default} - * @author ${5:`g:snips_author`} - **/ - ${1:}class ${2:} - {${6} - } // END $1class $2 -# Constant Definition - post doc -snippet doc_dp - /** - * ${1:undocumented constant} - **/${2} -# Constant Definition -snippet doc_d - /** - * ${3:undocumented constant} - **/ - define(${1}, ${2});${4} -# Function - post doc -snippet doc_fp - /** - * ${1:undocumented function} - * - * @return ${2:void} - * @author ${3:`g:snips_author`} - **/${4} -# Function signature -snippet doc_s - /** - * ${4:undocumented function} - * - * @return ${5:void} - * @author ${6:`g:snips_author`} - **/ - ${1}function ${2}(${3});${7} -# Function -snippet doc_f - /** - * ${4:undocumented function} - * - * @return ${5:void} - * @author ${6:`g:snips_author`} - **/ - ${1}function ${2}(${3}) - {${7} - } -# Header -snippet doc_h - /** - * ${1} - * - * @author ${2:`g:snips_author`} - * @version ${3:$Id$} - * @copyright ${4:$2}, `strftime('%d %B, %Y')` - * @package ${5:default} - **/ - - /** - * Define DocBlock - *// -# Interface -snippet doc_i - /** - * ${2:undocumented class} - * - * @package ${3:default} - * @author ${4:`g:snips_author`} - **/ - interface ${1:} - {${5} - } // END interface $1 -# class ... -snippet class - /** - * ${1} - **/ - class ${2:ClassName} - { - ${3} - function ${4:__construct}(${5:argument}) - { - ${6:// code...} - } - } -# define(...) -snippet def - define('${1}'${2});${3} -# defined(...) -snippet def? - ${1}defined('${2}')${3} -snippet wh - while (${1:/* condition */}) { - ${2:// code...} - } -# do ... while -snippet do - do { - ${2:// code... } - } while (${1:/* condition */}); -snippet if - if (${1:/* condition */}) { - ${2:// code...} - } -snippet ife - if (${1:/* condition */}) { - ${2:// code...} - } else { - ${3:// code...} - } - ${4} -snippet else - else { - ${1:// code...} - } -snippet elseif - elseif (${1:/* condition */}) { - ${2:// code...} - } -# Tertiary conditional -snippet t - $${1:retVal} = (${2:condition}) ? ${3:a} : ${4:b};${5} -snippet switch - switch ($${1:variable}) { - case '${2:value}': - ${3:// code...} - break; - ${5} - default: - ${4:// code...} - break; - } -snippet case - case '${1:value}': - ${2:// code...} - break;${3} -snippet for - for ($${2:i} = 0; $$2 < ${1:count}; $$2${3:++}) { - ${4: // code...} - } -snippet foreach - foreach ($${1:variable} as $${2:key}) { - ${3:// code...} - } -snippet fun - ${1:public }function ${2:FunctionName}(${3}) - { - ${4:// code...} - } -# $... = array (...) -snippet array - $${1:arrayName} = array('${2}' => ${3});${4} -snippet arr - array( - '${1:key}' => ${2:value} - ); -snippet a - array('${1:key}' => ${2:value}); diff --git a/vim/bundle/snipmate.vim/snippets/php.snippets b/vim/bundle/snipmate.vim/snippets/php.snippets deleted file mode 100644 index dbb08cf..0000000 --- a/vim/bundle/snipmate.vim/snippets/php.snippets +++ /dev/null @@ -1,221 +0,0 @@ -snippet php - -snippet ec - echo "${1:string}"${2}; -snippet { - { - ${1} - } -snippet inc - include '${1:file}';${2} -snippet inc1 - include_once '${1:file}';${2} -snippet req - require '${1:file}';${2} -snippet req1 - require_once '${1:file}';${2} -# $GLOBALS['...'] -snippet globals - $GLOBALS['${1:variable}']${2: = }${3:something}${4:;}${5} -snippet $_ COOKIE['...'] - $_COOKIE['${1:variable}']${2} -snippet $_ ENV['...'] - $_ENV['${1:variable}']${2} -snippet $_ FILES['...'] - $_FILES['${1:variable}']${2} -snippet $_ Get['...'] - $_GET['${1:variable}']${2} -snippet $_ POST['...'] - $_POST['${1:variable}']${2} -snippet $_ REQUEST['...'] - $_REQUEST['${1:variable}']${2} -snippet $_ SERVER['...'] - $_SERVER['${1:variable}']${2} -snippet $_ SESSION['...'] - $_SESSION['${1:variable}']${2} -# Start Docblock -snippet /* - /** - * ${1:description} - * - * @param ${2:int} ${3:var} ${4:desc} - * @return ${5:int} ${6:desc} - * @access ${7:public} - **/ -# Class - post doc -snippet doc_cp - /** - * ${1:undocumented class} - * - * @package ${2:default} - * @author ${3:`g:snips_author`} - **/${4} -# Class Variable - post doc -snippet doc_vp - /** - * ${1:undocumented class variable} - * - * @var ${2:string} - **/${3} -# Class Variable -snippet doc_v - /** - * ${3:undocumented class variable} - * - * @var ${4:string} - **/ - ${1:var} $${2};${5} -# Class -snippet doc_c - /** - * ${3:undocumented class} - * - * @packaged ${4:default} - * @author ${5:`g:snips_author`} - **/ - ${1:}class ${2:} - {${6} - } // END $1class $2 -# Constant Definition - post doc -snippet doc_dp - /** - * ${1:undocumented constant} - **/${2} -# Constant Definition -snippet doc_d - /** - * ${3:undocumented constant} - **/ - define(${1}, ${2});${4} -# Function - post doc -snippet doc_fp - /** - * ${1:undocumented function} - * - * @return ${2:void} - * @author ${3:`g:snips_author`} - **/${4} -# Function signature -snippet doc_s - /** - * ${4:undocumented function} - * - * @return ${5:void} - * @author ${6:`g:snips_author`} - **/ - ${1}function ${2}(${3});${7} -# Function -snippet doc_f - /** - * ${4:undocumented function} - * - * @return ${5:void} - * @author ${6:`g:snips_author`} - **/ - ${1}function ${2}(${3}) - {${7} - } -# Header -snippet doc_h - /** - * ${1} - * - * @author ${2:`g:snips_author`} - * @version ${3:$Id$} - * @copyright ${4:$2}, `strftime('%d %B, %Y')` - * @package ${5:default} - **/ - - /** - * Define DocBlock - *// -# Interface -snippet doc_i - /** - * ${2:undocumented class} - * - * @package ${3:default} - * @author ${4:`g:snips_author`} - **/ - interface ${1:} - {${5} - } // END interface $1 -# class ... -snippet class - class ${1:ClassName} ${2:extends} ${3:ClassName} { - ${4} - } -# define(...) -snippet def - define('${1}', ${2});${3} -# defined(...) -snippet def? - ${1}defined('${2}')${3} -snippet while - while (${1:/* condition */}) { - ${2:// code...} - } -# do ... while -snippet do - do { - ${2:// code... } - } while (${1:/* condition */}); -snippet if - if (${1:/* condition */}) { - ${2:// code...} - } -snippet ife - if (${1:/* condition */}) { - ${2:// code...} - } else { - ${3:// code...} - } - ${4} -snippet else - else { - ${1:// code...} - } -snippet elseif - elseif (${1:/* condition */}) { - ${2:// code...} - } -# Tertiary conditional -snippet t - $${1:retVal} = (${2:condition}) ? ${3:a} : ${4:b};${5} -snippet switch - switch ($${1:variable}) { - case '${2:value}': - ${3:// code...} - break; - ${5} - default: - ${4:// code...} - break; - } -snippet case - case '${1:value}': - ${2:// code...} - break;${3} -snippet for - for ($${1:i}=${2:0}; $$1 < ${3:count}; $$1${4:++}) { - ${5: // code...} - } -snippet foreach - foreach ($${1:variable} as $${2:key}) { - ${3:// code...} - } -snippet fun - ${1:public} function ${2:FunctionName}(${3}) { - ${4} - } -# $... = array (...) -snippet ar - $${1:arrayName} = array(${2:key} => ${3:value}); -snippet a - array(${1}) -snippet arr - array( - ${1} - ) diff --git a/vim/bundle/snipmate.vim/snippets/python.snippets b/vim/bundle/snipmate.vim/snippets/python.snippets deleted file mode 100644 index 28a2948..0000000 --- a/vim/bundle/snipmate.vim/snippets/python.snippets +++ /dev/null @@ -1,86 +0,0 @@ -snippet #! - #!/usr/bin/env python - -snippet imp - import ${1:module} -# Module Docstring -snippet docs - ''' - File: ${1:`Filename('$1.py', 'foo.py')`} - Author: ${2:`g:snips_author`} - Description: ${3} - ''' -snippet wh - while ${1:condition}: - ${2:# code...} -snippet for - for ${1:needle} in ${2:haystack}: - ${3:# code...} -# New Class -snippet cl - class ${1:ClassName}(${2:object}): - """${3:docstring for $1}""" - def __init__(self, ${4:arg}): - ${5:super($1, self).__init__()} - self.$4 = $4 - ${6} -# New Function -snippet def - def ${1:fname}(${2:`indent('.') ? 'self' : ''`}): - """${3:docstring for $1}""" - ${4:pass} -snippet deff - def ${1:fname}(${2:`indent('.') ? 'self' : ''`}): - ${3} -# New Method -snippet defs - def ${1:mname}(self, ${2:arg}): - ${3:pass} -# New Property -snippet property - def ${1:foo}(): - doc = "${2:The $1 property.}" - def fget(self): - ${3:return self._$1} - def fset(self, value): - ${4:self._$1 = value} -# Lambda -snippet ld - ${1:var} = lambda ${2:vars} : ${3:action} -snippet . - self. -snippet try Try/Except - try: - ${1:pass} - except ${2:Exception}, ${3:e}: - ${4:raise $3} -snippet try Try/Except/Else - try: - ${1:pass} - except ${2:Exception}, ${3:e}: - ${4:raise $3} - else: - ${5:pass} -snippet try Try/Except/Finally - try: - ${1:pass} - except ${2:Exception}, ${3:e}: - ${4:raise $3} - finally: - ${5:pass} -snippet try Try/Except/Else/Finally - try: - ${1:pass} - except ${2:Exception}, ${3:e}: - ${4:raise $3} - else: - ${5:pass} - finally: - ${6:pass} -# if __name__ == '__main__': -snippet ifmain - if __name__ == '__main__': - ${1:main()} -# __magic__ -snippet _ - __${1:init}__${2} diff --git a/vim/bundle/snipmate.vim/snippets/ruby.snippets b/vim/bundle/snipmate.vim/snippets/ruby.snippets deleted file mode 100644 index 50080d9..0000000 --- a/vim/bundle/snipmate.vim/snippets/ruby.snippets +++ /dev/null @@ -1,504 +0,0 @@ -# #!/usr/bin/env ruby -snippet #! - #!/usr/bin/env ruby - -# New Block -snippet =b - =begin rdoc - ${1} - =end -snippet y - :yields: ${1:arguments} -snippet rb - #!/usr/bin/env ruby -wKU -snippet beg - begin - ${3} - rescue ${1:Exception} => ${2:e} - end - -snippet req - require "${1}"${2} -snippet # - # => -snippet end - __END__ -snippet case - case ${1:object} - when ${2:condition} - ${3} - end -snippet when - when ${1:condition} - ${2} -snippet def - def ${1:method_name} - ${2} - end -snippet deft - def test_${1:case_name} - ${2} - end -snippet if - if ${1:condition} - ${2} - end -snippet ife - if ${1:condition} - ${2} - else - ${3} - end -snippet elsif - elsif ${1:condition} - ${2} -snippet unless - unless ${1:condition} - ${2} - end -snippet while - while ${1:condition} - ${2} - end -snippet for - for ${1:e} in ${2:c} - ${3} - end -snippet until - until ${1:condition} - ${2} - end -snippet cla class .. end - class ${1:`substitute(Filename(), '^.', '\u&', '')`} - ${2} - end -snippet cla class .. initialize .. end - class ${1:`substitute(Filename(), '^.', '\u&', '')`} - def initialize(${2:args}) - ${3} - end - - - end -snippet cla class .. < ParentClass .. initialize .. end - class ${1:`substitute(Filename(), '^.', '\u&', '')`} < ${2:ParentClass} - def initialize(${3:args}) - ${4} - end - - - end -snippet cla ClassName = Struct .. do .. end - ${1:`substitute(Filename(), '^.', '\u&', '')`} = Struct.new(:${2:attr_names}) do - def ${3:method_name} - ${4} - end - - - end -snippet cla class BlankSlate .. initialize .. end - class ${1:BlankSlate} - instance_methods.each { |meth| undef_method(meth) unless meth =~ /\A__/ } -snippet cla class << self .. end - class << ${1:self} - ${2} - end -# class .. < DelegateClass .. initialize .. end -snippet cla- - class ${1:`substitute(Filename(), '^.', '\u&', '')`} < DelegateClass(${2:ParentClass}) - def initialize(${3:args}) - super(${4:del_obj}) - - ${5} - end - - - end -snippet mod module .. end - module ${1:`substitute(Filename(), '^.', '\u&', '')`} - ${2} - end -snippet mod module .. module_function .. end - module ${1:`substitute(Filename(), '^.', '\u&', '')`} - module_function - - ${2} - end -snippet mod module .. ClassMethods .. end - module ${1:`substitute(Filename(), '^.', '\u&', '')`} - module ClassMethods - ${2} - end - - module InstanceMethods - - end - - def self.included(receiver) - receiver.extend ClassMethods - receiver.send :include, InstanceMethods - end - end -# attr_reader -snippet r - attr_reader :${1:attr_names} -# attr_writer -snippet w - attr_writer :${1:attr_names} -# attr_accessor -snippet rw - attr_accessor :${1:attr_names} -# include Enumerable -snippet Enum - include Enumerable - - def each(&block) - ${1} - end -# include Comparable -snippet Comp - include Comparable - - def <=>(other) - ${1} - end -# extend Forwardable -snippet Forw- - extend Forwardable -# def self -snippet defs - def self.${1:class_method_name} - ${2} - end -# def method_missing -snippet defmm - def method_missing(meth, *args, &blk) - ${1} - end -snippet defd - def_delegator :${1:@del_obj}, :${2:del_meth}, :${3:new_name} -snippet defds - def_delegators :${1:@del_obj}, :${2:del_methods} -snippet am - alias_method :${1:new_name}, :${2:old_name} -snippet app - if __FILE__ == $PROGRAM_NAME - ${1} - end -# usage_if() -snippet usai - if ARGV.${1} - abort "Usage: #{$PROGRAM_NAME} ${2:ARGS_GO_HERE}"${3} - end -# usage_unless() -snippet usau - unless ARGV.${1} - abort "Usage: #{$PROGRAM_NAME} ${2:ARGS_GO_HERE}"${3} - end -snippet array - Array.new(${1:10}) { |${2:i}| ${3} } -snippet hash - Hash.new { |${1:hash}, ${2:key}| $1[$2] = ${3} } -snippet file File.foreach() { |line| .. } - File.foreach(${1:"path/to/file"}) { |${2:line}| ${3} } -snippet file File.read() - File.read(${1:"path/to/file"})${2} -snippet Dir Dir.global() { |file| .. } - Dir.glob(${1:"dir/glob/*"}) { |${2:file}| ${3} } -snippet Dir Dir[".."] - Dir[${1:"glob/**/*.rb"}]${2} -snippet dir - Filename.dirname(__FILE__) -snippet deli - delete_if { |${1:e}| ${2} } -snippet fil - fill(${1:range}) { |${2:i}| ${3} } -# flatten_once() -snippet flao - inject(Array.new) { |${1:arr}, ${2:a}| $1.push(*$2)}${3} -snippet zip - zip(${1:enums}) { |${2:row}| ${3} } -# downto(0) { |n| .. } -snippet dow - downto(${1:0}) { |${2:n}| ${3} } -snippet ste - step(${1:2}) { |${2:n}| ${3} } -snippet tim - times { |${1:n}| ${2} } -snippet upt - upto(${1:1.0/0.0}) { |${2:n}| ${3} } -snippet loo - loop { ${1} } -snippet ea - each { |${1:e}| ${2} } -snippet ead - each do |${1:e}| - ${2} - end -snippet eab - each_byte { |${1:byte}| ${2} } -snippet eac- each_char { |chr| .. } - each_char { |${1:chr}| ${2} } -snippet eac- each_cons(..) { |group| .. } - each_cons(${1:2}) { |${2:group}| ${3} } -snippet eai - each_index { |${1:i}| ${2} } -snippet eaid - each_index do |${1:i}| - end -snippet eak - each_key { |${1:key}| ${2} } -snippet eakd - each_key do |${1:key}| - ${2} - end -snippet eal - each_line { |${1:line}| ${2} } -snippet eald - each_line do |${1:line}| - ${2} - end -snippet eap - each_pair { |${1:name}, ${2:val}| ${3} } -snippet eapd - each_pair do |${1:name}, ${2:val}| - ${3} - end -snippet eas- - each_slice(${1:2}) { |${2:group}| ${3} } -snippet easd- - each_slice(${1:2}) do |${2:group}| - ${3} - end -snippet eav - each_value { |${1:val}| ${2} } -snippet eavd - each_value do |${1:val}| - ${2} - end -snippet eawi - each_with_index { |${1:e}, ${2:i}| ${3} } -snippet eawid - each_with_index do |${1:e},${2:i}| - ${3} - end -snippet reve - reverse_each { |${1:e}| ${2} } -snippet reved - reverse_each do |${1:e}| - ${2} - end -snippet inj - inject(${1:init}) { |${2:mem}, ${3:var}| ${4} } -snippet injd - inject(${1:init}) do |${2:mem}, ${3:var}| - ${4} - end -snippet map - map { |${1:e}| ${2} } -snippet mapd - map do |${1:e}| - ${2} - end -snippet mapwi- - enum_with_index.map { |${1:e}, ${2:i}| ${3} } -snippet sor - sort { |a, b| ${1} } -snippet sorb - sort_by { |${1:e}| ${2} } -snippet ran - sort_by { rand } -snippet all - all? { |${1:e}| ${2} } -snippet any - any? { |${1:e}| ${2} } -snippet cl - classify { |${1:e}| ${2} } -snippet col - collect { |${1:e}| ${2} } -snippet cold - collect do |${1:e}| - ${2} - end -snippet det - detect { |${1:e}| ${2} } -snippet detd - detect do |${1:e}| - ${2} - end -snippet fet - fetch(${1:name}) { |${2:key}| ${3} } -snippet fin - find { |${1:e}| ${2} } -snippet find - find do |${1:e}| - ${2} - end -snippet fina - find_all { |${1:e}| ${2} } -snippet finad - find_all do |${1:e}| - ${2} - end -snippet gre - grep(${1:/pattern/}) { |${2:match}| ${3} } -snippet sub - ${1:g}sub(${2:/pattern/}) { |${3:match}| ${4} } -snippet sca - scan(${1:/pattern/}) { |${2:match}| ${3} } -snippet scad - scan(${1:/pattern/}) do |${2:match}| - ${3} - end -snippet max - max { |a, b| ${1} } -snippet min - min { |a, b| ${1} } -snippet par - partition { |${1:e}| ${2} } -snippet pard - partition do |${1:e}| - ${2} - end -snippet rej - reject { |${1:e}| ${2} } -snippet rejd - reject do |${1:e}| - ${2} - end -snippet sel - select { |${1:e}| ${2} } -snippet seld - select do |${1:e}| - ${2} - end -snippet lam - lambda { |${1:args}| ${2} } -snippet do - do |${1:variable}| - ${2} - end -snippet : - :${1:key} => ${2:"value"}${3} -snippet ope - open(${1:"path/or/url/or/pipe"}, "${2:w}") { |${3:io}| ${4} } -# path_from_here() -snippet patfh - File.join(File.dirname(__FILE__), *%2[${1:rel path here}])${2} -# unix_filter {} -snippet unif - ARGF.each_line${1} do |${2:line}| - ${3} - end -# option_parse {} -snippet optp - require "optparse" - - options = {${1:default => "args"}} - - ARGV.options do |opts| - opts.banner = "Usage: #{File.basename($PROGRAM_NAME)} -snippet opt - opts.on( "-${1:o}", "--${2:long-option-name}", ${3:String}, - "${4:Option description.}") do |${5:opt}| - ${6} - end -snippet tc - require "test/unit" - - require "${1:library_file_name}" - - class Test${2:$1} < Test::Unit::TestCase - def test_${3:case_name} - ${4} - end - end -snippet ts - require "test/unit" - - require "tc_${1:test_case_file}" - require "tc_${2:test_case_file}"${3} -snippet as - assert(${1:test}, "${2:Failure message.}")${3} -snippet ase - assert_equal(${1:expected}, ${2:actual})${3} -snippet asne - assert_not_equal(${1:unexpected}, ${2:actual})${3} -snippet asid - assert_in_delta(${1:expected_float}, ${2:actual_float}, ${3:2 ** -20})${4} -snippet asio - assert_instance_of(${1:ExpectedClass}, ${2:actual_instance})${3} -snippet asko - assert_kind_of(${1:ExpectedKind}, ${2:actual_instance})${3} -snippet asn - assert_nil(${1:instance})${2} -snippet asnn - assert_not_nil(${1:instance})${2} -snippet asm - assert_match(/${1:expected_pattern}/, ${2:actual_string})${3} -snippet asnm - assert_no_match(/${1:unexpected_pattern}/, ${2:actual_string})${3} -snippet aso - assert_operator(${1:left}, :${2:operator}, ${3:right})${4} -snippet asr - assert_raise(${1:Exception}) { ${2} } -snippet asnr - assert_nothing_raised(${1:Exception}) { ${2} } -snippet asrt - assert_respond_to(${1:object}, :${2:method})${3} -snippet ass assert_same(..) - assert_same(${1:expected}, ${2:actual})${3} -snippet ass assert_send(..) - assert_send([${1:object}, :${2:message}, ${3:args}])${4} -snippet asns - assert_not_same(${1:unexpected}, ${2:actual})${3} -snippet ast - assert_throws(:${1:expected}) { ${2} } -snippet asnt - assert_nothing_thrown { ${1} } -snippet fl - flunk("${1:Failure message.}")${2} -# Benchmark.bmbm do .. end -snippet bm- - TESTS = ${1:10_000} - Benchmark.bmbm do |results| - ${2} - end -snippet rep - results.report("${1:name}:") { TESTS.times { ${2} }} -# Marshal.dump(.., file) -snippet Md - File.open(${1:"path/to/file.dump"}, "wb") { |${2:file}| Marshal.dump(${3:obj}, $2) }${4} -# Mashal.load(obj) -snippet Ml - File.open(${1:"path/to/file.dump"}, "rb") { |${2:file}| Marshal.load($2) }${3} -# deep_copy(..) -snippet deec - Marshal.load(Marshal.dump(${1:obj_to_copy}))${2} -snippet Pn- - PStore.new(${1:"file_name.pstore"})${2} -snippet tra - transaction(${1:true}) { ${2} } -# xmlread(..) -snippet xml- - REXML::Document.new(File.read(${1:"path/to/file"}))${2} -# xpath(..) { .. } -snippet xpa - elements.each(${1:"//Xpath"}) do |${2:node}| - ${3} - end -# class_from_name() -snippet clafn - split("::").inject(Object) { |par, const| par.const_get(const) } -# singleton_class() -snippet sinc - class << self; self end -snippet nam - namespace :${1:`Filename()`} do - ${2} - end -snippet tas - desc "${1:Task description\}" - task :${2:task_name => [:dependent, :tasks]} do - ${3} - end diff --git a/vim/bundle/snipmate.vim/snippets/sh.snippets b/vim/bundle/snipmate.vim/snippets/sh.snippets deleted file mode 100644 index f035126..0000000 --- a/vim/bundle/snipmate.vim/snippets/sh.snippets +++ /dev/null @@ -1,28 +0,0 @@ -# #!/bin/bash -snippet #! - #!/bin/bash - -snippet if - if [[ ${1:condition} ]]; then - ${2:#statements} - fi -snippet elif - elif [[ ${1:condition} ]]; then - ${2:#statements} -snippet for - for (( ${2:i} = 0; $2 < ${1:count}; $2++ )); do - ${3:#statements} - done -snippet wh - while [[ ${1:condition} ]]; do - ${2:#statements} - done -snippet until - until [[ ${1:condition} ]]; do - ${2:#statements} - done -snippet case - case ${1:word} in - ${2:pattern}) - ${3};; - esac diff --git a/vim/bundle/snipmate.vim/snippets/snippet.snippets b/vim/bundle/snipmate.vim/snippets/snippet.snippets deleted file mode 100644 index 854c058..0000000 --- a/vim/bundle/snipmate.vim/snippets/snippet.snippets +++ /dev/null @@ -1,7 +0,0 @@ -# snippets for making snippets :) -snippet snip - snippet ${1:trigger} - ${2} -snippet msnip - snippet ${1:trigger} ${2:description} - ${3} diff --git a/vim/bundle/snipmate.vim/snippets/tcl.snippets b/vim/bundle/snipmate.vim/snippets/tcl.snippets deleted file mode 100644 index 1fe1cb9..0000000 --- a/vim/bundle/snipmate.vim/snippets/tcl.snippets +++ /dev/null @@ -1,92 +0,0 @@ -# #!/usr/bin/env tclsh -snippet #! - #!/usr/bin/env tclsh - -# Process -snippet pro - proc ${1:function_name} {${2:args}} { - ${3:#body ...} - } -#xif -snippet xif - ${1:expr}? ${2:true} : ${3:false} -# Conditional -snippet if - if {${1}} { - ${2:# body...} - } -# Conditional if..else -snippet ife - if {${1}} { - ${2:# body...} - } else { - ${3:# else...} - } -# Conditional if..elsif..else -snippet ifee - if {${1}} { - ${2:# body...} - } elseif {${3}} { - ${4:# elsif...} - } else { - ${5:# else...} - } -# If catch then -snippet ifc - if { [catch {${1:#do something...}} ${2:err}] } { - ${3:# handle failure...} - } -# Catch -snippet catch - catch {${1}} ${2:err} ${3:options} -# While Loop -snippet wh - while {${1}} { - ${2:# body...} - } -# For Loop -snippet for - for {set ${2:var} 0} {$$2 < ${1:count}} {${3:incr} $2} { - ${4:# body...} - } -# Foreach Loop -snippet fore - foreach ${1:x} {${2:#list}} { - ${3:# body...} - } -# after ms script... -snippet af - after ${1:ms} ${2:#do something} -# after cancel id -snippet afc - after cancel ${1:id or script} -# after idle -snippet afi - after idle ${1:script} -# after info id -snippet afin - after info ${1:id} -# Expr -snippet exp - expr {${1:#expression here}} -# Switch -snippet sw - switch ${1:var} { - ${3:pattern 1} { - ${4:#do something} - } - default { - ${2:#do something} - } - } -# Case -snippet ca - ${1:pattern} { - ${2:#do something} - }${3} -# Namespace eval -snippet ns - namespace eval ${1:path} {${2:#script...}} -# Namespace current -snippet nsc - namespace current diff --git a/vim/bundle/snipmate.vim/snippets/tex.snippets b/vim/bundle/snipmate.vim/snippets/tex.snippets deleted file mode 100644 index 22f7316..0000000 --- a/vim/bundle/snipmate.vim/snippets/tex.snippets +++ /dev/null @@ -1,115 +0,0 @@ -# \begin{}...\end{} -snippet begin - \begin{${1:env}} - ${2} - \end{$1} -# Tabular -snippet tab - \begin{${1:tabular}}{${2:c}} - ${3} - \end{$1} -# Align(ed) -snippet ali - \begin{align${1:ed}} - ${2} - \end{align$1} -# Gather(ed) -snippet gat - \begin{gather${1:ed}} - ${2} - \end{gather$1} -# Equation -snippet eq - \begin{equation} - ${1} - \end{equation} -# Unnumbered Equation -snippet \ - \\[ - ${1} - \\] -# Enumerate -snippet enum - \begin{enumerate} - \item ${1} - \end{enumerate} -# Itemize -snippet item - \begin{itemize} - \item ${1} - \end{itemize} -# Description -snippet desc - \begin{description} - \item[${1}] ${2} - \end{description} -# Matrix -snippet mat - \begin{${1:p/b/v/V/B/small}matrix} - ${2} - \end{$1matrix} -# Cases -snippet cas - \begin{cases} - ${1:equation}, &\text{ if }${2:case}\\ - ${3} - \end{cases} -# Split -snippet spl - \begin{split} - ${1} - \end{split} -# Part -snippet part - \part{${1:part name}} % (fold) - \label{prt:${2:$1}} - ${3} - % part $2 (end) -# Chapter -snippet cha - \chapter{${1:chapter name}} % (fold) - \label{cha:${2:$1}} - ${3} - % chapter $2 (end) -# Section -snippet sec - \section{${1:section name}} % (fold) - \label{sec:${2:$1}} - ${3} - % section $2 (end) -# Sub Section -snippet sub - \subsection{${1:subsection name}} % (fold) - \label{sub:${2:$1}} - ${3} - % subsection $2 (end) -# Sub Sub Section -snippet subs - \subsubsection{${1:subsubsection name}} % (fold) - \label{ssub:${2:$1}} - ${3} - % subsubsection $2 (end) -# Paragraph -snippet par - \paragraph{${1:paragraph name}} % (fold) - \label{par:${2:$1}} - ${3} - % paragraph $2 (end) -# Sub Paragraph -snippet subp - \subparagraph{${1:subparagraph name}} % (fold) - \label{subp:${2:$1}} - ${3} - % subparagraph $2 (end) -snippet itd - \item[${1:description}] ${2:item} -snippet figure - ${1:Figure}~\ref{${2:fig:}}${3} -snippet table - ${1:Table}~\ref{${2:tab:}}${3} -snippet listing - ${1:Listing}~\ref{${2:list}}${3} -snippet section - ${1:Section}~\ref{${2:sec:}}${3} -snippet page - ${1:page}~\pageref{${2}}${3} diff --git a/vim/bundle/snipmate.vim/snippets/vim.snippets b/vim/bundle/snipmate.vim/snippets/vim.snippets deleted file mode 100644 index 64e7807..0000000 --- a/vim/bundle/snipmate.vim/snippets/vim.snippets +++ /dev/null @@ -1,32 +0,0 @@ -snippet header - " File: ${1:`expand('%:t')`} - " Author: ${2:`g:snips_author`} - " Description: ${3} - ${4:" Last Modified: `strftime("%B %d, %Y")`} -snippet guard - if exists('${1:did_`Filename()`}') || &cp${2: || version < 700} - finish - endif - let $1 = 1${3} -snippet f - fun ${1:function_name}(${2}) - ${3:" code} - endf -snippet for - for ${1:needle} in ${2:haystack} - ${3:" code} - endfor -snippet wh - while ${1:condition} - ${2:" code} - endw -snippet if - if ${1:condition} - ${2:" code} - endif -snippet ife - if ${1:condition} - ${2} - else - ${3} - endif diff --git a/vim/bundle/snipmate.vim/snippets/zsh.snippets b/vim/bundle/snipmate.vim/snippets/zsh.snippets deleted file mode 100644 index 7aee05b..0000000 --- a/vim/bundle/snipmate.vim/snippets/zsh.snippets +++ /dev/null @@ -1,58 +0,0 @@ -# #!/bin/zsh -snippet #! - #!/bin/zsh - -snippet if - if ${1:condition}; then - ${2:# statements} - fi -snippet ife - if ${1:condition}; then - ${2:# statements} - else - ${3:# statements} - fi -snippet elif - elif ${1:condition} ; then - ${2:# statements} -snippet for - for (( ${2:i} = 0; $2 < ${1:count}; $2++ )); do - ${3:# statements} - done -snippet fore - for ${1:item} in ${2:list}; do - ${3:# statements} - done -snippet wh - while ${1:condition}; do - ${2:# statements} - done -snippet until - until ${1:condition}; do - ${2:# statements} - done -snippet repeat - repeat ${1:integer}; do - ${2:# statements} - done -snippet case - case ${1:word} in - ${2:pattern}) - ${3};; - esac -snippet select - select ${1:answer} in ${2:choices}; do - ${3:# statements} - done -snippet ( - ( ${1:#statements} ) -snippet { - { ${1:#statements} } -snippet [ - [[ ${1:test} ]] -snippet always - { ${1:try} } always { ${2:always} } -snippet fun - function ${1:name} (${2:args}) { - ${3:# body} - } diff --git a/vim/bundle/snipmate.vim/syntax/snippet.vim b/vim/bundle/snipmate.vim/syntax/snippet.vim deleted file mode 100644 index 3aa8571..0000000 --- a/vim/bundle/snipmate.vim/syntax/snippet.vim +++ /dev/null @@ -1,19 +0,0 @@ -" Syntax highlighting for snippet files (used for snipMate.vim) -" Hopefully this should make snippets a bit nicer to write! -syn match snipComment '^#.*' -syn match placeHolder '\${\d\+\(:.\{-}\)\=}' contains=snipCommand -syn match tabStop '\$\d\+' -syn match snipCommand '[^\\]`.\{-}`' -syn match snippet '^snippet.*' transparent contains=multiSnipText,snipKeyword -syn match multiSnipText '\S\+ \zs.*' contained -syn match snipKeyword '^snippet'me=s+8 contained -syn match snipError "^[^#s\t].*$" - -hi link snipComment Comment -hi link multiSnipText String -hi link snipKeyword Keyword -hi link snipComment Comment -hi link placeHolder Special -hi link tabStop Special -hi link snipCommand String -hi link snipError Error diff --git a/vim/bundle/syntastic/README.markdown b/vim/bundle/syntastic/README.markdown deleted file mode 100644 index c6712c5..0000000 --- a/vim/bundle/syntastic/README.markdown +++ /dev/null @@ -1,142 +0,0 @@ - , - / \,,_ .'| - ,{{| /}}}}/_.' _____________________________________________ - }}}}` '{{' '. / \ - {{{{{ _ ;, \ / Gentlemen, \ - ,}}}}}} /o`\ ` ;) | | - {{{{{{ / ( | this is ... | - }}}}}} | \ | | - {{{{{{{{ \ \ | | - }}}}}}}}} '.__ _ | | _____ __ __ _ | - {{{{{{{{ /`._ (_\ / | / ___/__ ______ / /_____ ______/ /_(_)____ | - }}}}}}' | //___/ --=: \__ \/ / / / __ \/ __/ __ `/ ___/ __/ / ___/ | - jgs `{{{{` | '--' | ___/ / /_/ / / / / /_/ /_/ (__ ) /_/ / /__ | - }}}` | /____/\__, /_/ /_/\__/\__,_/____/\__/_/\___/ | - | /____/ | - | / - \_____________________________________________/ - - - - -Syntastic is a syntax checking plugin that runs files through external syntax -checkers and displays any resulting errors to the user. This can be done on -demand, or automatically as files are saved. If syntax errors are detected, the -user is notified and is happy because they didn't have to compile their code or -execute their script to find them. - -At the time of this writing, syntax checking plugins exist for applescript, c, -coffee, cpp, css, cucumber, cuda, docbk, erlang, eruby, fortran, -gentoo_metadata, go, haml, haskell, html, javascript, json, less, lua, matlab, -perl, php, puppet, python, rst, ruby, sass/scss, sh, tcl, tex, vala, xhtml, -xml, xslt, yaml, zpt - -Screenshot ----------- - -Below is a screenshot showing the methods that Syntastic uses to display syntax -errors. Note that, in practise, you will only have a subset of these methods -enabled. - -![Screenshot 1](https://github.com/scrooloose/syntastic/raw/master/_assets/screenshot_1.png) - -1. Errors are loaded into the location list for the corresponding window. -2. When the cursor is on a line containing an error, the error message is echoed in the command window. -3. Signs are placed beside lines with errors - note that warnings are displayed in a different color. -4. There is a configurable statusline flag you can include in your statusline config. -5. Hover the mouse over a line containing an error and the error message is displayed as a balloon. -6. (not shown) Highlighting errors with syntax highlighting. Erroneous parts of lines can be highlighted. - -Installation ------------- - -[pathogen.vim](https://github.com/tpope/vim-pathogen) is the recommended way to install syntastic. - - cd ~/.vim/bundle - git clone https://github.com/scrooloose/syntastic.git - -Then reload vim, run `:helptags`, and check out `:help syntastic.txt`. - - -Google group ------------- - -To get information or make suggestions check out the [google group](https://groups.google.com/group/vim-syntastic). - - -Changelog ---------- - -2.2.0 (24-dec-2011) - - * only do syntax checks when files are saved (not when first opened) - add g:syntastic_check_on_open option to get the old behavior back - * bug fix with echoing error messages; fixes incompatability with cmd-t (datanoise) - * dont allow warnings to mask errors when signing/echoing errors (ashikase) - * auto close location list when leaving buffer. (millermedeiros) - * update errors appropriately when :SyntasticToggleMode is called - * updates/fixes to existing checkers: - * javascript/jshint (millermedeiros) - * javascript/jslint - * c (kongo2002) - * Support for new filetypes: - * JSON (millermedeiros, tocer) - * rst (reStructuredText files) (JNRowe) - * gentoo-metadata (JNRowe) - -2.1.0 (14-dec-2011) - - * when the cursor is on a line containing an error, echo the - * error msg (kevinw) - * various bug fixes and refactoring - * updates/fixes to existing checkers: - * html (millermedeiros) - * erlang - * coffeescript - * javascript - * sh - * php (add support for phpcs - technosophos) - * add an applescript checker (Zhai Cai) - * add support for hyphenated filetypes (JNRowe) - -2.0.0 (2-dec-2011): - - * Add support for highlighting the erroneous parts of lines (kstep) - * Add support for displaying errors via balloons (kstep) - * Add syntastic_mode_map option to give more control over when checking should be done. - * Add :SyntasticCheck command to force a syntax check - useful in passive mode (justone). - * Add the option to automatically close the location list, but not automatically open it (milkypostman) - * Add syntastic_auto_jump option to automatically jump to the first error (milkypostman) - * Only source syntax checkers as needed - instead of loading all of them when vim starts - - * Support for new filetypes: - * less (julienXX) - * docbook (tpope) - * matlab (jasongraham) - * go (dtjm) - * puppet (uggedal, roman, zsprackett) - * haskell (baldo, roman) - * tcl (et) - * vala (kstep) - * cuda (temporaer) - * css (oryband, sitedyno) - * fortran (Karl Yngve Lervåg) - * xml (kusnier) - * xslt (kusnier) - * erlang (kTT) - * zpt (claytron) - - * updates to existing checkers: - * javascript (mogren, bryanforbes, cjab, ajduncan) - * sass/scss (tmm1, atourino, dlee, epeli) - * ruby (changa) - * perl (harleypig) - * haml (bmihelac) - * php (kstep, docteurklein) - * python (kstep, soli) - * lua (kstep) - * html (kstep) - * xhtml (kstep) - * c (kongo2002, brandonw) - * cpp (kongo2002) - * coffee (industrial) - * eruby (sergevm) diff --git a/vim/bundle/syntastic/_assets/screenshot_1.png b/vim/bundle/syntastic/_assets/screenshot_1.png deleted file mode 100644 index c1b69f4ba26a2092aa4e9d42d2fa3ee08c6ab28a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 92425 zcmcF~byQSc6fcT^l&GYnN_T@ah?Gb>fOL1m5E6r+(jcI8cXxLq9Rmz7bPe4M4e#pr zeeb=s-dpSa^%iSjxHIRTbN1cw`|Y!Lkg}o-E*2>k3JMCYoa{SQ6ckij6qE;3kI{iE zYX*iO;LihRRhhRaCBx)fz(43l@-pvG?*IIxHRnbHS1=u9KRKhIVB`OJJwQoFA^|R9 zxX39;VZd?7@G;q=YL>Q9P+p?Qy_5LpKD#^b=7oQD-*yDk9dFit&)8Vxhcn~J7--Wy zG*bNdbzmL8--@)#JG2)}C8fc>54lWAD*}G&na1wV=g95*K&mk15_7aA7Dsxi@htX_ z>l;VrX;aU=V;*jzP*PH!?#@ID?bo5Qv$Nx%qrQFo>g!YB*PW<(Az^f1*NE8t;MLg< zXW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E03I{wQwHPnXV%qJNkQ - %{SyntasticStatuslineFlag()} -< -Something like this could be more useful: > - set statusline+=%#warningmsg# - set statusline+=%{SyntasticStatuslineFlag()} - set statusline+=%* -< -When syntax errors are detected a flag will be shown. The content of the flag -is derived from the |syntastic_stl_format| option ------------------------------------------------------------------------------- -2.2. Error signs *syntastic-error-signs* - -Syntastic uses the |:sign| commands to mark lines with errors and warnings in -the sign column. To enable this feature, use the |'syntastic_enable_signs'| -option. - ------------------------------------------------------------------------------- -2.3. The error window *:Errors* *syntastic-error-window* - -You can use the :Errors command to display the errors for the current buffer -in the |location-list|. - -Note that when you use :Errors, the current location list is overwritten with -Syntastic's own location list. - - -============================================================================== -3. Commands *syntastic-commands* - -:Errors *:SyntasticErrors* - -When errors have been detected, use this command to pop up the |location-list| -and display the error messages. - - -:SyntasticToggleMode *:SyntasticToggleMode* - -Toggles syntastic between active and passive mode. See |'syntastic_mode_map'| -for more info. - - -:SyntasticCheck *:SyntasticCheck* - -Manually cause a syntax check to be done. Useful in passive mode, or if the -current filetype is set to passive. See |'syntastic_mode_map'| for more info. - - -============================================================================== -4. Options *syntastic-options* - - - *'syntastic_check_on_open'* -Default: 0 -If enabled, syntastic will do syntax checks when buffers are first loaded as -well as on saving > - let g:syntastic_check_on_open=1 -< - - *'syntastic_echo_current_error'* -Default: 1 -If enabled, syntastic will error message associated with the current line to -the command window. If multiple errors are found, the first will be used. > - let g:syntastic_echo_current_error=1 -< - - *'syntastic_enable_signs'* -Default: 1 -Use this option to tell syntastic whether to use the |:sign| interface to mark -syntax errors: > - let g:syntastic_enable_signs=1 -< - - *'syntastic_enable_balloons'* -Default: 1 -Use this option to tell syntastic whether to display error messages in balloons -when the mouse is hovered over erroneous lines: > - let g:syntastic_enable_balloons = 1 -< -Note that vim must be compiled with |+balloon_eval|. - - *'syntastic_enable_highlighting'* -Default: 1 -Use this option to tell syntastic whether to use syntax highlighting to mark -errors (where possible). Highlighting can be turned off with the following > - let g:syntastic_enable_highlighting = 0 -< - - *'syntastic_auto_jump'* -Default: 0 -Enable this option if you want the cursor to jump to the first detected error -when saving or opening a file: > - let g:syntastic_auto_jump=1 -< - - *'syntastic_auto_loc_list'* -Default: 2 -Use this option to tell syntastic to automatically open and/or close the -|location-list| (see |syntastic-error-window|). - -When set to 0 the error window will not be opened or closed automatically. > - let g:syntastic_auto_loc_list=0 -< - -When set to 1 the error window will be automatically opened when errors are -detected, and closed when none are detected. > - let g:syntastic_auto_loc_list=1 -< -When set to 2 the error window will be automatically closed when no errors are -detected, but not opened automatically. > - let g:syntastic_auto_loc_list=2 -< - - *'syntastic_mode_map'* -Default: { "mode": "active", - "active_filetypes": [], - "passive_filetypes": [] } - -Use this option to fine tune when automatic syntax checking is done (or not -done). - -The option should be set to something like: > - - let g:syntastic_mode_map = { 'mode': 'active', - \ 'active_filetypes': ['ruby', 'php'], - \ 'passive_filetypes': ['puppet'] } -< - -"mode" can be mapped to one of two values - "active" or "passive". When set to -active, syntastic does automatic checking whenever a buffer is saved or -initially opened. When set to "passive" syntastic only checks when the user -calls :SyntasticCheck. - -The exceptions to these rules are defined with "active_filetypes" and -"passive_filetypes". In passive mode, automatic checks are still done -for all filetypes in the "active_filetypes" array. In active mode, -automatic checks are not done for any filetypes in the -"passive_filetypes" array. - -At runtime, the |:SyntasticToggleMode| command can be used to switch between -active and passive mode. - -If any of "mode", "active_filetypes", or "passive_filetypes" are not specified -then they will default to their default value as above. - - *'syntastic_quiet_warnings'* - -Use this option if you only care about syntax errors, not warnings. When set, -this option has the following effects: - * no |signs| appear unless there is at least one error, whereupon both - errors and warnings are displayed - * the |'syntastic_auto_loc_list'| option only pops up the error window if - there's at least one error, whereupon both errors and warnings are - displayed -> - let g:syntastic_quiet_warnings=1 -< - - *'syntastic_stl_format'* - -Default: [Syntax: line:%F (%t)] -Use this option to control what the syntastic statusline text contains. Several -magic flags are availble to insert information: - %e - number of errors - %w - number of warnings - %t - total number of warnings and errors - %fe - line number of first error - %fw - line number of first warning - %F - line number of first warning or error - -Several additional flags are available to hide text under certain conditions: - %E{...} - hide the text in the brackets unless there are errors - %W{...} - hide the text in the brackets unless there are warnings - %B{...} - hide the text in the brackets unless there are both warnings AND - errors -These flags cant be nested. - -Example: > - let g:syntastic_stl_format = '[%E{Err: %fe #%e}%B{, }%W{Warn: %fw #%w}]' -< -If this format is used and the current buffer has 5 errors and 1 warning -starting on lines 20 and 10 respectively then this would appear on the -statusline: > - [Err: 20 #5, Warn: 10 #1] -< -If the buffer had 2 warnings, starting on line 5 then this would appear: > - [Warn: 5 #2] -< - - -============================================================================== -5. Writing syntax checkers *syntastic-syntax-checkers* - - -A syntax checker plugin is really nothing more than a single function. You -should define them in ~/.vim/syntax_checkers/.vim, but this is -purely for convenience; Syntastic doesn't actually care where these functions -are defined. - -A syntax checker plugin must define a function of the form: -> - SyntaxCheckers__GetLocList() -< -The output of this function must be of the same format as that returned by -the |getloclist()| function. See |getloclist()| and |getqflist()| for -details. - -To achieve this, the function should call |SyntasticMake()| or shell out to a -syntax checker, parse the output and munge it into the format. - -There are several syntax checker plugins provided with this plugin. The ruby -one is a good example of |SyntasticMake()|, while the haml one is a good -example of how to create the data structure manually. - - -SyntasticMake({options}) *SyntasticMake()* - {options} must be a dictionary. It can contain "makeprg" and "errorformat" - as keys (both optional). - - SyntasticMake will run |:lmake| with the given |'makeprg'| and - |'errorformat'| (using the current settings if none are supplied). It will - store the resulting error list and use it to provide all of the - |syntastic-functionality|. The previous makeprg and errorformat settings - will then be restored, as well as the location list for the window. From - the user's perspective, it will be as though |:lmake| was never run. - - Note that the given "makeprg" and "errorformat" will be set using |:let-&|, - so you should not escape spaces. - - -============================================================================== -6. About *syntastic-about* - -The author of syntastic is a mighty wild stallion, hear him roar! > - _ _ _____ _____ ___ ___ ___ ____ _ _ _ - | \ | | ____| ____|_ _|_ _|_ _/ ___| | | | | - | \| | _| | _| | | | | | | | _| |_| | | - | |\ | |___| |___ | | | | | | |_| | _ |_| - |_| \_|_____|_____|___|___|___\____|_| |_(_) - -< -He likes to trot around in the back yard reading his emails and sipping a -scolding hot cup of Earl Grey. Email him at martin.grenfell at gmail dot com. -He can also be found trolling the #vim channel on the freenode IRC network as -scrooloose. - -Bug reports, feedback, suggestions etc are welcomed. - - -The latest official releases will be on vim.org at some point. - -The latest dev versions are on github - http://github.com/scrooloose/syntastic - -============================================================================== -7. Changelog *syntastic-changelog* - -next - - Support for new filetypes: - - yaml - -2.2.0 - - only do syntax checks when files are saved (not when first opened) - add - g:syntastic_check_on_open option to get the old behavior back - - bug fix with echoing error messages; fixes incompatability with cmd-t (datanoise) - - dont allow warnings to mask errors when signing/echoing errors (ashikase) - - auto close location list when leaving buffer. (millermedeiros) - - update errors appropriately when :SyntasticToggleMode is called - - updates/fixes to existing checkers: - - javascript/jshint (millermedeiros) - - javascript/jslint - - c (kongo2002) - - Support for new filetypes: - - JSON (millermedeiros, tocer) - - rst (reStructuredText files) (JNRowe) - - gentoo-metadata (JNRowe) - - -2.1.0 - - when the cursor is on a line containing an error, echo the - error msg (kevinw) - - various bug fixes and refactoring - - updates/fixes to existing checkers: - - html (millermedeiros) - - erlang - - coffeescript - - javascript - - sh - - php (add support for phpcs - technosophos) - - add an applescript checker (Zhai Cai) - - add support for hyphenated filetypes (JNRowe) - -2.0.0 - - Add support for highlighting the erroneous parts of lines (kstep) - - Add support for displaying errors via balloons (kstep) - - Add syntastic_mode_map option to give more control over when checking - should be done. - - Add :SyntasticCheck command to force a syntax check - useful in passive - mode (justone). - - Add the option to automatically close the location list, but not - automatically open it (milkypostman) - - Add syntastic_auto_jump option to automatically jump to the first - error (milkypostman) - - Only source syntax checkers as needed - instead of loading all of them - when vim starts - - - Support for new filetypes: - - less (julienXX) - - docbook (tpope) - - matlab (jasongraham) - - go (dtjm) - - puppet (uggedal, roman, zsprackett) - - haskell (baldo, roman) - - tcl (et) - - vala (kstep) - - cuda (temporaer) - - css (oryband, sitedyno) - - fortran (Karl Yngve Lervåg) - - xml (kusnier) - - xslt (kusnier) - - erlang (kTT) - - zpt (claytron) - - - updates to existing checkers: - - javascript (mogren, bryanforbes, cjab, ajduncan) - - sass/scss (tmm1, atourino, dlee, epeli) - - ruby (changa) - - perl (harleypig) - - haml (bmihelac) - - php (kstep, docteurklein) - - python (kstep, soli) - - lua (kstep) - - html (kstep) - - xhtml (kstep) - - c (kongo2002, brandonw) - - cpp (kongo2002) - - coffee (industrial) - - eruby (sergevm) - -1.2.0 - - New syntax checkers from github:kongo2002 - - c (thanks also to github:jperras) - - cpp - - lua - - sh (thanks also to github:jmcantrell) - - add coffee syntax checked by github:lstoll - - add tex syntax checker - - make html checker play nicer with html5, thanks to github:enaeseth - - escape filenames properly when invoking syntax checkers, thanks to - github:jmcantrell - - adjust the ruby syntax checker to avoid some common annoying warnings, - thanks to github:robertwahler - -1.1.0 [codenamed: tpimp] - - Dont load rubygems for ruby/eruby syntax checkers. Thanks tpope. - - Improve the javascript syntax checker to catch some warnings that were - getting missed. Thanks tpope. - - Dont automatically focus the error window. Thanks tpope. - - Add support for cucumber [tpope], haskell & perl [Anthony Carapetis], - and xhtml - - Add commands to enable/disable syntax checking at runtime. See :help - syntastic-commands. - - Add an option to specifiy syntax checkers that should be disabled by - default. See :help syntastic_disabled_filetypes. - - Dont use :signs if vim wasnt compiled with support for them. -) - -============================================================================== -8. Credits *syntastic-credits* - -Thanks to the following people for testing, bug reports, patches etc. They own, -hard. - - Benji Fisher (benjifisher) - Lance Fetters (ashikase) - datanoise - Giuseppe Rota (grota) - tocer - James Rowe (JNRowe) - Zhai Cai - Matt Butcher (technosophos) - Kevin Watters (kevinw) - Miller Medeiros (millermedeiros) - Pawel Salata (kTT) - Fjölnir Ásgeirsson (aptiva) - Clayton Parker (claytron) - S. Zachariah Sprackett (zsprackett) - Sylvain Soliman (soli) - Ricardo Catalinas Jiménez (jimenezrick) - kusnier - Klein Florian (docteurklein) - sitedyno - Matthew Batema (mlb-) - Nate Jones (justone) - sergevm - Karl Yngve Lervåg - Pavel Argentov (argent-smith) - Andy Duncan (ajduncan) - Antonio Touriño (atourino) - Chad Jablonski (cjab) - Roman Gonzalez (roman) - Tom Wieland (industrial) - Ory Band (oryband) - Esa-Matti Suuronen (epeli) - Brandon Waskiewicz (brandonw) - dlee - temporaer - Jason Graham (jasongraham) - Sam Nguyen (dtjm) - Claes Mogren (mogren) - Eivind Uggedal (uggedal) - kstep - Andreas Baldeau (baldo) - Eric Thomas (et) - Brian Donovan (eventualbuddha) - Bryan Forbes (bryanforbes) - Aman Gupta (tmm1) - Donald Ephraim Curtis (milkypostman) - Dominique Rose-Rosette (changa) - Harley Pig (harleypig) - bmihelac - Julien Blanchard (julienXX) - Gregor Uhlenheuer (kongo2002) - Lincoln Stoll - Tim Carey-Smith (halorgium) - Tim Pope (tpope) - Travis Jeffery - Anthony Carapetis - - -============================================================================== -9. License *syntastic-license* - -Syntastic is released under the wtfpl. -See http://sam.zoy.org/wtfpl/COPYING. diff --git a/vim/bundle/syntastic/plugin/syntastic.vim b/vim/bundle/syntastic/plugin/syntastic.vim deleted file mode 100644 index ccfbb79..0000000 --- a/vim/bundle/syntastic/plugin/syntastic.vim +++ /dev/null @@ -1,562 +0,0 @@ -"============================================================================ -"File: syntastic.vim -"Description: vim plugin for on the fly syntax checking -"Maintainer: Martin Grenfell -"Version: 2.2.0 -"Last Change: 24 Dec, 2011 -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ - -if exists("g:loaded_syntastic_plugin") - finish -endif -let g:loaded_syntastic_plugin = 1 - -let s:running_windows = has("win16") || has("win32") || has("win64") - -if !s:running_windows - let s:uname = system('uname') -endif - -if !exists("g:syntastic_enable_signs") - let g:syntastic_enable_signs = 1 -endif -if !has('signs') - let g:syntastic_enable_signs = 0 -endif - -if !exists("g:syntastic_enable_balloons") - let g:syntastic_enable_balloons = 1 -endif -if !has('balloon_eval') - let g:syntastic_enable_balloons = 0 -endif - -if !exists("g:syntastic_enable_highlighting") - let g:syntastic_enable_highlighting = 1 -endif - -if !exists("g:syntastic_echo_current_error") - let g:syntastic_echo_current_error = 1 -endif - -if !exists("g:syntastic_auto_loc_list") - let g:syntastic_auto_loc_list = 2 -endif - -if !exists("g:syntastic_auto_jump") - let syntastic_auto_jump=0 -endif - -if !exists("g:syntastic_quiet_warnings") - let g:syntastic_quiet_warnings = 0 -endif - -if !exists("g:syntastic_stl_format") - let g:syntastic_stl_format = '[Syntax: line:%F (%t)]' -endif - -if !exists("g:syntastic_mode_map") - let g:syntastic_mode_map = {} -endif - -if !has_key(g:syntastic_mode_map, "mode") - let g:syntastic_mode_map['mode'] = 'active' -endif - -if !has_key(g:syntastic_mode_map, "active_filetypes") - let g:syntastic_mode_map['active_filetypes'] = [] -endif - -if !has_key(g:syntastic_mode_map, "passive_filetypes") - let g:syntastic_mode_map['passive_filetypes'] = [] -endif - -if !exists("g:syntastic_check_on_open") - let g:syntastic_check_on_open = 0 -endif - -command! SyntasticToggleMode call s:ToggleMode() -command! SyntasticCheck call s:UpdateErrors(0) redraw! -command! Errors call s:ShowLocList() - -highlight link SyntasticError SpellBad -highlight link SyntasticWarning SpellCap - -augroup syntastic - if g:syntastic_echo_current_error - autocmd cursormoved * call s:EchoCurrentError() - endif - - autocmd BufReadPost * if g:syntastic_check_on_open | call s:UpdateErrors(1) | endif - autocmd BufWritePost * call s:UpdateErrors(1) - - autocmd BufWinEnter * if empty(&bt) | call s:AutoToggleLocList() | endif - autocmd BufWinLeave * if empty(&bt) | lclose | endif -augroup END - - -"refresh and redraw all the error info for this buf when saving or reading -function! s:UpdateErrors(auto_invoked) - if !empty(&buftype) - return - endif - - if !a:auto_invoked || s:ModeMapAllowsAutoChecking() - call s:CacheErrors() - end - - if s:BufHasErrorsOrWarningsToDisplay() - call setloclist(0, s:LocList()) - endif - - if g:syntastic_enable_balloons - call s:RefreshBalloons() - endif - - if g:syntastic_enable_signs - call s:RefreshSigns() - endif - - if g:syntastic_auto_jump && s:BufHasErrorsOrWarningsToDisplay() - silent! ll - endif - - call s:AutoToggleLocList() -endfunction - -"automatically open/close the location list window depending on the users -"config and buffer error state -function! s:AutoToggleLocList() - if s:BufHasErrorsOrWarningsToDisplay() - if g:syntastic_auto_loc_list == 1 - call s:ShowLocList() - endif - else - if g:syntastic_auto_loc_list > 0 - - "TODO: this will close the loc list window if one was opened by - "something other than syntastic - lclose - endif - endif -endfunction - -"lazy init the loc list for the current buffer -function! s:LocList() - if !exists("b:syntastic_loclist") - let b:syntastic_loclist = [] - endif - return b:syntastic_loclist -endfunction - -"clear the loc list for the buffer -function! s:ClearLocList() - let b:syntastic_loclist = [] -endfunction - -"detect and cache all syntax errors in this buffer -" -"depends on a function called SyntaxCheckers_{&ft}_GetLocList() existing -"elsewhere -function! s:CacheErrors() - call s:ClearLocList() - - if filereadable(expand("%")) - - "sub - for _ in filetypes otherwise we cant name syntax checker - "functions legally for filetypes like "gentoo-metadata" - let fts = substitute(&ft, '-', '_', 'g') - for ft in split(fts, '\.') - if s:Checkable(ft) - let errors = SyntaxCheckers_{ft}_GetLocList() - "make errors have type "E" by default - call SyntasticAddToErrors(errors, {'type': 'E'}) - call extend(s:LocList(), errors) - endif - endfor - endif -endfunction - -"toggle the g:syntastic_mode_map['mode'] -function! s:ToggleMode() - if g:syntastic_mode_map['mode'] == "active" - let g:syntastic_mode_map['mode'] = "passive" - else - let g:syntastic_mode_map['mode'] = "active" - endif - - call s:ClearLocList() - call s:UpdateErrors(1) - - echo "Syntastic: " . g:syntastic_mode_map['mode'] . " mode enabled" -endfunction - -"check the current filetypes against g:syntastic_mode_map to determine whether -"active mode syntax checking should be done -function! s:ModeMapAllowsAutoChecking() - let fts = split(&ft, '\.') - - if g:syntastic_mode_map['mode'] == 'passive' - "check at least one filetype is active - let actives = g:syntastic_mode_map["active_filetypes"] - return !empty(filter(fts, 'index(actives, v:val) != -1')) - else - "check no filetypes are passive - let passives = g:syntastic_mode_map["passive_filetypes"] - return empty(filter(fts, 'index(passives, v:val) != -1')) - endif -endfunction - -"return true if there are cached errors/warnings for this buf -function! s:BufHasErrorsOrWarnings() - return !empty(s:LocList()) -endfunction - -"return true if there are cached errors for this buf -function! s:BufHasErrors() - return len(s:ErrorsForType('E')) > 0 -endfunction - -function! s:BufHasErrorsOrWarningsToDisplay() - return s:BufHasErrors() || (!g:syntastic_quiet_warnings && s:BufHasErrorsOrWarnings()) -endfunction - -function! s:ErrorsForType(type) - return s:FilterLocList({'type': a:type}) -endfunction - -function! s:Errors() - return s:ErrorsForType("E") -endfunction - -function! s:Warnings() - return s:ErrorsForType("W") -endfunction - -"Filter a loc list (defaults to s:LocList()) by a:filters -"e.g. -" s:FilterLocList({'bufnr': 10, 'type': 'e'}) -" -"would return all errors in s:LocList() for buffer 10. -" -"Note that all comparisons are done with ==? -function! s:FilterLocList(filters, ...) - let llist = a:0 ? a:1 : s:LocList() - - let rv = deepcopy(llist) - for error in llist - for key in keys(a:filters) - let rhs = a:filters[key] - if type(rhs) == 1 "string - let rhs = '"' . rhs . '"' - endif - - call filter(rv, "v:val['".key."'] ==? " . rhs) - endfor - endfor - return rv -endfunction - -if g:syntastic_enable_signs - "use >> to display syntax errors in the sign column - sign define SyntasticError text=>> texthl=error - sign define SyntasticWarning text=>> texthl=todo -endif - -"start counting sign ids at 5000, start here to hopefully avoid conflicting -"with any other code that places signs (not sure if this precaution is -"actually needed) -let s:first_sign_id = 5000 -let s:next_sign_id = s:first_sign_id - -"place signs by all syntax errs in the buffer -function! s:SignErrors() - if s:BufHasErrorsOrWarningsToDisplay() - - let errors = s:FilterLocList({'bufnr': bufnr('')}) - for i in errors - let sign_type = 'SyntasticError' - if i['type'] ==? 'W' - let sign_type = 'SyntasticWarning' - endif - - if !s:WarningMasksError(i, errors) - exec "sign place ". s:next_sign_id ." line=". i['lnum'] ." name=". sign_type ." file=". expand("%:p") - call add(s:BufSignIds(), s:next_sign_id) - let s:next_sign_id += 1 - endif - endfor - endif -endfunction - -"return true if the given error item is a warning that, if signed, would -"potentially mask an error if displayed at the same time -function! s:WarningMasksError(error, llist) - if a:error['type'] !=? 'w' - return 0 - endif - - return len(s:FilterLocList({ 'type': "E", 'lnum': a:error['lnum'] }, a:llist)) > 0 -endfunction - -"remove the signs with the given ids from this buffer -function! s:RemoveSigns(ids) - for i in a:ids - exec "sign unplace " . i - call remove(s:BufSignIds(), index(s:BufSignIds(), i)) - endfor -endfunction - -"get all the ids of the SyntaxError signs in the buffer -function! s:BufSignIds() - if !exists("b:syntastic_sign_ids") - let b:syntastic_sign_ids = [] - endif - return b:syntastic_sign_ids -endfunction - -"update the error signs -function! s:RefreshSigns() - let old_signs = copy(s:BufSignIds()) - call s:SignErrors() - call s:RemoveSigns(old_signs) - let s:first_sign_id = s:next_sign_id -endfunction - -"display the cached errors for this buf in the location list -function! s:ShowLocList() - if !empty(s:LocList()) - let num = winnr() - lopen - if num != winnr() - wincmd p - endif - endif -endfunction - -"remove all error highlights from the window -function! s:ClearErrorHighlights() - for match in getmatches() - if stridx(match['group'], 'Syntastic') == 0 - call matchdelete(match['id']) - endif - endfor -endfunction - -"check if a syntax checker exists for the given filetype - and attempt to -"load one -function! s:Checkable(ft) - if !exists("g:loaded_" . a:ft . "_syntax_checker") - exec "runtime syntax_checkers/" . a:ft . ".vim" - endif - - return exists("*SyntaxCheckers_". a:ft ."_GetLocList") -endfunction - -"set up error ballons for the current set of errors -function! s:RefreshBalloons() - let b:syntastic_balloons = {} - if s:BufHasErrorsOrWarningsToDisplay() - for i in s:LocList() - let b:syntastic_balloons[i['lnum']] = i['text'] - endfor - set beval bexpr=SyntasticErrorBalloonExpr() - endif -endfunction - -"print as much of a:msg as possible without "Press Enter" prompt appearing -function! s:WideMsg(msg) - let old_ruler = &ruler - let old_showcmd = &showcmd - - let msg = strpart(a:msg, 0, winwidth(0)-1) - - "This is here because it is possible for some error messages to begin with - "\n which will cause a "press enter" prompt. I have noticed this in the - "javascript:jshint checker and have been unable to figure out why it - "happens - let msg = substitute(msg, "\n", "", "g") - - set noruler noshowcmd - redraw - - echo msg - - let &ruler=old_ruler - let &showcmd=old_showcmd -endfunction - -"echo out the first error we find for the current line in the cmd window -function! s:EchoCurrentError() - "If we have an error or warning at the current line, show it - let errors = s:FilterLocList({'lnum': line("."), "type": 'e'}) - let warnings = s:FilterLocList({'lnum': line("."), "type": 'w'}) - - let b:syntastic_echoing_error = len(errors) || len(warnings) - if len(errors) - return s:WideMsg(errors[0]['text']) - endif - if len(warnings) - return s:WideMsg(warnings[0]['text']) - endif - - "Otherwise, clear the status line - if b:syntastic_echoing_error - echo - let b:syntastic_echoing_error = 0 - endif -endfunction - -"return a string representing the state of buffer according to -"g:syntastic_stl_format -" -"return '' if no errors are cached for the buffer -function! SyntasticStatuslineFlag() - if s:BufHasErrorsOrWarningsToDisplay() - let errors = s:Errors() - let warnings = s:Warnings() - - let output = g:syntastic_stl_format - - "hide stuff wrapped in %E(...) unless there are errors - let output = substitute(output, '\C%E{\([^}]*\)}', len(errors) ? '\1' : '' , 'g') - - "hide stuff wrapped in %W(...) unless there are warnings - let output = substitute(output, '\C%W{\([^}]*\)}', len(warnings) ? '\1' : '' , 'g') - - "hide stuff wrapped in %B(...) unless there are both errors and warnings - let output = substitute(output, '\C%B{\([^}]*\)}', (len(warnings) && len(errors)) ? '\1' : '' , 'g') - - "sub in the total errors/warnings/both - let output = substitute(output, '\C%w', len(warnings), 'g') - let output = substitute(output, '\C%e', len(errors), 'g') - let output = substitute(output, '\C%t', len(s:LocList()), 'g') - - "first error/warning line num - let output = substitute(output, '\C%F', s:LocList()[0]['lnum'], 'g') - - "first error line num - let output = substitute(output, '\C%fe', len(errors) ? errors[0]['lnum'] : '', 'g') - - "first warning line num - let output = substitute(output, '\C%fw', len(warnings) ? warnings[0]['lnum'] : '', 'g') - - return output - else - return '' - endif -endfunction - -"A wrapper for the :lmake command. Sets up the make environment according to -"the options given, runs make, resets the environment, returns the location -"list -" -"a:options can contain the following keys: -" 'makeprg' -" 'errorformat' -" -"The corresponding options are set for the duration of the function call. They -"are set with :let, so dont escape spaces. -" -"a:options may also contain: -" 'defaults' - a dict containing default values for the returned errors -function! SyntasticMake(options) - let old_loclist = getloclist(0) - let old_makeprg = &makeprg - let old_shellpipe = &shellpipe - let old_shell = &shell - let old_errorformat = &errorformat - - if !s:running_windows && (s:uname !~ "FreeBSD") - "this is a hack to stop the screen needing to be ':redraw'n when - "when :lmake is run. Otherwise the screen flickers annoyingly - let &shellpipe='&>' - let &shell = '/bin/bash' - endif - - if has_key(a:options, 'makeprg') - let &makeprg = a:options['makeprg'] - endif - - if has_key(a:options, 'errorformat') - let &errorformat = a:options['errorformat'] - endif - - silent lmake! - let errors = getloclist(0) - - call setloclist(0, old_loclist) - let &makeprg = old_makeprg - let &errorformat = old_errorformat - let &shellpipe=old_shellpipe - let &shell=old_shell - - if !s:running_windows && s:uname =~ "FreeBSD" - redraw! - endif - - if has_key(a:options, 'defaults') - call SyntasticAddToErrors(errors, a:options['defaults']) - endif - - return errors -endfunction - -"get the error balloon for the current mouse position -function! SyntasticErrorBalloonExpr() - if !exists('b:syntastic_balloons') - return '' - endif - return get(b:syntastic_balloons, v:beval_lnum, '') -endfunction - -"highlight the list of errors (a:errors) using matchadd() -" -"a:termfunc is provided to highlight errors that do not have a 'col' key (and -"hence cant be done automatically). This function must take one arg (an error -"item) and return a regex to match that item in the buffer. -" -"an optional boolean third argument can be provided to force a:termfunc to be -"used regardless of whether a 'col' key is present for the error -function! SyntasticHighlightErrors(errors, termfunc, ...) - if !g:syntastic_enable_highlighting - return - endif - - call s:ClearErrorHighlights() - - let force_callback = a:0 && a:1 - for item in a:errors - let group = item['type'] == 'E' ? 'SyntasticError' : 'SyntasticWarning' - if item['col'] && !force_callback - let lastcol = col([item['lnum'], '$']) - let lcol = min([lastcol, item['col']]) - call matchadd(group, '\%'.item['lnum'].'l\%'.lcol.'c') - else - let term = a:termfunc(item) - if len(term) > 0 - call matchadd(group, '\%' . item['lnum'] . 'l' . term) - endif - endif - endfor -endfunction - -"take a list of errors and add default values to them from a:options -function! SyntasticAddToErrors(errors, options) - for i in range(0, len(a:errors)-1) - for key in keys(a:options) - if empty(a:errors[i][key]) - let a:errors[i][key] = a:options[key] - endif - endfor - endfor - return a:errors -endfunction - -" vim: set et sts=4 sw=4: diff --git a/vim/bundle/syntastic/syntax_checkers/applescript.vim b/vim/bundle/syntastic/syntax_checkers/applescript.vim deleted file mode 100644 index eb7a6f2..0000000 --- a/vim/bundle/syntastic/syntax_checkers/applescript.vim +++ /dev/null @@ -1,43 +0,0 @@ -"============================================================================== -" FileName: applescript.vim -" Desc: Syntax checking plugin for syntastic.vim -" Author: Zhao Cai -" Email: caizhaoff@gmail.com -" Version: 0.2.1 -" Date Created: Thu 09 Sep 2011 10:30:09 AM EST -" Last Modified: Fri 09 Dec 2011 01:10:24 PM EST -" -" History: 0.1.0 - working, but it will run the script everytime to check -" syntax. Should use osacompile but strangely it does not give -" errors. -" -" 0.2.0 - switch to osacompile, it gives less errors compared -" with osascript. -" -" 0.2.1 - remove g:syntastic_applescript_tempfile. use -" tempname() instead. -" -" License: This program is free software. It comes without any -" warranty, to the extent permitted by applicable law. You can -" redistribute it and/or modify it under the terms of the Do What The -" Fuck You Want To Public License, Version 2, as published by Sam -" Hocevar. See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ - -if exists("loaded_applescript_syntax_checker") - finish -endif -let loaded_applescript_syntax_checker = 1 - -"bail if the user doesnt have osacompile installed -if !executable("osacompile") - finish -endif - -function! SyntaxCheckers_applescript_GetLocList() - let makeprg = 'osacompile -o ' . tempname() . '.scpt '. shellescape(expand('%')) - let errorformat = '%f:%l:%m' - - return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) -endfunction diff --git a/vim/bundle/syntastic/syntax_checkers/c.vim b/vim/bundle/syntastic/syntax_checkers/c.vim deleted file mode 100644 index 8bd486b..0000000 --- a/vim/bundle/syntastic/syntax_checkers/c.vim +++ /dev/null @@ -1,156 +0,0 @@ -"============================================================================ -"File: c.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Gregor Uhlenheuer -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ - -" In order to also check header files add this to your .vimrc: -" (this usually creates a .gch file in your source directory) -" -" let g:syntastic_c_check_header = 1 -" -" To disable the search of included header files after special -" libraries like gtk and glib add this line to your .vimrc: -" -" let g:syntastic_c_no_include_search = 1 -" -" To enable header files being re-checked on every file write add the -" following line to your .vimrc. Otherwise the header files are checked only -" one time on initially loading the file. -" In order to force syntastic to refresh the header includes simply -" unlet b:syntastic_c_includes. Then the header files are being re-checked on -" the next file write. -" -" let g:syntastic_c_auto_refresh_includes = 1 -" -" Alternatively you can set the buffer local variable b:syntastic_c_cflags. -" If this variable is set for the current buffer no search for additional -" libraries is done. I.e. set the variable like this: -" -" let b:syntastic_c_cflags = ' -I/usr/include/libsoup-2.4' -" -" In order to add some custom include directories that should be added to the -" gcc command line you can add those to the global variable -" g:syntastic_c_include_dirs. This list can be used like this: -" -" let g:syntastic_c_include_dirs = [ 'includes', 'headers' ] -" -" Moreover it is possible to add additional compiler options to the syntax -" checking execution via the variable 'g:syntastic_c_compiler_options': -" -" let g:syntastic_c_compiler_options = ' -ansi' -" -" Using the global variable 'g:syntastic_c_remove_include_errors' you can -" specify whether errors of files included via the g:syntastic_c_include_dirs' -" setting are removed from the result set: -" -" let g:syntastic_c_remove_include_errors = 1 - -if exists('loaded_c_syntax_checker') - finish -endif -let loaded_c_syntax_checker = 1 - -if !executable('gcc') - finish -endif - -let s:save_cpo = &cpo -set cpo&vim - -" default include directories -let s:default_includes = [ '.', '..', 'include', 'includes', - \ '../include', '../includes' ] - -" uniquify the input list -function! s:Unique(list) - let l = [] - for elem in a:list - if index(l, elem) == -1 - let l = add(l, elem) - endif - endfor - return l -endfunction - -" get the gcc include directory argument depending on the default -" includes and the optional user-defined 'g:syntastic_c_include_dirs' -function! s:GetIncludeDirs() - let include_dirs = s:default_includes - - if exists('g:syntastic_c_include_dirs') - call extend(include_dirs, g:syntastic_c_include_dirs) - endif - - return join(map(s:Unique(include_dirs), '"-I" . v:val'), ' ') -endfunction - -function! SyntaxCheckers_c_GetLocList() - let makeprg = 'gcc -fsyntax-only -std=gnu99 '.shellescape(expand('%')). - \ ' '.s:GetIncludeDirs() - let errorformat = '%-G%f:%s:,%-G%f:%l: %#error: %#(Each undeclared '. - \ 'identifier is reported only%.%#,%-G%f:%l: %#error: %#for '. - \ 'each function it appears%.%#,%-GIn file included%.%#,'. - \ '%-G %#from %f:%l\,,%f:%l:%c: %m,%f:%l: %trror: %m,%f:%l: %m' - - " determine whether to parse header files as well - if expand('%') =~? '.h$' - if exists('g:syntastic_c_check_header') - let makeprg = 'gcc -c '.shellescape(expand('%')). - \ ' '.s:GetIncludeDirs() - else - return [] - endif - endif - - " add optional user-defined compiler options - if exists('g:syntastic_c_compiler_options') - let makeprg .= g:syntastic_c_compiler_options - endif - - " check if the user manually set some cflags - if !exists('b:syntastic_c_cflags') - " check whether to search for include files at all - if !exists('g:syntastic_c_no_include_search') || - \ g:syntastic_c_no_include_search != 1 - " refresh the include file search if desired - if exists('g:syntastic_c_auto_refresh_includes') && - \ g:syntastic_c_auto_refresh_includes != 0 - let makeprg .= syntastic#c#SearchHeaders() - else - " search for header includes if not cached already - if !exists('b:syntastic_c_includes') - let b:syntastic_c_includes = syntastic#c#SearchHeaders() - endif - let makeprg .= b:syntastic_c_includes - endif - endif - else - " use the user-defined cflags - let makeprg .= b:syntastic_c_cflags - endif - - " process makeprg - let errors = SyntasticMake({ 'makeprg': makeprg, - \ 'errorformat': errorformat }) - - " filter the processed errors if desired - if exists('g:syntastic_c_remove_include_errors') && - \ g:syntastic_c_remove_include_errors != 0 - return filter(errors, - \ 'has_key(v:val, "bufnr") && v:val["bufnr"]=='.bufnr('')) - else - return errors - endif -endfunction - -let &cpo = s:save_cpo -unlet s:save_cpo - -" vim: set et sts=4 sw=4: diff --git a/vim/bundle/syntastic/syntax_checkers/coffee.vim b/vim/bundle/syntastic/syntax_checkers/coffee.vim deleted file mode 100644 index 59dca75..0000000 --- a/vim/bundle/syntastic/syntax_checkers/coffee.vim +++ /dev/null @@ -1,27 +0,0 @@ -"============================================================================ -"File: coffee.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Lincoln Stoll -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ -if exists("loaded_coffee_syntax_checker") - finish -endif -let loaded_coffee_syntax_checker = 1 - -"bail if the user doesnt have coffee installed -if !executable("coffee") - finish -endif - -function! SyntaxCheckers_coffee_GetLocList() - let makeprg = 'coffee -c -l -o /tmp '.shellescape(expand('%')) - let errorformat = 'Syntax%trror: In %f\, %m on line %l,%EError: In %f\, Parse error on line %l: %m,%EError: In %f\, %m on line %l,%W%f(%l): lint warning: %m,%-Z%p^,%W%f(%l): warning: %m,%-Z%p^,%E%f(%l): SyntaxError: %m,%-Z%p^,%-G%.%#' - - return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) -endfunction diff --git a/vim/bundle/syntastic/syntax_checkers/cpp.vim b/vim/bundle/syntastic/syntax_checkers/cpp.vim deleted file mode 100644 index 1bacf93..0000000 --- a/vim/bundle/syntastic/syntax_checkers/cpp.vim +++ /dev/null @@ -1,94 +0,0 @@ -"============================================================================ -"File: cpp.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Gregor Uhlenheuer -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ - -" in order to also check header files add this to your .vimrc: -" (this usually creates a .gch file in your source directory) -" -" let g:syntastic_cpp_check_header = 1 -" -" To disable the search of included header files after special -" libraries like gtk and glib add this line to your .vimrc: -" -" let g:syntastic_cpp_no_include_search = 1 -" -" To enable header files being re-checked on every file write add the -" following line to your .vimrc. Otherwise the header files are checked only -" one time on initially loading the file. -" In order to force syntastic to refresh the header includes simply -" unlet b:syntastic_cpp_includes. Then the header files are being re-checked -" on the next file write. -" -" let g:syntastic_cpp_auto_refresh_includes = 1 -" -" Alternatively you can set the buffer local variable b:syntastic_cpp_cflags. -" If this variable is set for the current buffer no search for additional -" libraries is done. I.e. set the variable like this: -" -" let b:syntastic_cpp_cflags = ' -I/usr/include/libsoup-2.4' -" -" Moreover it is possible to add additional compiler options to the syntax -" checking execution via the variable 'g:syntastic_cpp_compiler_options': -" -" let g:syntastic_cpp_compiler_options = ' -std=c++0x' - -if exists('loaded_cpp_syntax_checker') - finish -endif -let loaded_cpp_syntax_checker = 1 - -if !executable('g++') - finish -endif - -let s:save_cpo = &cpo -set cpo&vim - -function! SyntaxCheckers_cpp_GetLocList() - let makeprg = 'g++ -fsyntax-only '.shellescape(expand('%')) - let errorformat = '%-G%f:%s:,%f:%l:%c: %m,%f:%l: %m' - - if expand('%') =~? '\%(.h\|.hpp\|.hh\)$' - if exists('g:syntastic_cpp_check_header') - let makeprg = 'g++ -c '.shellescape(expand('%')) - else - return [] - endif - endif - - if exists('g:syntastic_cpp_compiler_options') - let makeprg .= g:syntastic_cpp_compiler_options - endif - - if !exists('b:syntastic_cpp_cflags') - if !exists('g:syntastic_cpp_no_include_search') || - \ g:syntastic_cpp_no_include_search != 1 - if exists('g:syntastic_cpp_auto_refresh_includes') && - \ g:syntastic_cpp_auto_refresh_includes != 0 - let makeprg .= syntastic#c#SearchHeaders() - else - if !exists('b:syntastic_cpp_includes') - let b:syntastic_cpp_includes = syntastic#c#SearchHeaders() - endif - let makeprg .= b:syntastic_cpp_includes - endif - endif - else - let makeprg .= b:syntastic_cpp_cflags - endif - - return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) -endfunction - -let &cpo = s:save_cpo -unlet s:save_cpo - -" vim: set et sts=4 sw=4: diff --git a/vim/bundle/syntastic/syntax_checkers/css.vim b/vim/bundle/syntastic/syntax_checkers/css.vim deleted file mode 100644 index 99a16b8..0000000 --- a/vim/bundle/syntastic/syntax_checkers/css.vim +++ /dev/null @@ -1,31 +0,0 @@ -"============================================================================ -"File: css.vim -"Description: Syntax checking plugin for syntastic.vim using `csslint` CLI tool (http://csslint.net). -"Maintainer: Ory Band -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -"============================================================================ -if exists("loaded_css_syntax_checker") - finish -endif -let loaded_css_syntax_checker = 1 - -" Bail if the user doesn't have `csslint` installed. -if !executable("csslint") - finish -endif - -function! SyntaxCheckers_css_GetLocList() - let makeprg = 'csslint --format=compact '.shellescape(expand('%')) - - " Print CSS Lint's error/warning messages from compact format. Ignores blank lines. - let errorformat = '%-G,%-G%f: lint free!,%f: line %l\, col %c\, %trror - %m,%f: line %l\, col %c\, %tarning - %m,%f: line %l\, col %c\, %m,' - - return SyntasticMake({ 'makeprg': makeprg, - \ 'errorformat': errorformat, - \ 'defaults': {'bufnr': bufnr("")} }) - -endfunction diff --git a/vim/bundle/syntastic/syntax_checkers/cucumber.vim b/vim/bundle/syntastic/syntax_checkers/cucumber.vim deleted file mode 100644 index c9a87e1..0000000 --- a/vim/bundle/syntastic/syntax_checkers/cucumber.vim +++ /dev/null @@ -1,27 +0,0 @@ -"============================================================================ -"File: cucumber.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Martin Grenfell -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ -if exists("loaded_cucumber_syntax_checker") - finish -endif -let loaded_cucumber_syntax_checker = 1 - -"bail if the user doesnt have cucumber installed -if !executable("cucumber") - finish -endif - -function! SyntaxCheckers_cucumber_GetLocList() - let makeprg = 'cucumber --dry-run --quiet --strict --format pretty '.shellescape(expand('%')) - let errorformat = '%f:%l:%c:%m,%W %.%# (%m),%-Z%f:%l:%.%#,%-G%.%#' - - return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) -endfunction diff --git a/vim/bundle/syntastic/syntax_checkers/cuda.vim b/vim/bundle/syntastic/syntax_checkers/cuda.vim deleted file mode 100644 index 816505e..0000000 --- a/vim/bundle/syntastic/syntax_checkers/cuda.vim +++ /dev/null @@ -1,37 +0,0 @@ -"============================================================================ -"File: cuda.vim -"Description: Syntax checking plugin for syntastic.vim -" -"Author: Hannes Schulz -" -"============================================================================ - -" in order to also check header files add this to your .vimrc: -" (this creates an empty .syntastic_dummy.cu file in your source directory) -" -" let g:syntastic_cuda_check_header = 1 - -if exists('loaded_cuda_syntax_checker') - finish -endif -let loaded_cuda_syntax_checker = 1 - -if !executable('nvcc') - finish -endif - -function! SyntaxCheckers_cuda_GetLocList() - let makeprg = 'nvcc --cuda -O0 -I . -Xcompiler -fsyntax-only '.shellescape(expand('%')).' -o /dev/null' - "let errorformat = '%-G%f:%s:,%f:%l:%c: %m,%f:%l: %m' - let errorformat = '%*[^"]"%f"%*\D%l: %m,"%f"%*\D%l: %m,%-G%f:%l: (Each undeclared identifier is reported only once,%-G%f:%l: for each function it appears in.),%f:%l:%c:%m,%f(%l):%m,%f:%l:%m,"%f"\, line %l%*\D%c%*[^ ] %m,%D%*\a[%*\d]: Entering directory `%f'',%X%*\a[%*\d]: Leaving directory `%f'',%D%*\a: Entering directory `%f'',%X%*\a: Leaving directory `%f'',%DMaking %*\a in %f,%f|%l| %m' - - if expand('%') =~? '\%(.h\|.hpp\|.cuh\)$' - if exists('g:syntastic_cuda_check_header') - let makeprg = 'echo > .syntastic_dummy.cu ; nvcc --cuda -O0 -I . .syntastic_dummy.cu -Xcompiler -fsyntax-only -include '.shellescape(expand('%')).' -o /dev/null' - else - return [] - endif - endif - - return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) -endfunction diff --git a/vim/bundle/syntastic/syntax_checkers/docbk.vim b/vim/bundle/syntastic/syntax_checkers/docbk.vim deleted file mode 100644 index cd360e4..0000000 --- a/vim/bundle/syntastic/syntax_checkers/docbk.vim +++ /dev/null @@ -1,29 +0,0 @@ -"============================================================================ -"File: docbk.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Martin Grenfell -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ -if exists("loaded_docbk_syntax_checker") - finish -endif -let loaded_docbk_syntax_checker = 1 - -"bail if the user doesnt have tidy or grep installed -if !executable("xmllint") - finish -endif - -function! SyntaxCheckers_docbk_GetLocList() - - let makeprg="xmllint --xinclude --noout --postvalid ".shellescape(expand(%:p)) - let errorformat='%E%f:%l: parser error : %m,%W%f:%l: parser warning : %m,%E%f:%l:%.%# validity error : %m,%W%f:%l:%.%# validity warning : %m,%-Z%p^,%-C%.%#,%-G%.%#' - let loclist = SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) - - return loclist -endfunction diff --git a/vim/bundle/syntastic/syntax_checkers/erlang.vim b/vim/bundle/syntastic/syntax_checkers/erlang.vim deleted file mode 100644 index d7dceae..0000000 --- a/vim/bundle/syntastic/syntax_checkers/erlang.vim +++ /dev/null @@ -1,42 +0,0 @@ -"============================================================================ -"File: erlang.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Pawel Salata -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ -if exists("loaded_erlang_syntax_checker") - finish -endif -let loaded_erlang_syntax_checker = 1 - -"bail if the user doesnt have escript installed -if !executable("escript") - finish -endif - -let s:check_file = expand(':p:h') . '/erlang_check_file.erl' - -function! SyntaxCheckers_erlang_GetLocList() - let extension = expand('%:e') - if match(extension, 'hrl') >= 0 - return [] - endif - let shebang = getbufline(bufnr('%'), 1)[0] - if len(shebang) > 0 - if match(shebang, 'escript') >= 0 - let makeprg = 'escript -s '.shellescape(expand('%:p')) - else - let makeprg = s:check_file . ' '. shellescape(expand('%:p')) - endif - else - let makeprg = s:check_file . ' ' . shellescape(expand('%:p')) - endif - let errorformat = '%f:%l:\ %tarning:\ %m,%E%f:%l:\ %m' - - return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) -endfunction diff --git a/vim/bundle/syntastic/syntax_checkers/erlang_check_file.erl b/vim/bundle/syntastic/syntax_checkers/erlang_check_file.erl deleted file mode 100755 index 8a85bf6..0000000 --- a/vim/bundle/syntastic/syntax_checkers/erlang_check_file.erl +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env escript --export([main/1]). - -main([FileName]) -> - compile:file(FileName, [warn_obsolete_guard, - warn_unused_import, - warn_shadow_vars, - warn_export_vars, - strong_validation, - report, - {i, filename:dirname(FileName) ++ "/../include"} - ]). diff --git a/vim/bundle/syntastic/syntax_checkers/eruby.vim b/vim/bundle/syntastic/syntax_checkers/eruby.vim deleted file mode 100644 index fcff063..0000000 --- a/vim/bundle/syntastic/syntax_checkers/eruby.vim +++ /dev/null @@ -1,34 +0,0 @@ -"============================================================================ -"File: eruby.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Martin Grenfell -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ -if exists("loaded_eruby_syntax_checker") - finish -endif -let loaded_eruby_syntax_checker = 1 - -"bail if the user doesnt have ruby or cat installed -if !executable("ruby") || !executable("cat") - finish -endif - -function! SyntaxCheckers_eruby_GetLocList() - if has('win32') || has('win64') - let makeprg='sed "s/<\%=/<\%/g" '. shellescape(expand("%")) . ' \| ruby -e "require \"erb\"; puts ERB.new(ARGF.read, nil, \"-\").src" \| ruby -c' - else - let makeprg='sed "s/<\%=/<\%/g" '. shellescape(expand("%")) . ' \| RUBYOPT= ruby -e "require \"erb\"; puts ERB.new(ARGF.read, nil, \"-\").src" \| RUBYOPT= ruby -c' - endif - - let errorformat='%-GSyntax OK,%E-:%l: syntax error\, %m,%Z%p^,%W-:%l: warning: %m,%Z%p^,%-C%.%#' - return SyntasticMake({ 'makeprg': makeprg, - \ 'errorformat': errorformat, - \ 'defaults': {'bufnr': bufnr("")} }) - -endfunction diff --git a/vim/bundle/syntastic/syntax_checkers/fortran.vim b/vim/bundle/syntastic/syntax_checkers/fortran.vim deleted file mode 100644 index ee176f2..0000000 --- a/vim/bundle/syntastic/syntax_checkers/fortran.vim +++ /dev/null @@ -1,44 +0,0 @@ -"============================================================================ -"File: fortran.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Karl Yngve Lervåg -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -"Note: This syntax checker uses gfortran with the option -fsyntax-only -" to check for errors and warnings. Additional flags may be -" supplied through both local and global variables, -" b:syntastic_fortran_flags, -" g:syntastic_fortran_flags. -" This is particularly useful when the source requires module files -" in order to compile (that is when it needs modules defined in -" separate files). -" -"============================================================================ - -if exists("loaded_fortran_syntax_checker") - finish -endif -let loaded_fortran_syntax_checker = 1 - -"bail if the user doesnt have fortran installed -if !executable("gfortran") - finish -endif - -if !exists('g:syntastic_fortran_flags') - let g:syntastic_fortran_flags = '' -endif - -function! SyntaxCheckers_fortran_GetLocList() - let makeprg = 'gfortran -fsyntax-only' - let makeprg .= g:syntastic_fortran_flags - if exists('b:syntastic_fortran_flags') - let makeprg .= b:syntastic_fortran_flags - endif - let makeprg .= ' ' . shellescape(expand('%')) - let errorformat = '%-C %#,%-C %#%.%#,%A%f:%l.%c:,%Z%m,%G%.%#' - return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) -endfunction diff --git a/vim/bundle/syntastic/syntax_checkers/gentoo_metadata.vim b/vim/bundle/syntastic/syntax_checkers/gentoo_metadata.vim deleted file mode 100644 index d016a88..0000000 --- a/vim/bundle/syntastic/syntax_checkers/gentoo_metadata.vim +++ /dev/null @@ -1,37 +0,0 @@ -"============================================================================ -"File: gentoo-metadata.vim -"Description: Syntax checking plugin for Gentoo's metadata.xml files -"Maintainer: James Rowe -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ - -" The DTDs required to validate metadata.xml files are available in -" $PORTDIR/metadata/dtd, and these local files can be used to significantly -" speed up validation. You can create a catalog file with: -" -" xmlcatalog --create --add rewriteURI http://www.gentoo.org/dtd/ \ -" ${PORTDIR:-/usr/portage}/metadata/dtd/ /etc/xml/gentoo -" -" See xmlcatalog(1) and http://www.xmlsoft.org/catalog.html for more -" information. - -if exists("loaded_gentoo_metadata_syntax_checker") - finish -endif -let loaded_gentoo_metadata_syntax_checker = 1 - -"bail if the user doesn't have xmllint installed -if !executable("xmllint") - finish -endif - -runtime syntax_checkers/xml.vim - -function! SyntaxCheckers_gentoo_metadata_GetLocList() - return SyntaxCheckers_xml_GetLocList() -endfunction diff --git a/vim/bundle/syntastic/syntax_checkers/go.vim b/vim/bundle/syntastic/syntax_checkers/go.vim deleted file mode 100644 index b5b5ea8..0000000 --- a/vim/bundle/syntastic/syntax_checkers/go.vim +++ /dev/null @@ -1,27 +0,0 @@ -"============================================================================ -"File: go.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Sam Nguyen -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ -if exists("loaded_go_syntax_checker") - finish -endif -let loaded_go_syntax_checker = 1 - -"bail if the user doesnt have 6g installed -if !executable("6g") - finish -endif - -function! SyntaxCheckers_go_GetLocList() - let makeprg = '6g -o /dev/null %' - let errorformat = '%E%f:%l: %m' - - return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) -endfunction diff --git a/vim/bundle/syntastic/syntax_checkers/haml.vim b/vim/bundle/syntastic/syntax_checkers/haml.vim deleted file mode 100644 index b9ad6ad..0000000 --- a/vim/bundle/syntastic/syntax_checkers/haml.vim +++ /dev/null @@ -1,26 +0,0 @@ -"============================================================================ -"File: haml.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Martin Grenfell -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ -if exists("loaded_haml_syntax_checker") - finish -endif -let loaded_haml_syntax_checker = 1 - -"bail if the user doesnt have the haml binary installed -if !executable("haml") - finish -endif - -function! SyntaxCheckers_haml_GetLocList() - let makeprg = "haml -c " . shellescape(expand("%")) - let errorformat = 'Haml error on line %l: %m,Syntax error on line %l: %m,%-G%.%#' - return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) -endfunction diff --git a/vim/bundle/syntastic/syntax_checkers/haskell.vim b/vim/bundle/syntastic/syntax_checkers/haskell.vim deleted file mode 100644 index 07c55e8..0000000 --- a/vim/bundle/syntastic/syntax_checkers/haskell.vim +++ /dev/null @@ -1,37 +0,0 @@ -"============================================================================ -"File: haskell.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Anthony Carapetis -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ -if exists("loaded_haskell_syntax_checker") - finish -endif -let loaded_haskell_syntax_checker = 1 - -"bail if the user doesnt have ghc-mod installed -if !executable("ghc-mod") - finish -endif - -function! SyntaxCheckers_haskell_GetLocList() - let makeprg = - \ "{ ". - \ "ghc-mod check ". shellescape(expand('%')) . "; " . - \ "ghc-mod lint " . shellescape(expand('%')) . ";" . - \ " }" - let errorformat = '%-G\\s%#,%f:%l:%c:%trror: %m,%f:%l:%c:%tarning: %m,'. - \ '%f:%l:%c: %trror: %m,%f:%l:%c: %tarning: %m,%f:%l:%c:%m,'. - \ '%E%f:%l:%c:,%Z%m,' - - return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) -endfunction - -function! SyntaxCheckers_lhaskell_GetLocList() - return SyntaxCheckers_haskell_GetLocList() -endfunction diff --git a/vim/bundle/syntastic/syntax_checkers/haxe.vim b/vim/bundle/syntastic/syntax_checkers/haxe.vim deleted file mode 100755 index 22183ee..0000000 --- a/vim/bundle/syntastic/syntax_checkers/haxe.vim +++ /dev/null @@ -1,55 +0,0 @@ -"============================================================================ -"File: haxe.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: David Bernard -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ -if exists("loaded_haxe_syntax_checker") - finish -endif -let loaded_haxe_syntax_checker = 1 - -"bail if the user doesn't have haxe installed -if !executable("haxe") - finish -endif - -" s:FindInParent -" find the file argument and returns the path to it. -" Starting with the current working dir, it walks up the parent folders -" until it finds the file, or it hits the stop dir. -" If it doesn't find it, it returns "Nothing" -function! s:FindInParent(fln,flsrt,flstp) - let here = a:flsrt - while ( strlen( here) > 0 ) - let p = split(globpath(here, a:fln), '\n') - if len(p) > 0 - return ['ok', here, fnamemodify(p[0], ':p:t')] - endif - let fr = match(here, '/[^/]*$') - if fr == -1 - break - endif - let here = strpart(here, 0, fr) - if here == a:flstp - break - endif - endwhile - return ['fail', '', ''] -endfunction - -function! SyntaxCheckers_haxe_GetLocList() - let [success, hxmldir, hxmlname] = s:FindInParent('*.hxml', expand('%:p:h'), '/') - if success == 'ok' - let makeprg = 'cd ' . hxmldir . '; haxe ' . hxmlname - let errorformat = '%E%f:%l: characters %c-%*[0-9] : %m' - return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) - else - return SyntasticMake({}) - endif -endfunction diff --git a/vim/bundle/syntastic/syntax_checkers/html.vim b/vim/bundle/syntastic/syntax_checkers/html.vim deleted file mode 100644 index 2c1b8b4..0000000 --- a/vim/bundle/syntastic/syntax_checkers/html.vim +++ /dev/null @@ -1,86 +0,0 @@ -"============================================================================ -"File: html.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Martin Grenfell -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ -if exists("loaded_html_syntax_checker") - finish -endif -let loaded_html_syntax_checker = 1 - -"bail if the user doesnt have tidy or grep installed -if !executable("tidy") || !executable("grep") - finish -endif - -" TODO: join this with xhtml.vim for DRY's sake? -function! s:TidyEncOptByFenc() - let tidy_opts = { - \'utf-8' : '-utf8', - \'ascii' : '-ascii', - \'latin1' : '-latin1', - \'iso-2022-jp' : '-iso-2022', - \'cp1252' : '-win1252', - \'macroman' : '-mac', - \'utf-16le' : '-utf16le', - \'utf-16' : '-utf16', - \'big5' : '-big5', - \'sjis' : '-shiftjis', - \'cp850' : '-ibm858', - \} - return get(tidy_opts, &fileencoding, '-utf8') -endfunction - -let s:ignore_html_errors = [ - \ " lacks \"summary\" attribute", - \ "not approved by W3C", - \ "attribute \"placeholder\"", - \ " proprietary attribute \"charset\"", - \ " lacks \"content\" attribute", - \ "inserting \"type\" attribute", - \ "proprietary attribute \"data-" - \] - -function! s:ValidateError(text) - let valid = 0 - for i in s:ignore_html_errors - if stridx(a:text, i) != -1 - let valid = 1 - break - endif - endfor - return valid -endfunction - - -function! SyntaxCheckers_html_GetLocList() - - let encopt = s:TidyEncOptByFenc() - let makeprg="tidy ".encopt." --new-blocklevel-tags ".shellescape('section, article, aside, hgroup, header, footer, nav, figure, figcaption')." --new-inline-tags ".shellescape('video, audio, embed, mark, progress, meter, time, ruby, rt, rp, canvas, command, details, datalist')." --new-empty-tags ".shellescape('wbr, keygen')." -e ".shellescape(expand('%'))." 2>&1" - let errorformat='%Wline %l column %c - Warning: %m,%Eline %l column %c - Error: %m,%-G%.%#,%-G%.%#' - let loclist = SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) - - " process loclist since we need to add some info and filter out valid HTML5 - " from the errors - let n = len(loclist) - 1 - let bufnum = bufnr("") - while n >= 0 - let i = loclist[n] - " filter out valid HTML5 - if s:ValidateError(i['text']) == 1 - unlet loclist[n] - else - "the file name isnt in the output so stick in the buf num manually - let i['bufnr'] = bufnum - endif - let n -= 1 - endwhile - - return loclist -endfunction diff --git a/vim/bundle/syntastic/syntax_checkers/javascript.vim b/vim/bundle/syntastic/syntax_checkers/javascript.vim deleted file mode 100644 index 0f1bd29..0000000 --- a/vim/bundle/syntastic/syntax_checkers/javascript.vim +++ /dev/null @@ -1,41 +0,0 @@ -"============================================================================ -"File: javascript.vim -"Description: Figures out which javascript syntax checker (if any) to load -" from the javascript directory. -"Maintainer: Martin Grenfell -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -" Use g:syntastic_javascript_checker option to specify which jslint executable -" should be used (see below for a list of supported checkers). -" If g:syntastic_javascript_checker is not set, just use the first syntax -" checker that we find installed. -"============================================================================ -if exists("loaded_javascript_syntax_checker") - finish -endif -let loaded_javascript_syntax_checker = 1 - -let s:supported_checkers = ["gjslint", "jslint", "jsl", "jshint"] - -function! s:load_checker(checker) - exec "runtime syntax_checkers/javascript/" . a:checker . ".vim" -endfunction - -if exists("g:syntastic_javascript_checker") - if index(s:supported_checkers, g:syntastic_javascript_checker) != -1 && executable(g:syntastic_javascript_checker) - call s:load_checker(g:syntastic_javascript_checker) - else - echoerr "Javascript syntax not supported or not installed." - endif -else - for checker in s:supported_checkers - if executable(checker) - call s:load_checker(checker) - break - endif - endfor -endif diff --git a/vim/bundle/syntastic/syntax_checkers/javascript/gjslint.vim b/vim/bundle/syntastic/syntax_checkers/javascript/gjslint.vim deleted file mode 100644 index 05e1c0f..0000000 --- a/vim/bundle/syntastic/syntax_checkers/javascript/gjslint.vim +++ /dev/null @@ -1,20 +0,0 @@ -"============================================================================ -"File: gjslint.vim -"Description: Javascript syntax checker - using gjslint -"Maintainer: Martin Grenfell -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -"============================================================================ -if !exists("g:syntastic_javascript_gjslint_conf") - let g:syntastic_javascript_gjslint_conf = "" -endif - -function! SyntaxCheckers_javascript_GetLocList() - let makeprg = "gjslint " . g:syntastic_javascript_gjslint_conf . " --nosummary --unix_mode --nodebug_indentation --nobeep " . shellescape(expand('%')) - let errorformat="%f:%l:(New Error -%\\?\%n) %m,%f:%l:(-%\\?%n) %m,%-G1 files checked, no errors found.,%-G%.%#" - return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) -endfunction - diff --git a/vim/bundle/syntastic/syntax_checkers/javascript/jshint.vim b/vim/bundle/syntastic/syntax_checkers/javascript/jshint.vim deleted file mode 100644 index 7670045..0000000 --- a/vim/bundle/syntastic/syntax_checkers/javascript/jshint.vim +++ /dev/null @@ -1,21 +0,0 @@ -"============================================================================ -"File: jshint.vim -"Description: Javascript syntax checker - using jshint -"Maintainer: Martin Grenfell -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -"============================================================================ -if !exists("g:syntastic_javascript_jshint_conf") - let g:syntastic_javascript_jshint_conf = "" -endif - -function! SyntaxCheckers_javascript_GetLocList() - " node-jshint uses .jshintrc as config unless --config arg is present - let args = g:syntastic_javascript_jshint_conf? ' --config ' . g:syntastic_javascript_jshint_conf : '' - let makeprg = 'jshint ' . shellescape(expand("%")) . args - let errorformat = '%ELine %l:%c,%Z\\s%#Reason: %m,%C%.%#,%f: line %l\, col %c\, %m,%-G%.%#' - return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat, 'defaults': {'bufnr': bufnr('')} }) -endfunction diff --git a/vim/bundle/syntastic/syntax_checkers/javascript/jsl.vim b/vim/bundle/syntastic/syntax_checkers/javascript/jsl.vim deleted file mode 100644 index 36c7efc..0000000 --- a/vim/bundle/syntastic/syntax_checkers/javascript/jsl.vim +++ /dev/null @@ -1,20 +0,0 @@ -"============================================================================ -"File: jsl.vim -"Description: Javascript syntax checker - using jsl -"Maintainer: Martin Grenfell -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -"============================================================================ -if !exists("g:syntastic_javascript_jsl_conf") - let g:syntastic_javascript_jsl_conf = "" -endif - -function! SyntaxCheckers_javascript_GetLocList() - let makeprg = "jsl " . g:syntastic_javascript_jsl_conf . " -nologo -nofilelisting -nosummary -nocontext -process ".shellescape(expand('%')) - let errorformat='%W%f(%l): lint warning: %m,%-Z%p^,%W%f(%l): warning: %m,%-Z%p^,%E%f(%l): SyntaxError: %m,%-Z%p^,%-G' - return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) -endfunction - diff --git a/vim/bundle/syntastic/syntax_checkers/javascript/jslint.vim b/vim/bundle/syntastic/syntax_checkers/javascript/jslint.vim deleted file mode 100644 index 94d48f0..0000000 --- a/vim/bundle/syntastic/syntax_checkers/javascript/jslint.vim +++ /dev/null @@ -1,31 +0,0 @@ -"============================================================================ -"File: jslint.vim -"Description: Javascript syntax checker - using jslint -"Maintainer: Martin Grenfell -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"Tested with jslint 0.1.4. -"============================================================================ -if !exists("g:syntastic_javascript_jslint_conf") - let g:syntastic_javascript_jslint_conf = "--white --undef --nomen --regexp --plusplus --bitwise --newcap --sloppy --vars" -endif - -function! SyntaxCheckers_javascript_HighlightTerm(error) - let unexpected = matchstr(a:error['text'], 'Expected.*and instead saw \'\zs.*\ze\'') - if len(unexpected) < 1 | return '' | end - return '\V'.split(unexpected, "'")[1] -endfunction - -function! SyntaxCheckers_javascript_GetLocList() - let makeprg = "jslint " . g:syntastic_javascript_jslint_conf . " " . shellescape(expand('%')) - let errorformat='%E %##%n %m,%-Z%.%#Line %l\, Pos %c,%-G%.%#' - let errors = SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat, 'defaults': {'bufnr': bufnr("")} }) - call SyntasticHighlightErrors(errors, function('SyntaxCheckers_javascript_HighlightTerm')) - - return errors -endfunction - diff --git a/vim/bundle/syntastic/syntax_checkers/json.vim b/vim/bundle/syntastic/syntax_checkers/json.vim deleted file mode 100644 index c528b1e..0000000 --- a/vim/bundle/syntastic/syntax_checkers/json.vim +++ /dev/null @@ -1,41 +0,0 @@ -"============================================================================ -"File: json.vim -"Description: Figures out which json syntax checker (if any) to load -" from the json directory. -"Maintainer: Miller Medeiros -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -" Use g:syntastic_json_checker option to specify which jsonlint executable -" should be used (see below for a list of supported checkers). -" If g:syntastic_json_checker is not set, just use the first syntax -" checker that we find installed. -"============================================================================ -if exists("loaded_json_syntax_checker") - finish -endif -let loaded_json_syntax_checker = 1 - -let s:supported_checkers = ["jsonlint", "jsonval"] - -function! s:load_checker(checker) - exec "runtime syntax_checkers/json/" . a:checker . ".vim" -endfunction - -if exists("g:syntastic_json_checker") - if index(s:supported_checkers, g:syntastic_json_checker) != -1 && executable(g:syntastic_json_checker) - call s:load_checker(g:syntastic_json_checker) - else - echoerr "JSON syntax not supported or not installed." - endif -else - for checker in s:supported_checkers - if executable(checker) - call s:load_checker(checker) - break - endif - endfor -endif diff --git a/vim/bundle/syntastic/syntax_checkers/json/jsonlint.vim b/vim/bundle/syntastic/syntax_checkers/json/jsonlint.vim deleted file mode 100644 index 6e4a4c0..0000000 --- a/vim/bundle/syntastic/syntax_checkers/json/jsonlint.vim +++ /dev/null @@ -1,16 +0,0 @@ -"============================================================================ -"File: jsonlint.vim -"Description: JSON syntax checker - using jsonlint -"Maintainer: Miller Medeiros -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -"============================================================================ - -function! SyntaxCheckers_json_GetLocList() - let makeprg = 'jsonlint ' . shellescape(expand("%")) . ' --compact' - let errorformat = '%ELine %l:%c,%Z\\s%#Reason: %m,%C%.%#,%f: line %l\, col %c\, %m,%-G%.%#' - return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat, 'defaults': {'bufnr': bufnr('')} }) -endfunction diff --git a/vim/bundle/syntastic/syntax_checkers/json/jsonval.vim b/vim/bundle/syntastic/syntax_checkers/json/jsonval.vim deleted file mode 100644 index f288039..0000000 --- a/vim/bundle/syntastic/syntax_checkers/json/jsonval.vim +++ /dev/null @@ -1,17 +0,0 @@ -"============================================================================ -"File: jsonval.vim -"Description: JSON syntax checker - using jsonval -"Maintainer: Miller Medeiros -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -"============================================================================ - -function! SyntaxCheckers_json_GetLocList() - " based on https://gist.github.com/1196345 - let makeprg = 'jsonval '. shellescape(expand('%')) - let errorformat = '%E%f:\ %m\ at\ line\ %l,%-G%.%#' - return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat, 'defaults': {'bufnr': bufnr('')} }) -endfunction diff --git a/vim/bundle/syntastic/syntax_checkers/less.vim b/vim/bundle/syntastic/syntax_checkers/less.vim deleted file mode 100644 index 7393b3e..0000000 --- a/vim/bundle/syntastic/syntax_checkers/less.vim +++ /dev/null @@ -1,38 +0,0 @@ -"============================================================================ -"File: less.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Julien Blanchard -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ -if exists("loaded_less_syntax_checker") - finish -endif -let loaded_less_syntax_checker = 1 - -"bail if the user doesnt have the lessc binary installed -if !executable("lessc") - finish -endif - -if !exists("g:syntastic_less_options") - let g:syntastic_less_options = "--no-color" -endif - -function! SyntaxCheckers_less_GetLocList() - let makeprg = 'lessc '. g:syntastic_less_options .' '. shellescape(expand('%')) . ' /dev/null' - - "lessc >= 1.2 - let errorformat = 'ParseError: Syntax Error on line %[0-9]%# in %f:%l:%c' - "lessc < 1.2 - let errorformat .= ', Syntax %trror on line %l in %f,Syntax %trror on line %l,! Syntax %trror: on line %l: %m,%-G%.%#' - - return SyntasticMake({ 'makeprg': makeprg, - \ 'errorformat': errorformat, - \ 'defaults': {'bufnr': bufnr(""), 'text': "Syntax error"} }) -endfunction - diff --git a/vim/bundle/syntastic/syntax_checkers/lua.vim b/vim/bundle/syntastic/syntax_checkers/lua.vim deleted file mode 100644 index 03acb08..0000000 --- a/vim/bundle/syntastic/syntax_checkers/lua.vim +++ /dev/null @@ -1,58 +0,0 @@ -"============================================================================ -"File: lua.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Gregor Uhlenheuer -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ - -if exists('loaded_lua_syntax_checker') - finish -endif -let loaded_lua_syntax_checker = 1 - -" check if the lua compiler is installed -if !executable('luac') - finish -endif - -function! SyntaxCheckers_lua_Term(pos) - let near = matchstr(a:pos['text'], "near '[^']\\+'") - let result = '' - if len(near) > 0 - let near = split(near, "'")[1] - if near == '' - let p = getpos('$') - let a:pos['lnum'] = p[1] - let a:pos['col'] = p[2] - let result = '\%'.p[2].'c' - else - let result = '\V'.near - endif - let open = matchstr(a:pos['text'], "(to close '[^']\\+' at line [0-9]\\+)") - if len(open) > 0 - let oline = split(open, "'")[1:2] - let line = 0+strpart(oline[1], 9) - call matchadd('SpellCap', '\%'.line.'l\V'.oline[0]) - endif - endif - return result -endfunction - -function! SyntaxCheckers_lua_GetLocList() - let makeprg = 'luac -p ' . shellescape(expand('%')) - let errorformat = 'luac: %#%f:%l: %m' - - let loclist = SyntasticMake({ 'makeprg': makeprg, - \ 'errorformat': errorformat, - \ 'defaults': { 'bufnr': bufnr(''), 'type': 'E' } }) - - call SyntasticHighlightErrors(loclist, function("SyntaxCheckers_lua_Term")) - - return loclist -endfunction - diff --git a/vim/bundle/syntastic/syntax_checkers/matlab.vim b/vim/bundle/syntastic/syntax_checkers/matlab.vim deleted file mode 100644 index 595b312..0000000 --- a/vim/bundle/syntastic/syntax_checkers/matlab.vim +++ /dev/null @@ -1,28 +0,0 @@ -"============================================================================ -"File: matlab.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Jason Graham -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ - -if exists("loaded_matlab_syntax_checker") - finish -endif -let loaded_matlab_syntax_checker = 1 - -"bail if the user doesn't have mlint installed -if !executable("mlint") - finish -endif - -function! SyntaxCheckers_matlab_GetLocList() - let makeprg = 'mlint -id $* '.shellescape(expand('%')) - let errorformat = 'L %l (C %c): %*[a-zA-Z0-9]: %m,L %l (C %c-%*[0-9]): %*[a-zA-Z0-9]: %m' - return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat, 'defaults': {'bufnr': bufnr("")} }) -endfunction - diff --git a/vim/bundle/syntastic/syntax_checkers/ocaml.vim b/vim/bundle/syntastic/syntax_checkers/ocaml.vim deleted file mode 100644 index 6a2470f..0000000 --- a/vim/bundle/syntastic/syntax_checkers/ocaml.vim +++ /dev/null @@ -1,89 +0,0 @@ -"============================================================================ -"File: ocaml.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Török Edwin -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ -" -" By default the camlp4o preprocessor is used to check the syntax of .ml, and .mli files, -" ocamllex is used to check .mll files and menhir is used to check .mly files. -" The output is all redirected to /dev/null, nothing is written to the disk. -" -" If your source code needs camlp4r then you can define this in your .vimrc: -" -" let g:syntastic_ocaml_camlp4r = 1 -" -" If you used some syntax extensions, or you want to also typecheck the source -" code, then you can define this: -" -" let g:syntastic_ocaml_use_ocamlbuild = 1 -" -" This will run ocamlbuild .inferred.mli, so it will write to your _build -" directory (and possibly rebuild your myocamlbuild.ml plugin), only enable this -" if you are ok with that. -" -" If you are using syntax extensions / external libraries and have a properly -" set up _tags (and myocamlbuild.ml file) then it should just work -" to enable this flag and get syntax / type checks through syntastic. -" -" For best results your current directory should be the project root -" (same situation if you want useful output from :make). - -if exists("loaded_ocaml_syntax_checker") - finish -endif -let loaded_ocaml_syntax_checker = 1 - -if exists('g:syntastic_ocaml_camlp4r') && - \ g:syntastic_ocaml_camlp4r != 0 - let s:ocamlpp="camlp4r" -else - let s:ocamlpp="camlp4o" -endif - -"bail if the user doesnt have the preprocessor -if !executable(s:ocamlpp) - finish -endif - -function! SyntaxCheckers_ocaml_GetLocList() - if exists('g:syntastic_ocaml_use_ocamlbuild') && - \ g:syntastic_ocaml_use_ocamlbuild != 0 && - \ executable("ocamlbuild") && - \ isdirectory('_build') - let makeprg = "ocamlbuild -quiet -no-log -tag annot,". s:ocamlpp. " -no-links -no-hygiene -no-sanitize ". - \ shellescape(expand('%:r')).".cmi" - else - let extension = expand('%:e') - if match(extension, 'mly') >= 0 - " ocamlyacc output can't be redirected, so use menhir - if !executable("menhir") - return [] - endif - let makeprg = "menhir --only-preprocess ".shellescape(expand('%')) . " >/dev/null" - elseif match(extension,'mll') >= 0 - if !executable("ocamllex") - return [] - endif - let makeprg = "ocamllex -q -o /dev/null ".shellescape(expand('%')) - else - let makeprg = "camlp4o -o /dev/null ".shellescape(expand('%')) - endif - endif - let errorformat = '%AFile "%f"\, line %l\, characters %c-%*\d:,'. - \ '%AFile "%f"\, line %l\, characters %c-%*\d (end at line %*\d\, character %*\d):,'. - \ '%AFile "%f"\, line %l\, character %c:,'. - \ '%AFile "%f"\, line %l\, character %c:%m,'. - \ '%-GPreprocessing error %.%#,'. - \ '%-GCommand exited %.%#,'. - \ '%C%tarning %n: %m,'. - \ '%C%m,'. - \ '%-G+%.%#' - - return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) -endfunction diff --git a/vim/bundle/syntastic/syntax_checkers/perl.vim b/vim/bundle/syntastic/syntax_checkers/perl.vim deleted file mode 100644 index 34e3b01..0000000 --- a/vim/bundle/syntastic/syntax_checkers/perl.vim +++ /dev/null @@ -1,35 +0,0 @@ -"============================================================================ -"File: perl.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Anthony Carapetis -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ - -" This checker requires efm_perl.pl, which is distributed with Vim version -" seven and greater, as far as I know. - -if exists("loaded_perl_syntax_checker") - finish -endif -let loaded_perl_syntax_checker = 1 - -"bail if the user doesnt have perl installed -if !executable("perl") - finish -endif - -if !exists("g:syntastic_perl_efm_program") - let g:syntastic_perl_efm_program = 'perl '.$VIMRUNTIME.'/tools/efm_perl.pl -c' -endif - -function! SyntaxCheckers_perl_GetLocList() - let makeprg = g:syntastic_perl_efm_program . ' ' . shellescape(expand('%')) - let errorformat = '%f:%l:%m' - - return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) -endfunction diff --git a/vim/bundle/syntastic/syntax_checkers/php.vim b/vim/bundle/syntastic/syntax_checkers/php.vim deleted file mode 100644 index d48b8e8..0000000 --- a/vim/bundle/syntastic/syntax_checkers/php.vim +++ /dev/null @@ -1,57 +0,0 @@ -"============================================================================ -"File: php.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Martin Grenfell -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ -if exists("loaded_php_syntax_checker") - finish -endif -let loaded_php_syntax_checker = 1 - -"bail if the user doesnt have php installed -if !executable("php") - finish -endif - -"Support passing configuration directives to phpcs -if !exists("g:syntastic_phpcs_conf") - let g:syntastic_phpcs_conf = "" -endif - -if !exists("g:syntastic_phpcs_disable") - let g:syntastic_phpcs_disable = 0 -endif - -function! SyntaxCheckers_php_Term(item) - let unexpected = matchstr(a:item['text'], "unexpected '[^']\\+'") - if len(unexpected) < 1 | return '' | end - return '\V'.split(unexpected, "'")[1] -endfunction - -function! SyntaxCheckers_php_GetLocList() - - let errors = [] - if !g:syntastic_phpcs_disable && executable("phpcs") - let errors = s:GetPHPCSErrors() - endif - - let makeprg = "php -l ".shellescape(expand('%')) - let errorformat='%-GNo syntax errors detected in%.%#,PHP Parse error: %#syntax %trror\, %m in %f on line %l,PHP Fatal %trror: %m in %f on line %l,%-GErrors parsing %.%#,%-G\s%#,Parse error: %#syntax %trror\, %m in %f on line %l,Fatal %trror: %m in %f on line %l' - let errors = errors + SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) - - call SyntasticHighlightErrors(errors, function('SyntaxCheckers_php_Term')) - - return errors -endfunction - -function! s:GetPHPCSErrors() - let makeprg = "phpcs " . g:syntastic_phpcs_conf . " --report=csv ".shellescape(expand('%')) - let errorformat = '%-GFile\,Line\,Column\,Type\,Message\,Source\,Severity,"%f"\,%l\,%c\,%t%*[a-zA-Z]\,"%m"\,%*[a-zA-Z0-9_.-]\,%*[0-9]' - return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) -endfunction diff --git a/vim/bundle/syntastic/syntax_checkers/puppet.vim b/vim/bundle/syntastic/syntax_checkers/puppet.vim deleted file mode 100644 index e4fc648..0000000 --- a/vim/bundle/syntastic/syntax_checkers/puppet.vim +++ /dev/null @@ -1,38 +0,0 @@ -"============================================================================ -"File: puppet.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Eivind Uggedal -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ -if exists("loaded_puppet_syntax_checker") - finish -endif -let loaded_puppet_syntax_checker = 1 - -"bail if the user doesnt have puppet installed -if !executable("puppet") - finish -endif - -function! SyntaxCheckers_puppet_GetLocList() - let l:puppetVersion = system("puppet --version") - let l:digits = split(l:puppetVersion, "\\.") - " - " If it is on the 2.7 series... use new executable - if l:digits[0] == '2' && l:digits[1] == '7' - let makeprg = 'puppet parser validate ' . - \ shellescape(expand('%')) . - \ ' --color=false --ignoreimport' - else - let makeprg = 'puppet --color=false --parseonly --ignoreimport '.shellescape(expand('%')) - endif - - let errorformat = 'err: Could not parse for environment %*[a-z]: %m at %f:%l' - - return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) -endfunction diff --git a/vim/bundle/syntastic/syntax_checkers/python.vim b/vim/bundle/syntastic/syntax_checkers/python.vim deleted file mode 100644 index ed9a682..0000000 --- a/vim/bundle/syntastic/syntax_checkers/python.vim +++ /dev/null @@ -1,77 +0,0 @@ -"============================================================================ -"File: python.vim -"Description: Syntax checking plugin for syntastic.vim -" -"Authors: Martin Grenfell -" kstep -" Parantapa Bhattacharya -" -"============================================================================ -" -" For forcing the use of flake8, pyflakes, or pylint set -" -" let g:syntastic_python_checker = 'pyflakes' -" -" in your .vimrc. Default is flake8. - -if exists("loaded_python_syntax_checker") - finish -endif -let loaded_python_syntax_checker = 1 - -"bail if the user doesnt have his favorite checker or flake8 or pyflakes installed -if !exists('g:syntastic_python_checker') || !executable('g:syntastic_python_checker') - if executable("flake8") - let g:syntastic_python_checker = 'flake8' - elseif executable("pyflakes") - let g:syntastic_python_checker = 'pyflakes' - elseif executable("pylint") - let g:syntastic_python_checker = 'pylint' - else - finish - endif -endif - -function! SyntaxCheckers_python_Term(i) - if a:i['type'] ==# 'E' - let a:i['text'] = "Syntax error" - endif - if match(a:i['text'], 'is assigned to but never used') > -1 - \ || match(a:i['text'], 'imported but unused') > -1 - \ || match(a:i['text'], 'undefined name') > -1 - \ || match(a:i['text'], 'redefinition of') > -1 - \ || match(a:i['text'], 'referenced before assignment') > -1 - \ || match(a:i['text'], 'duplicate argument') > -1 - \ || match(a:i['text'], 'after other statements') > -1 - \ || match(a:i['text'], 'shadowed by loop variable') > -1 - - let term = split(a:i['text'], "'", 1)[1] - return '\V\<'.term.'\>' - endif - return '' -endfunction - -if g:syntastic_python_checker == 'pylint' - function! SyntaxCheckers_python_GetLocList() - let makeprg = 'pylint -f parseable -r n -i y ' . - \ shellescape(expand('%')) . - \ ' \| sed ''s_: \[[RC]_: \[W_''' . - \ ' \| sed ''s_: \[[F]_:\ \[E_''' - let errorformat = '%f:%l: [%t%n] %m,%-GNo config%m' - let errors = SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) - - return errors - endfunction -else - function! SyntaxCheckers_python_GetLocList() - let makeprg = g:syntastic_python_checker.' '.shellescape(expand('%')) - let errorformat = - \ '%E%f:%l: could not compile,%-Z%p^,%W%f:%l:%c: %m,%W%f:%l: %m,%-G%.%#' - - let errors = SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) - - call SyntasticHighlightErrors(errors, function('SyntaxCheckers_python_Term')) - - return errors - endfunction -endif diff --git a/vim/bundle/syntastic/syntax_checkers/rst.vim b/vim/bundle/syntastic/syntax_checkers/rst.vim deleted file mode 100644 index 107aafe..0000000 --- a/vim/bundle/syntastic/syntax_checkers/rst.vim +++ /dev/null @@ -1,37 +0,0 @@ -"============================================================================ -"File: rst.vim -"Description: Syntax checking plugin for docutil's reStructuredText files -"Maintainer: James Rowe -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ - -" We use rst2pseudoxml.py, as it is ever so marginally faster than the other -" rst2${x} tools in docutils. - -if exists("loaded_rst_syntax_checker") - finish -endif -let loaded_rst_syntax_checker = 1 - -"bail if the user doesn't have rst2pseudoxml.py installed -if !executable("rst2pseudoxml.py") - finish -endif - -function! SyntaxCheckers_rst_GetLocList() - let makeprg = 'rst2pseudoxml.py --report=1 --exit-status=1 ' . - \ shellescape(expand('%')) . ' /dev/null' - - let errorformat = '%f:%l:\ (%tNFO/1)\ %m, - \%f:%l:\ (%tARNING/2)\ %m, - \%f:%l:\ (%tRROR/3)\ %m, - \%f:%l:\ (%tEVERE/4)\ %m, - \%-G%.%#' - - return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) -endfunction diff --git a/vim/bundle/syntastic/syntax_checkers/ruby.vim b/vim/bundle/syntastic/syntax_checkers/ruby.vim deleted file mode 100644 index 8c3cd81..0000000 --- a/vim/bundle/syntastic/syntax_checkers/ruby.vim +++ /dev/null @@ -1,32 +0,0 @@ -"============================================================================ -"File: ruby.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Martin Grenfell -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ -if exists("loaded_ruby_syntax_checker") - finish -endif -let loaded_ruby_syntax_checker = 1 - -"bail if the user doesnt have ruby installed -if !executable("ruby") - finish -endif - -function! SyntaxCheckers_ruby_GetLocList() - " we cannot set RUBYOPT on windows like that - if has('win32') || has('win64') - let makeprg = 'ruby -W1 -T1 -c '.shellescape(expand('%')) - else - let makeprg = 'RUBYOPT= ruby -W1 -c '.shellescape(expand('%')) - endif - let errorformat = '%-GSyntax OK,%E%f:%l: syntax error\, %m,%Z%p^,%W%f:%l: warning: %m,%Z%p^,%W%f:%l: %m,%-C%.%#' - - return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) -endfunction diff --git a/vim/bundle/syntastic/syntax_checkers/sass.vim b/vim/bundle/syntastic/syntax_checkers/sass.vim deleted file mode 100644 index 23bf345..0000000 --- a/vim/bundle/syntastic/syntax_checkers/sass.vim +++ /dev/null @@ -1,35 +0,0 @@ -"============================================================================ -"File: sass.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Martin Grenfell -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ -if exists("loaded_sass_syntax_checker") - finish -endif -let loaded_sass_syntax_checker = 1 - -"bail if the user doesnt have the sass binary installed -if !executable("sass") - finish -endif - -"use compass imports if available -let s:imports = "" -if executable("compass") - let s:imports = "--compass" -endif - -function! SyntaxCheckers_sass_GetLocList() - let makeprg='sass '.s:imports.' --check '.shellescape(expand('%')) - let errorformat = '%ESyntax %trror:%m,%C on line %l of %f,%Z%.%#' - let errorformat .= ',%Wwarning on line %l:,%Z%m,Syntax %trror on line %l: %m' - let loclist = SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) - - return loclist -endfunction diff --git a/vim/bundle/syntastic/syntax_checkers/scss.vim b/vim/bundle/syntastic/syntax_checkers/scss.vim deleted file mode 100644 index d3ae5e7..0000000 --- a/vim/bundle/syntastic/syntax_checkers/scss.vim +++ /dev/null @@ -1,27 +0,0 @@ - -"============================================================================ -"File: scss.vim -"Description: scss syntax checking plugin for syntastic -"Maintainer: Martin Grenfell -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ -if exists("loaded_scss_syntax_checker") - finish -endif -let loaded_scss_syntax_checker = 1 - -"bail if the user doesnt have the sass binary installed -if !executable("sass") - finish -endif - -runtime syntax_checkers/sass.vim - -function! SyntaxCheckers_scss_GetLocList() - return SyntaxCheckers_sass_GetLocList() -endfunction diff --git a/vim/bundle/syntastic/syntax_checkers/sh.vim b/vim/bundle/syntastic/syntax_checkers/sh.vim deleted file mode 100644 index 5b55172..0000000 --- a/vim/bundle/syntastic/syntax_checkers/sh.vim +++ /dev/null @@ -1,52 +0,0 @@ -"============================================================================ -"File: sh.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Gregor Uhlenheuer -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ -if exists('loaded_sh_syntax_checker') - finish -endif -let loaded_sh_syntax_checker = 1 - -function! s:GetShell() - if !exists('b:shell') || b:shell == "" - let b:shell = '' - let shebang = getbufline(bufnr('%'), 1)[0] - if len(shebang) > 0 - if match(shebang, 'bash') >= 0 - let b:shell = 'bash' - elseif match(shebang, 'zsh') >= 0 - let b:shell = 'zsh' - elseif match(shebang, 'sh') >= 0 - let b:shell = 'sh' - endif - endif - endif - return b:shell -endfunction - -function! SyntaxCheckers_sh_GetLocList() - if len(s:GetShell()) == 0 || !executable(s:GetShell()) - return [] - endif - let output = split(system(s:GetShell().' -n '.shellescape(expand('%'))), '\n') - if v:shell_error != 0 - let result = [] - for err_line in output - let line = substitute(err_line, '^[^:]*:\D\{-}\(\d\+\):.*', '\1', '') - let msg = substitute(err_line, '^[^:]*:\D\{-}\d\+: \(.*\)', '\1', '') - call add(result, {'lnum' : line, - \ 'text' : msg, - \ 'bufnr': bufnr(''), - \ 'type': 'E' }) - endfor - return result - endif - return [] -endfunction diff --git a/vim/bundle/syntastic/syntax_checkers/tcl.vim b/vim/bundle/syntastic/syntax_checkers/tcl.vim deleted file mode 100644 index 83b5df3..0000000 --- a/vim/bundle/syntastic/syntax_checkers/tcl.vim +++ /dev/null @@ -1,28 +0,0 @@ -"============================================================================ -"File: tcl.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Eric Thomas -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ - -if exists("loaded_tcl_syntax_checker") - finish -endif -let loaded_tcl_syntax_checker = 1 - -"bail if the user doesnt have tclsh installed -if !executable("tclsh") - finish -endif - -function! SyntaxCheckers_tcl_GetLocList() - let makeprg = 'tclsh '.shellescape(expand('%')) - let errorformat = '%f:%l:%m' - - return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) -endfunction diff --git a/vim/bundle/syntastic/syntax_checkers/tex.vim b/vim/bundle/syntastic/syntax_checkers/tex.vim deleted file mode 100644 index 4369f4c..0000000 --- a/vim/bundle/syntastic/syntax_checkers/tex.vim +++ /dev/null @@ -1,26 +0,0 @@ -"============================================================================ -"File: tex.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Martin Grenfell -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ -if exists("loaded_tex_syntax_checker") - finish -endif -let loaded_tex_syntax_checker = 1 - -"bail if the user doesnt have lacheck installed -if !executable("lacheck") - finish -endif - -function! SyntaxCheckers_tex_GetLocList() - let makeprg = 'lacheck '.shellescape(expand('%')) - let errorformat = '%-G** %f:,%E"%f"\, line %l: %m' - return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) -endfunction diff --git a/vim/bundle/syntastic/syntax_checkers/vala.vim b/vim/bundle/syntastic/syntax_checkers/vala.vim deleted file mode 100644 index f174790..0000000 --- a/vim/bundle/syntastic/syntax_checkers/vala.vim +++ /dev/null @@ -1,56 +0,0 @@ -"============================================================================ -"File: vala.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Konstantin Stepanov (me@kstep.me) -"Notes: Add special comment line into your vala file starting with -" "// modules: " and containing space delimited list of vala -" modules, used by the file, so this script can build correct -" --pkg arguments. -" Valac compiler is not the fastest thing in the world, so you -" may want to disable this plugin with -" let g:syntastic_vala_check_disabled = 1 command in your .vimrc or -" command line. Unlet this variable to set it to 0 to reenable -" this checker. -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ - -if exists('loaded_vala_syntax_checker') - finish -endif -let loaded_vala_syntax_checker = 1 - -if !executable('valac') - finish -endif - -if exists('g:syntastic_vala_check_disabled') && g:syntastic_vala_check_disabled - finish -endif - -function! SyntaxCheckers_vala_Term(pos) - let strlength = strlen(matchstr(a:pos['text'], '\^\+$')) - return '\%>'.(a:pos.col-1).'c.*\%<'.(a:pos.col+strlength+1).'c' -endfunction - -function! s:GetValaModules() - let modules_line = search('^// modules: ', 'n') - let modules_str = getline(modules_line) - let modules = split(strpart(modules_str, 12), '\s\+') - return modules -endfunction - -function! SyntaxCheckers_vala_GetLocList() - let vala_pkg_args = join(map(s:GetValaModules(), '"--pkg ".v:val'), ' ') - let makeprg = 'valac -C ' . vala_pkg_args . ' ' .shellescape(expand('%')) - let errorformat = '%A%f:%l.%c-%\d%\+.%\d%\+: %t%[a-z]%\+: %m,%C%m,%Z%m' - - let loclist = SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) - call SyntasticHighlightErrors(loclist, function("SyntaxCheckers_vala_Term"), 1) - return loclist -endfunction - diff --git a/vim/bundle/syntastic/syntax_checkers/xhtml.vim b/vim/bundle/syntastic/syntax_checkers/xhtml.vim deleted file mode 100644 index 80d981a..0000000 --- a/vim/bundle/syntastic/syntax_checkers/xhtml.vim +++ /dev/null @@ -1,46 +0,0 @@ -"============================================================================ -"File: xhtml.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Martin Grenfell -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ -if exists("loaded_xhtml_syntax_checker") - finish -endif -let loaded_xhtml_syntax_checker = 1 - -"bail if the user doesnt have tidy or grep installed -if !executable("tidy") - finish -endif - -" TODO: join this with html.vim DRY's sake? -function! s:TidyEncOptByFenc() - let tidy_opts = { - \'utf-8' : '-utf8', - \'ascii' : '-ascii', - \'latin1' : '-latin1', - \'iso-2022-jp' : '-iso-2022', - \'cp1252' : '-win1252', - \'macroman' : '-mac', - \'utf-16le' : '-utf16le', - \'utf-16' : '-utf16', - \'big5' : '-big5', - \'sjis' : '-shiftjis', - \'cp850' : '-ibm858', - \} - return get(tidy_opts, &fileencoding, '-utf8') -endfunction - -function! SyntaxCheckers_xhtml_GetLocList() - - let encopt = s:TidyEncOptByFenc() - let makeprg="tidy ".encopt." -xml -e ".shellescape(expand('%')) - let errorformat='%Wline %l column %c - Warning: %m,%Eline %l column %c - Error: %m,%-G%.%#,%-G%.%#' - return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat, 'defaults': {'bufnr': bufnr("")} }) -endfunction diff --git a/vim/bundle/syntastic/syntax_checkers/xml.vim b/vim/bundle/syntastic/syntax_checkers/xml.vim deleted file mode 100644 index 55c0cdd..0000000 --- a/vim/bundle/syntastic/syntax_checkers/xml.vim +++ /dev/null @@ -1,42 +0,0 @@ -"============================================================================ -"File: xml.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Sebastian Kusnier -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ - -" You can use a local installation of DTDs to significantly speed up validation -" and allow you to validate XML data without network access, see xmlcatalog(1) -" and http://www.xmlsoft.org/catalog.html for more information. - -if exists("loaded_xml_syntax_checker") - finish -endif -let loaded_xml_syntax_checker = 1 - -"bail if the user doesnt have tidy or grep installed -if !executable("xmllint") - finish -endif - -function! SyntaxCheckers_xml_GetLocList() - - let makeprg="xmllint --xinclude --noout --postvalid " . shellescape(expand("%:p")) - let errorformat='%E%f:%l:\ error\ :\ %m, - \%-G%f:%l:\ validity\ error\ :\ Validation\ failed:\ no\ DTD\ found\ %m, - \%W%f:%l:\ warning\ :\ %m, - \%W%f:%l:\ validity\ warning\ :\ %m, - \%E%f:%l:\ validity\ error\ :\ %m, - \%E%f:%l:\ parser\ error\ :\ %m, - \%E%f:%l:\ %m, - \%-Z%p^, - \%-G%.%#' - let loclist = SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) - - return loclist -endfunction diff --git a/vim/bundle/syntastic/syntax_checkers/xslt.vim b/vim/bundle/syntastic/syntax_checkers/xslt.vim deleted file mode 100644 index b9b3cac..0000000 --- a/vim/bundle/syntastic/syntax_checkers/xslt.vim +++ /dev/null @@ -1,38 +0,0 @@ -"============================================================================ -"File: xslt.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Sebastian Kusnier -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ -if exists("loaded_xslt_syntax_checker") - finish -endif -let loaded_xslt_syntax_checker = 1 - -"bail if the user doesnt have tidy or grep installed -if !executable("xmllint") - finish -endif - -function! SyntaxCheckers_xslt_GetLocList() - - let makeprg="xmllint --xinclude --noout --postvalid " . shellescape(expand("%:p")) - let errorformat='%E%f:%l:\ error\ :\ %m, - \%-G%f:%l:\ validity\ error\ :\ Validation\ failed:\ no\ DTD\ found\ %m, - \%W%f:%l:\ warning\ :\ %m, - \%W%f:%l:\ validity\ warning\ :\ %m, - \%E%f:%l:\ validity\ error\ :\ %m, - \%E%f:%l:\ parser\ error\ :\ %m, - \%E%f:%l:\ namespace\ error\ :\ %m, - \%E%f:%l:\ %m, - \%-Z%p^, - \%-G%.%#' - let loclist = SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) - - return loclist -endfunction diff --git a/vim/bundle/syntastic/syntax_checkers/yaml.vim b/vim/bundle/syntastic/syntax_checkers/yaml.vim deleted file mode 100644 index f45d849..0000000 --- a/vim/bundle/syntastic/syntax_checkers/yaml.vim +++ /dev/null @@ -1,30 +0,0 @@ -"============================================================================ -"File: yaml.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Martin Grenfell -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -" -"Installation: $ npm install -g js-yaml.bin -" -"============================================================================ -if exists("loaded_yaml_syntax_checker") - finish -endif -let loaded_yaml_syntax_checker = 1 - -if !executable("js-yaml") - finish -endif - -function! SyntaxCheckers_yaml_GetLocList() - let makeprg='js-yaml --compact ' . shellescape(expand('%')) - let errorformat='Error on line %l\, col %c:%m,%-G%.%#' - return SyntasticMake({ 'makeprg': makeprg, - \ 'errorformat': errorformat, - \ 'defaults': {'bufnr': bufnr("")} }) -endfunction diff --git a/vim/bundle/syntastic/syntax_checkers/zpt.vim b/vim/bundle/syntastic/syntax_checkers/zpt.vim deleted file mode 100644 index 0b0063b..0000000 --- a/vim/bundle/syntastic/syntax_checkers/zpt.vim +++ /dev/null @@ -1,36 +0,0 @@ -"============================================================================ -"File: zpt.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: claytron -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ - -" In order for this plugin to be useful, you will need to set up the -" zpt filetype in your vimrc -" -" " set up zope page templates as the zpt filetype -" au BufNewFile,BufRead *.pt,*.cpt,*.zpt set filetype=zpt syntax=xml -" -" Then install the zptlint program, found on pypi: -" http://pypi.python.org/pypi/zptlint - -if exists("loaded_zpt_syntax_checker") - finish -endif -let loaded_zpt_syntax_checker = 1 - -" Bail if the user doesn't have zptlint installed -if !executable("zptlint") - finish -endif - -function! SyntaxCheckers_zpt_GetLocList() - let makeprg="zptlint ".shellescape(expand('%')) - let errorformat='%-P*** Error in: %f,%Z%*\s\, at line %l\, column %c,%E%*\s%m,%-Q' - return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) -endfunction diff --git a/vim/bundle/vim-coffee-script/.gitignore b/vim/bundle/vim-coffee-script/.gitignore deleted file mode 100644 index 1ff7b05..0000000 --- a/vim/bundle/vim-coffee-script/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -.*.sw[a-z] -.*.un~ -doc/tags - diff --git a/vim/bundle/vim-coffee-script/Copying.md b/vim/bundle/vim-coffee-script/Copying.md deleted file mode 100644 index 8fc6954..0000000 --- a/vim/bundle/vim-coffee-script/Copying.md +++ /dev/null @@ -1,15 +0,0 @@ - DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE - Version 2, December 2004 - - Copyright (C) 2010 to 2011 Mick Koch - - Everyone is permitted to copy and distribute verbatim or modified - copies of this license document, and changing it is allowed as long - as the name is changed. - - DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. You just DO WHAT THE FUCK YOU WANT TO. - - diff --git a/vim/bundle/vim-coffee-script/Makefile b/vim/bundle/vim-coffee-script/Makefile deleted file mode 100644 index 9ad9adc..0000000 --- a/vim/bundle/vim-coffee-script/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -REF = HEAD -VERSION = $(shell git describe --always $(REF)) - -ARCHIVE = vim-coffee-script-$(VERSION).zip -ARCHIVE_DIRS = after compiler ftdetect ftplugin indent syntax - -# Don't do anything by default. -all: - -# Make vim.org zipball. -archive: - git archive $(REF) -o $(ARCHIVE) -- $(ARCHIVE_DIRS) - -# Remove zipball. -clean: - -rm -f $(ARCHIVE) - -# Build the list of syntaxes for @coffeeAll. -coffeeAll: - @grep -E 'syn (match|region)' syntax/coffee.vim |\ - grep -v 'contained' |\ - awk '{print $$3}' |\ - uniq - -.PHONY: all archive clean hash coffeeAll diff --git a/vim/bundle/vim-coffee-script/News.md b/vim/bundle/vim-coffee-script/News.md deleted file mode 100644 index 652cce6..0000000 --- a/vim/bundle/vim-coffee-script/News.md +++ /dev/null @@ -1,14 +0,0 @@ -### Version 001 (October 18, 2011) - -Removed deprecated `coffee_folding` option, added `coffee_compile_vert` option, -split out compiler, fixed indentation and syntax bugs, and added Haml support -and omnicompletion. - - - The coffee compiler is now a proper vim compiler that can be loaded with - `:compiler coffee`. - - The `coffee_compile_vert` option can now be set to split the CoffeeCompile - buffer vertically by default. - - CoffeeScript is now highlighted inside the `:coffeescript` filter in Haml. - - Omnicompletion (`:help compl-omni`) now uses JavaScript's dictionary to - complete words. - - We now have a fancy version number. diff --git a/vim/bundle/vim-coffee-script/Readme.md b/vim/bundle/vim-coffee-script/Readme.md deleted file mode 100644 index fc16c74..0000000 --- a/vim/bundle/vim-coffee-script/Readme.md +++ /dev/null @@ -1,241 +0,0 @@ -This project adds [CoffeeScript] support to the vim editor. It handles syntax, -indenting, and compiling. Also included is an [eco] syntax and support for -CoffeeScript in Haml and HTML. - -![Screenshot](http://i.imgur.com/BV29H.png) - -[CoffeeScript]: http://jashkenas.github.com/coffee-script/ -[eco]: https://github.com/sstephenson/eco - -### Install from a Zipball - -This is the quickest way to get things running. - -1. Download the latest zipball from [vim.org][zipball-vim] or - [github][zipball-github]. The latest version on github is under Download - Packages (don't use the Download buttons.) - -2. Extract the archive into `~/.vim/`: - - unzip -od ~/.vim vim-coffee-script-HASH.zip - -These steps are also used to update the plugin. - -[zipball-vim]: http://www.vim.org/scripts/script.php?script_id=3590 -[zipball-github]: https://github.com/kchmck/vim-coffee-script/downloads - -### Install with Pathogen - -Since this plugin has rolling versions based on git commits, using pathogen and -git is the preferred way to install. The plugin ends up contained in its own -directory and updates are just a `git pull` away. - -1. Install tpope's [pathogen] into `~/.vim/autoload/` and add this line to your - `vimrc`: - - call pathogen#infect() - - To get the all the features of this plugin, make sure you also have a - `filetype plugin indent on` line in there. - -[pathogen]: http://www.vim.org/scripts/script.php?script_id=2332 - -2. Create and change into `~/.vim/bundle/`: - - $ mkdir ~/.vim/bundle - $ cd ~/.vim/bundle - -3. Make a clone of the `vim-coffee-script` repository: - - $ git clone https://github.com/kchmck/vim-coffee-script.git - -#### Updating - -1. Change into `~/.vim/bundle/vim-coffee-script/`: - - $ cd ~/.vim/bundle/vim-coffee-script - -2. Pull in the latest changes: - - $ git pull - -### CoffeeMake: Compile the Current File - -The `CoffeeMake` command compiles the current file and parses any errors: - - ![CoffeeMake](http://i.imgur.com/OKRKE.png) - - ![CoffeeMake](http://i.imgur.com/PQ6ed.png) - - ![CoffeeMake](http://i.imgur.com/Jp6NI.png) - -The full signature of the command is: - - :[silent] CoffeeMake[!] [COFFEE-OPTIONS]... - -By default, `CoffeeMake` shows all compiler output and jumps to the first line -reported as an error by `coffee`: - - :CoffeeMake - -Compiler output can be hidden with `silent`: - - :silent CoffeeMake - -Line-jumping can be turned off by adding a bang: - - :CoffeeMake! - -Options given to `CoffeeMake` are passed along to `coffee`: - - :CoffeeMake --bare - -`CoffeeMake` can be manually loaded for a file with: - - :compiler coffee - -#### Recompile on write - -To recompile a file when it's written, add an `autocmd` like this to your -`vimrc`: - - au BufWritePost *.coffee silent CoffeeMake! - -All of the customizations above can be used, too. This one compiles silently -and with the `-b` option, but shows any errors: - - au BufWritePost *.coffee silent CoffeeMake! -b | cwindow | redraw! - -The `redraw!` command is needed to fix a redrawing quirk in terminal vim, but -can removed for gVim. - -#### Default compiler options - -The `CoffeeMake` command passes any options in the `coffee_make_options` -variable along to the compiler. You can use this to set default options: - - let coffee_make_options = "--bare" - -### CoffeeCompile: Compile Snippets of CoffeeScript - -The `CoffeeCompile` command shows how the current file or a snippet of -CoffeeScript is compiled to JavaScript. The full signature of the command is: - - :[RANGE] CoffeeCompile [watch|unwatch] [vert[ical]] [WINDOW-SIZE] - -Calling `CoffeeCompile` without a range compiles the whole file: - - ![CoffeeCompile](http://i.imgur.com/pTesp.png) - - ![Compiled](http://i.imgur.com/81QMf.png) - -Calling `CoffeeCompile` with a range, like in visual mode, compiles the selected -snippet of CoffeeScript: - - ![CoffeeCompile Snippet](http://i.imgur.com/Rm7iu.png) - - ![Compiled Snippet](http://i.imgur.com/KmrG8.png) - -This scratch buffer can be quickly closed by hitting the `q` key. - -Using `vert` splits the CoffeeCompile buffer vertically instead of horizontally: - - :CoffeeCompile vert - -Set the `coffee_compile_vert` variable to split the buffer vertically by -default: - - let coffee_compile_vert = 1 - -The initial size of the CoffeeCompile buffer can be given as a number: - - :CoffeeCompile 4 - -#### Watch (live preview) mode - -Watch mode is like the Try CoffeeScript preview box on the CoffeeScript -homepage: - - ![Watch Mode](http://i.imgur.com/wIN6h.png) - ![Watch Mode](http://i.imgur.com/GgdCo.png) - ![Watch Mode](http://i.imgur.com/QdpAP.png) - -Writing some code and then exiting insert mode automatically updates the -compiled JavaScript buffer. - -Use `watch` to start watching a buffer (`vert` is also recommended): - - :CoffeeCompile watch vert - -After making some changes in insert mode, hit escape and the CoffeeScript will -be recompiled. Changes made outside of insert mode don't trigger this recompile, -but calling `CoffeeCompile` will compile these changes without any bad effects. - -To get synchronized scrolling of a CoffeeScript and CoffeeCompile buffer, set -`scrollbind` on each: - - :setl scrollbind - -Use `unwatch` to stop watching a buffer: - - :CoffeeCompile unwatch - -### CoffeeRun: Run some CoffeeScript - -The `CoffeeRun` command compiles the current file or selected snippet and runs -the resulting JavaScript. Output is shown at the bottom of the screen: - - ![CoffeeRun](http://i.imgur.com/d4yXC.png) - - ![CoffeeRun Output](http://i.imgur.com/m6UID.png) - -### Configure Syntax Highlighting - -Add these lines to your `vimrc` to disable the relevant syntax group. - -#### Disable trailing whitespace error - -Trailing whitespace is highlighted as an error by default. This can be disabled -with: - - hi link coffeeSpaceError NONE - -#### Disable trailing semicolon error - -Trailing semicolons are also considered an error (for help transitioning from -JavaScript.) This can be disabled with: - - hi link coffeeSemicolonError NONE - -#### Disable reserved words error - -Reserved words like `function` and `var` are highlighted as an error where -they're not allowed in CoffeeScript. This can be disabled with: - - hi link coffeeReservedError NONE - -### Tune Vim for CoffeeScript - -Changing these core settings can make vim more CoffeeScript friendly. - -#### Fold by indentation - -Folding by indentation works well for CoffeeScript functions and classes: - - ![Folding](http://i.imgur.com/lpDWo.png) - -To fold by indentation in CoffeeScript files, add this line to your `vimrc`: - - au BufNewFile,BufReadPost *.coffee setl foldmethod=indent nofoldenable - -With this, folding is disabled by default but can be quickly toggled per-file -by hitting `zi`. To enable folding by default, remove `nofoldenable`: - - au BufNewFile,BufReadPost *.coffee setl foldmethod=indent - -#### Two-space indentation - -To get standard two-space indentation in CoffeeScript files, add this line to -your `vimrc`: - - au BufNewFile,BufReadPost *.coffee setl shiftwidth=2 expandtab diff --git a/vim/bundle/vim-coffee-script/Thanks.md b/vim/bundle/vim-coffee-script/Thanks.md deleted file mode 100644 index 8ddcf23..0000000 --- a/vim/bundle/vim-coffee-script/Thanks.md +++ /dev/null @@ -1,44 +0,0 @@ -Thanks to all bug reporters, and special thanks to those who have contributed -code: - - Brian Egan (brianegan): - Initial compiling support - - Ches Martin (ches): - Initial vim docs - - Chris Hoffman (cehoffman): - Add new keywoards from, to, and do - Highlight the - in negative integers - Add here regex highlighting, increase fold level for here docs - - David Wilhelm (bigfish): - CoffeeRun command - - Jay Adkisson (jayferd): - Support for eco templates - - Karl Guertin (grayrest) - Cakefiles are coffeescript - - Maciej Konieczny (narfdotpl): - Fix funny typo - - Matt Sacks (mattsa): - Javascript omni-completion - coffee_compile_vert option - - Nick Stenning (nickstenning): - Fold by indentation for coffeescript - - Simon Lipp (sloonz): - Trailing spaces are not error on lines containing only spaces - - Stéphan Kochen (stephank): - Initial HTML CoffeeScript highlighting - - Sven Felix Oberquelle (Svelix): - Haml CoffeeScript highlighting - - Wei Dai (clvv): - Fix the use of Vim built-in make command. diff --git a/vim/bundle/vim-coffee-script/Todo.md b/vim/bundle/vim-coffee-script/Todo.md deleted file mode 100644 index 3d4ffaa..0000000 --- a/vim/bundle/vim-coffee-script/Todo.md +++ /dev/null @@ -1 +0,0 @@ -- Don't highlight bad operator combinations diff --git a/vim/bundle/vim-coffee-script/after/syntax/haml.vim b/vim/bundle/vim-coffee-script/after/syntax/haml.vim deleted file mode 100644 index d82fbea..0000000 --- a/vim/bundle/vim-coffee-script/after/syntax/haml.vim +++ /dev/null @@ -1,9 +0,0 @@ -" Language: CoffeeScript -" Maintainer: Sven Felix Oberquelle -" URL: http://github.com/kchmck/vim-coffee-script -" License: WTFPL - -" Inherit coffee from html so coffeeComment isn't redefined and given higher -" priority than hamlInterpolation. -syn cluster hamlCoffeescript contains=@htmlCoffeeScript -syn region hamlCoffeescriptFilter matchgroup=hamlFilter start="^\z(\s*\):coffeescript\s*$" end="^\%(\z1 \| *$\)\@!" contains=@hamlCoffeeScript,hamlInterpolation keepend diff --git a/vim/bundle/vim-coffee-script/after/syntax/html.vim b/vim/bundle/vim-coffee-script/after/syntax/html.vim deleted file mode 100644 index 63ebaec..0000000 --- a/vim/bundle/vim-coffee-script/after/syntax/html.vim +++ /dev/null @@ -1,10 +0,0 @@ -" Language: CoffeeScript -" Maintainer: Mick Koch -" URL: http://github.com/kchmck/vim-coffee-script -" License: WTFPL - -" Syntax highlighting for text/coffeescript script tags -syn include @htmlCoffeeScript syntax/coffee.vim -syn region coffeeScript start=++me=s-1 keepend -\ contains=@htmlCoffeeScript,htmlScriptTag,@htmlPreproc diff --git a/vim/bundle/vim-coffee-script/compiler/coffee.vim b/vim/bundle/vim-coffee-script/compiler/coffee.vim deleted file mode 100644 index 6d97cd8..0000000 --- a/vim/bundle/vim-coffee-script/compiler/coffee.vim +++ /dev/null @@ -1,68 +0,0 @@ -" Language: CoffeeScript -" Maintainer: Mick Koch -" URL: http://github.com/kchmck/vim-coffee-script -" License: WTFPL - -if exists('current_compiler') - finish -endif - -let current_compiler = 'coffee' -" Pattern to check if coffee is the compiler -let s:pat = '^' . current_compiler - -" Extra options passed to CoffeeMake -if !exists("coffee_make_options") - let coffee_make_options = "" -endif - -" Get a `makeprg` for the current filename. This is needed to support filenames -" with spaces and quotes, but also not break generic `make`. -function! s:GetMakePrg() - return 'coffee -c ' . g:coffee_make_options . ' $* ' . fnameescape(expand('%')) -endfunction - -" Set `makeprg` and return 1 if coffee is still the compiler, else return 0. -function! s:SetMakePrg() - if &l:makeprg =~ s:pat - let &l:makeprg = s:GetMakePrg() - elseif &g:makeprg =~ s:pat - let &g:makeprg = s:GetMakePrg() - else - return 0 - endif - - return 1 -endfunction - -" Set a dummy compiler so we can check whether to set locally or globally. -CompilerSet makeprg=coffee -call s:SetMakePrg() - -CompilerSet errorformat=Error:\ In\ %f\\,\ %m\ on\ line\ %l, - \Error:\ In\ %f\\,\ Parse\ error\ on\ line\ %l:\ %m, - \SyntaxError:\ In\ %f\\,\ %m, - \%-G%.%# - -" Compile the current file. -command! -bang -bar -nargs=* CoffeeMake make - -" Set `makeprg` on rename since we embed the filename in the setting. -augroup CoffeeUpdateMakePrg - autocmd! - - " Update `makeprg` if coffee is still the compiler, else stop running this - " function. - function! s:UpdateMakePrg() - if !s:SetMakePrg() - autocmd! CoffeeUpdateMakePrg - endif - endfunction - - " Set autocmd locally if compiler was set locally. - if &l:makeprg =~ s:pat - autocmd BufFilePost,BufWritePost call s:UpdateMakePrg() - else - autocmd BufFilePost,BufWritePost call s:UpdateMakePrg() - endif -augroup END diff --git a/vim/bundle/vim-coffee-script/doc/coffee-script.txt b/vim/bundle/vim-coffee-script/doc/coffee-script.txt deleted file mode 100644 index 84a537c..0000000 --- a/vim/bundle/vim-coffee-script/doc/coffee-script.txt +++ /dev/null @@ -1,116 +0,0 @@ -*coffee-script.txt* For Vim version 7.3 - -============================================================================= -Author: Mick Koch *coffee-script-author* -License: WTFPL (see |coffee-script-license|) -============================================================================= - -CONTENTS *coffee-script-contents* - -|coffee-script-introduction| Introduction and Feature Summary -|coffee-script-commands| Commands -|coffee-script-settings| Settings - -{Vi does not have any of this} - -============================================================================= - -INTRODUCTION *coffee-script* - *coffee-script-introduction* - -This plugin adds support for CoffeeScript syntax, indenting, and compiling. -Also included is an eco syntax and support for CoffeeScript in Haml and HTML. - -COMMANDS *coffee-script-commands* - - *:CoffeeMake* -:CoffeeMake[!] {opts} Wrapper around |:make| that also passes options in - |g:coffee_make_options| to the compiler. Use |:silent| - to hide compiler output. See |:make| for more - information about the bang and other helpful commands. - - *:CoffeeCompile* -:[range]CoffeeCompile [vertical] [{win-size}] - Shows how the current file or [range] is compiled - to JavaScript. [vertical] (or vert) splits the - compile buffer vertically instead of horizontally, and - {win-size} sets the initial size of the buffer. It can - be closed quickly with the "q" key. - -:CoffeeCompile {watch} [vertical] [{win-size}] - The watch mode of :CoffeeCompile emulates the "Try - CoffeeScript" live preview on the CoffeeScript web - site. After making changes to the source file, - exiting insert mode will cause the preview buffer to - update automatically. {watch} should be given as - "watch" or "unwatch," where the latter will stop the - automatic updating. [vertical] is recommended, and - 'scrollbind' is useful. - - *:CoffeeRun* -:[range]CoffeeRun Compiles the file or [range] and runs the resulting - JavaScript, displaying the output. - -SETTINGS *coffee-script-settings* - -You can configure plugin behavior using global variables and syntax commands -in your |vimrc|. - -Global Settings~ - - *g:coffee_make_options* -Set default options |CoffeeMake| should pass to the compiler. -> - let coffee_make_options = '--bare' -< - *g:coffee_compile_vert* -Split the CoffeeCompile buffer vertically by default. -> - let coffee_compile_vert = 1 - -Syntax Highlighting~ - *ft-coffee-script-syntax* -Trailing whitespace is highlighted as an error by default. This can be -disabled with: -> - hi link coffeeSpaceError NONE - -Trailing semicolons are also considered an error (for help transitioning from -JavaScript.) This can be disabled with: -> - hi link coffeeSemicolonError NONE - -Reserved words like {function} and {var} are highlighted where they're not -allowed in CoffeeScript. This can be disabled with: -> - hi link coffeeReservedError NONE - -COMPILER *compiler-coffee-script* - -A CoffeeScript compiler is provided as a wrapper around {coffee} and can be -loaded with; -> - compiler coffee - -This is done automatically when a CoffeeScript file is opened if no other -compiler is loaded. - -============================================================================= - -LICENSE *coffee-script-license* - - DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE - Version 2, December 2004 - - Copyright (C) 2010 to 2011 Mick Koch - - Everyone is permitted to copy and distribute verbatim or modified - copies of this license document, and changing it is allowed as long - as the name is changed. - - DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. You just DO WHAT THE FUCK YOU WANT TO. - - vim:tw=78:ts=8:ft=help:norl: diff --git a/vim/bundle/vim-coffee-script/ftdetect/coffee.vim b/vim/bundle/vim-coffee-script/ftdetect/coffee.vim deleted file mode 100644 index 25daf12..0000000 --- a/vim/bundle/vim-coffee-script/ftdetect/coffee.vim +++ /dev/null @@ -1,8 +0,0 @@ -" Language: CoffeeScript -" Maintainer: Mick Koch -" URL: http://github.com/kchmck/vim-coffee-script -" License: WTFPL - -autocmd BufNewFile,BufRead *.coffee set filetype=coffee -autocmd BufNewFile,BufRead *Cakefile set filetype=coffee -autocmd BufNewFile,BufRead *.coffeekup set filetype=coffee diff --git a/vim/bundle/vim-coffee-script/ftdetect/eco.vim b/vim/bundle/vim-coffee-script/ftdetect/eco.vim deleted file mode 100644 index b420649..0000000 --- a/vim/bundle/vim-coffee-script/ftdetect/eco.vim +++ /dev/null @@ -1 +0,0 @@ -autocmd BufNewFile,BufRead *.eco set filetype=eco diff --git a/vim/bundle/vim-coffee-script/ftplugin/coffee.vim b/vim/bundle/vim-coffee-script/ftplugin/coffee.vim deleted file mode 100644 index 12ae3f0..0000000 --- a/vim/bundle/vim-coffee-script/ftplugin/coffee.vim +++ /dev/null @@ -1,221 +0,0 @@ -" Language: CoffeeScript -" Maintainer: Mick Koch -" URL: http://github.com/kchmck/vim-coffee-script -" License: WTFPL - -if exists("b:did_ftplugin") - finish -endif - -let b:did_ftplugin = 1 - -setlocal formatoptions-=t formatoptions+=croql -setlocal comments=:# -setlocal commentstring=#\ %s -setlocal omnifunc=javascriptcomplete#CompleteJS - -" Enable CoffeeMake if it won't overwrite any settings. -if !len(&l:makeprg) - compiler coffee -endif - -" Reset the global variables used by CoffeeCompile. -function! s:CoffeeCompileResetVars() - " Position in the source buffer - let s:coffee_compile_src_buf = -1 - let s:coffee_compile_src_pos = [] - - " Position in the CoffeeCompile buffer - let s:coffee_compile_buf = -1 - let s:coffee_compile_win = -1 - let s:coffee_compile_pos = [] - - " If CoffeeCompile is watching a buffer - let s:coffee_compile_watch = 0 -endfunction - -" Save the cursor position when moving to and from the CoffeeCompile buffer. -function! s:CoffeeCompileSavePos() - let buf = bufnr('%') - let pos = getpos('.') - - if buf == s:coffee_compile_buf - let s:coffee_compile_pos = pos - else - let s:coffee_compile_src_buf = buf - let s:coffee_compile_src_pos = pos - endif -endfunction - -" Restore the cursor to the source buffer. -function! s:CoffeeCompileRestorePos() - let win = bufwinnr(s:coffee_compile_src_buf) - - if win != -1 - exec win 'wincmd w' - call setpos('.', s:coffee_compile_src_pos) - endif -endfunction - -" Close the CoffeeCompile buffer and clean things up. -function! s:CoffeeCompileClose() - silent! autocmd! CoffeeCompileAuPos - silent! autocmd! CoffeeCompileAuWatch - - call s:CoffeeCompileRestorePos() - call s:CoffeeCompileResetVars() -endfunction - -" Update the CoffeeCompile buffer given some input lines. -function! s:CoffeeCompileUpdate(startline, endline) - let input = join(getline(a:startline, a:endline), "\n") - - " Coffee doesn't like empty input. - if !len(input) - return - endif - - " Compile input. - let output = system('coffee -scb 2>&1', input) - - " Move to the CoffeeCompile buffer. - exec s:coffee_compile_win 'wincmd w' - - " Replace buffer contents with new output and delete the last empty line. - setlocal modifiable - exec '% delete _' - put! =output - exec '$ delete _' - setlocal nomodifiable - - " Highlight as JavaScript if there is no compile error. - if v:shell_error - setlocal filetype= - else - setlocal filetype=javascript - endif - - " Restore the cursor in the compiled output. - call setpos('.', s:coffee_compile_pos) -endfunction - -" Update the CoffeeCompile buffer with the whole source buffer and restore the -" cursor. -function! s:CoffeeCompileWatchUpdate() - call s:CoffeeCompileSavePos() - call s:CoffeeCompileUpdate(1, '$') - call s:CoffeeCompileRestorePos() -endfunction - -" Peek at compiled CoffeeScript in a scratch buffer. We handle ranges like this -" to prevent the cursor from being moved (and its position saved) before the -" function is called. -function! s:CoffeeCompile(startline, endline, args) - " Don't compile the CoffeeCompile buffer. - if bufnr('%') == s:coffee_compile_buf - return - endif - - " Parse arguments. - let watch = a:args =~ '\' - let unwatch = a:args =~ '\' - let size = str2nr(matchstr(a:args, '\<\d\+\>')) - - " Determine default split direction. - if exists("g:coffee_compile_vert") - let vert = 1 - else - let vert = a:args =~ '\' - endif - - " Remove any watch listeners. - silent! autocmd! CoffeeCompileAuWatch - - " If just unwatching, don't compile. - if unwatch - let s:coffee_compile_watch = 0 - return - endif - - if watch - let s:coffee_compile_watch = 1 - endif - - call s:CoffeeCompileSavePos() - - " Build the CoffeeCompile buffer if it doesn't exist. - if s:coffee_compile_buf == -1 - let src_win = bufwinnr(s:coffee_compile_src_buf) - - " Create the new window and resize it. - if vert - let width = size ? size : winwidth(src_win) / 2 - - vertical new - exec 'vertical resize' width - else - " Try to guess the compiled output's height. - let height = size ? size : min([winheight(src_win) / 2, - \ a:endline - a:startline + 2]) - - botright new - exec 'resize' height - endif - - " Set up scratch buffer. - setlocal bufhidden=wipe buftype=nofile - setlocal nobuflisted nomodifiable noswapfile nowrap - - autocmd BufWipeout call s:CoffeeCompileClose() - nnoremap q :hide - - " Save the cursor position on each buffer switch. - augroup CoffeeCompileAuPos - autocmd BufEnter,BufLeave * call s:CoffeeCompileSavePos() - augroup END - - let s:coffee_compile_buf = bufnr('%') - let s:coffee_compile_win = bufwinnr(s:coffee_compile_buf) - endif - - " Go back to the source buffer and do the initial compile. - call s:CoffeeCompileRestorePos() - - if s:coffee_compile_watch - call s:CoffeeCompileWatchUpdate() - - augroup CoffeeCompileAuWatch - autocmd InsertLeave call s:CoffeeCompileWatchUpdate() - augroup END - else - call s:CoffeeCompileUpdate(a:startline, a:endline) - endif -endfunction - -" Complete arguments for the CoffeeCompile command. -function! s:CoffeeCompileComplete(arg, cmdline, cursor) - let args = ['unwatch', 'vertical', 'watch'] - - if !len(a:arg) - return args - endif - - let match = '^' . a:arg - - for arg in args - if arg =~ match - return [arg] - endif - endfor -endfunction - -" Don't let new windows overwrite the CoffeeCompile variables. -if !exists("s:coffee_compile_buf") - call s:CoffeeCompileResetVars() -endif - -" Peek at compiled CoffeeScript. -command! -range=% -bar -nargs=* -complete=customlist,s:CoffeeCompileComplete -\ CoffeeCompile call s:CoffeeCompile(, , ) -" Run some CoffeeScript. -command! -range=% -bar CoffeeRun ,:w !coffee -s diff --git a/vim/bundle/vim-coffee-script/indent/coffee.vim b/vim/bundle/vim-coffee-script/indent/coffee.vim deleted file mode 100644 index f570918..0000000 --- a/vim/bundle/vim-coffee-script/indent/coffee.vim +++ /dev/null @@ -1,338 +0,0 @@ -" Language: CoffeeScript -" Maintainer: Mick Koch -" URL: http://github.com/kchmck/vim-coffee-script -" License: WTFPL - -if exists("b:did_indent") - finish -endif - -let b:did_indent = 1 - -setlocal autoindent -setlocal indentexpr=GetCoffeeIndent(v:lnum) -" Make sure GetCoffeeIndent is run when these are typed so they can be -" indented or outdented. -setlocal indentkeys+=0],0),0.,=else,=when,=catch,=finally - -" Only define the function once. -if exists("*GetCoffeeIndent") - finish -endif - -" Keywords to indent after -let s:INDENT_AFTER_KEYWORD = '^\%(if\|unless\|else\|for\|while\|until\|' -\ . 'loop\|switch\|when\|try\|catch\|finally\|' -\ . 'class\)\>' - -" Operators to indent after -let s:INDENT_AFTER_OPERATOR = '\%([([{:=]\|[-=]>\)$' - -" Keywords and operators that continue a line -let s:CONTINUATION = '\<\%(is\|isnt\|and\|or\)\>$' -\ . '\|' -\ . '\%(-\@\|\*\|/\@' - -" A compound assignment like `... = if ...` -let s:COMPOUND_ASSIGNMENT = '[:=]\s*\%(if\|unless\|for\|while\|until\|' -\ . 'switch\|try\|class\)\>' - -" A postfix condition like `return ... if ...`. -let s:POSTFIX_CONDITION = '\S\s\+\zs\<\%(if\|unless\)\>' - -" A single-line else statement like `else ...` but not `else if ... -let s:SINGLE_LINE_ELSE = '^else\s\+\%(\<\%(if\|unless\)\>\)\@!' - -" Max lines to look back for a match -let s:MAX_LOOKBACK = 50 - -" Syntax names for strings -let s:SYNTAX_STRING = 'coffee\%(String\|AssignString\|Embed\|Regex\|Heregex\|' -\ . 'Heredoc\)' - -" Syntax names for comments -let s:SYNTAX_COMMENT = 'coffee\%(Comment\|BlockComment\|HeregexComment\)' - -" Syntax names for strings and comments -let s:SYNTAX_STRING_COMMENT = s:SYNTAX_STRING . '\|' . s:SYNTAX_COMMENT - -" Get the linked syntax name of a character. -function! s:SyntaxName(linenum, col) - return synIDattr(synID(a:linenum, a:col, 1), 'name') -endfunction - -" Check if a character is in a comment. -function! s:IsComment(linenum, col) - return s:SyntaxName(a:linenum, a:col) =~ s:SYNTAX_COMMENT -endfunction - -" Check if a character is in a string. -function! s:IsString(linenum, col) - return s:SyntaxName(a:linenum, a:col) =~ s:SYNTAX_STRING -endfunction - -" Check if a character is in a comment or string. -function! s:IsCommentOrString(linenum, col) - return s:SyntaxName(a:linenum, a:col) =~ s:SYNTAX_STRING_COMMENT -endfunction - -" Check if a whole line is a comment. -function! s:IsCommentLine(linenum) - " Check the first non-whitespace character. - return s:IsComment(a:linenum, indent(a:linenum) + 1) -endfunction - -" Repeatedly search a line for a regex until one is found outside a string or -" comment. -function! s:SmartSearch(linenum, regex) - " Start at the first column. - let col = 0 - - " Search until there are no more matches, unless a good match is found. - while 1 - call cursor(a:linenum, col + 1) - let [_, col] = searchpos(a:regex, 'cn', a:linenum) - - " No more matches. - if !col - break - endif - - if !s:IsCommentOrString(a:linenum, col) - return 1 - endif - endwhile - - " No good match found. - return 0 -endfunction - -" Skip a match if it's in a comment or string, is a single-line statement that -" isn't adjacent, or is a postfix condition. -function! s:ShouldSkip(startlinenum, linenum, col) - if s:IsCommentOrString(a:linenum, a:col) - return 1 - endif - - " Check for a single-line statement that isn't adjacent. - if s:SmartSearch(a:linenum, '\') && a:startlinenum - a:linenum > 1 - return 1 - endif - - if s:SmartSearch(a:linenum, s:POSTFIX_CONDITION) && - \ !s:SmartSearch(a:linenum, s:COMPOUND_ASSIGNMENT) - return 1 - endif - - return 0 -endfunction - -" Find the farthest line to look back to, capped to line 1 (zero and negative -" numbers cause bad things). -function! s:MaxLookback(startlinenum) - return max([1, a:startlinenum - s:MAX_LOOKBACK]) -endfunction - -" Get the skip expression for searchpair(). -function! s:SkipExpr(startlinenum) - return "s:ShouldSkip(" . a:startlinenum . ", line('.'), col('.'))" -endfunction - -" Search for pairs of text. -function! s:SearchPair(start, end) - " The cursor must be in the first column for regexes to match. - call cursor(0, 1) - - let startlinenum = line('.') - - " Don't need the W flag since MaxLookback caps the search to line 1. - return searchpair(a:start, '', a:end, 'bcn', - \ s:SkipExpr(startlinenum), - \ s:MaxLookback(startlinenum)) -endfunction - -" Try to find a previous matching line. -function! s:GetMatch(curline) - let firstchar = a:curline[0] - - if firstchar == '}' - return s:SearchPair('{', '}') - elseif firstchar == ')' - return s:SearchPair('(', ')') - elseif firstchar == ']' - return s:SearchPair('\[', '\]') - elseif a:curline =~ '^else\>' - return s:SearchPair('\<\%(if\|unless\|when\)\>', '\') - elseif a:curline =~ '^catch\>' - return s:SearchPair('\', '\') - elseif a:curline =~ '^finally\>' - return s:SearchPair('\', '\') - endif - - return 0 -endfunction - -" Get the nearest previous line that isn't a comment. -function! s:GetPrevNormalLine(startlinenum) - let curlinenum = a:startlinenum - - while curlinenum > 0 - let curlinenum = prevnonblank(curlinenum - 1) - - if !s:IsCommentLine(curlinenum) - return curlinenum - endif - endwhile - - return 0 -endfunction - -" Try to find a comment in a line. -function! s:FindComment(linenum) - let col = 0 - - while 1 - call cursor(a:linenum, col + 1) - let [_, col] = searchpos('#', 'cn', a:linenum) - - if !col - break - endif - - if s:IsComment(a:linenum, col) - return col - endif - endwhile - - return 0 -endfunction - -" Get a line without comments or surrounding whitespace. -function! s:GetTrimmedLine(linenum) - let comment = s:FindComment(a:linenum) - let line = getline(a:linenum) - - if comment - " Subtract 1 to get to the column before the comment and another 1 for - " zero-based indexing. - let line = line[:comment - 2] - endif - - return substitute(substitute(line, '^\s\+', '', ''), - \ '\s\+$', '', '') -endfunction - -function! s:GetCoffeeIndent(curlinenum) - let prevlinenum = s:GetPrevNormalLine(a:curlinenum) - - " Don't do anything if there's no previous line. - if !prevlinenum - return -1 - endif - - let curline = s:GetTrimmedLine(a:curlinenum) - - " Try to find a previous matching statement. This handles outdenting. - let matchlinenum = s:GetMatch(curline) - - if matchlinenum - return indent(matchlinenum) - endif - - " Try to find a matching `when`. - if curline =~ '^when\>' && !s:SmartSearch(prevlinenum, '\') - let linenum = a:curlinenum - - while linenum > 0 - let linenum = s:GetPrevNormalLine(linenum) - - if getline(linenum) =~ '^\s*when\>' - return indent(linenum) - endif - endwhile - - return -1 - endif - - let prevline = s:GetTrimmedLine(prevlinenum) - let previndent = indent(prevlinenum) - - " Always indent after these operators. - if prevline =~ s:INDENT_AFTER_OPERATOR - return previndent + &shiftwidth - endif - - " Indent after a continuation if it's the first. - if prevline =~ s:CONTINUATION - " If the line ends in a slash, make sure it isn't a regex. - if prevline =~ '/$' - " Move to the line so we can get the last column. - call cursor(prevlinenum) - - if s:IsString(prevlinenum, col('$') - 1) - return -1 - endif - endif - - let prevprevlinenum = s:GetPrevNormalLine(prevlinenum) - - " If the continuation is the first in the file, don't run the other checks. - if !prevprevlinenum - return previndent + &shiftwidth - endif - - let prevprevline = s:GetTrimmedLine(prevprevlinenum) - - if prevprevline !~ s:CONTINUATION && prevprevline !~ s:CONTINUATION_BLOCK - return previndent + &shiftwidth - endif - - return -1 - endif - - " Indent after these keywords and compound assignments if they aren't a - " single-line statement. - if prevline =~ s:INDENT_AFTER_KEYWORD || prevline =~ s:COMPOUND_ASSIGNMENT - if !s:SmartSearch(prevlinenum, '\') && prevline !~ s:SINGLE_LINE_ELSE - return previndent + &shiftwidth - endif - - return -1 - endif - - " Indent a dot access if it's the first. - if curline =~ s:DOT_ACCESS && prevline !~ s:DOT_ACCESS - return previndent + &shiftwidth - endif - - " Outdent after these keywords if they don't have a postfix condition or are - " a single-line statement. - if prevline =~ s:OUTDENT_AFTER - if !s:SmartSearch(prevlinenum, s:POSTFIX_CONDITION) || - \ s:SmartSearch(prevlinenum, '\') - return previndent - &shiftwidth - endif - endif - - " No indenting or outdenting is needed. - return -1 -endfunction - -" Wrap s:GetCoffeeIndent to keep the cursor position. -function! GetCoffeeIndent(curlinenum) - let oldcursor = getpos('.') - let indent = s:GetCoffeeIndent(a:curlinenum) - call setpos('.', oldcursor) - - return indent -endfunction diff --git a/vim/bundle/vim-coffee-script/syntax/coffee.vim b/vim/bundle/vim-coffee-script/syntax/coffee.vim deleted file mode 100755 index e31e7f0..0000000 --- a/vim/bundle/vim-coffee-script/syntax/coffee.vim +++ /dev/null @@ -1,217 +0,0 @@ -" Language: CoffeeScript -" Maintainer: Mick Koch -" URL: http://github.com/kchmck/vim-coffee-script -" License: WTFPL - -" Bail if our syntax is already loaded. -if exists('b:current_syntax') && b:current_syntax == 'coffee' - finish -endif - -" Include JavaScript for coffeeEmbed. -syn include @coffeeJS syntax/javascript.vim - -" Highlight long strings. -syn sync minlines=100 - -" CoffeeScript identifiers can have dollar signs. -setlocal isident+=$ - -" These are `matches` instead of `keywords` because vim's highlighting -" priority for keywords is higher than matches. This causes keywords to be -" highlighted inside matches, even if a match says it shouldn't contain them -- -" like with coffeeAssign and coffeeDot. -syn match coffeeStatement /\<\%(return\|break\|continue\|throw\)\>/ display -hi def link coffeeStatement Statement - -syn match coffeeRepeat /\<\%(for\|while\|until\|loop\)\>/ display -hi def link coffeeRepeat Repeat - -syn match coffeeConditional /\<\%(if\|else\|unless\|switch\|when\|then\)\>/ -\ display -hi def link coffeeConditional Conditional - -syn match coffeeException /\<\%(try\|catch\|finally\)\>/ display -hi def link coffeeException Exception - -syn match coffeeKeyword /\<\%(new\|in\|of\|by\|and\|or\|not\|is\|isnt\|class\|extends\|super\|do\)\>/ -\ display -" The `own` keyword is only a keyword after `for`. -syn match coffeeKeyword /\/ contained containedin=coffeeRepeat -\ display -hi def link coffeeKeyword Keyword - -syn match coffeeOperator /\<\%(instanceof\|typeof\|delete\)\>/ display -hi def link coffeeOperator Operator - -" The first case matches symbol operators only if they have an operand before. -syn match coffeeExtendedOp /\%(\S\s*\)\@<=[+\-*/%&|\^=!<>?.]\+\|[-=]>\|--\|++\|:/ -\ display -syn match coffeeExtendedOp /\<\%(and\|or\)=/ display -hi def link coffeeExtendedOp coffeeOperator - -" This is separate from `coffeeExtendedOp` to help differentiate commas from -" dots. -syn match coffeeSpecialOp /[,;]/ display -hi def link coffeeSpecialOp SpecialChar - -syn match coffeeBoolean /\<\%(true\|on\|yes\|false\|off\|no\)\>/ display -hi def link coffeeBoolean Boolean - -syn match coffeeGlobal /\<\%(null\|undefined\)\>/ display -hi def link coffeeGlobal Type - -" A special variable -syn match coffeeSpecialVar /\<\%(this\|prototype\|arguments\)\>/ display -" An @-variable -syn match coffeeSpecialVar /@\%(\I\i*\)\?/ display -hi def link coffeeSpecialVar Special - -" A class-like name that starts with a capital letter -syn match coffeeObject /\<\u\w*\>/ display -hi def link coffeeObject Structure - -" A constant-like name in SCREAMING_CAPS -syn match coffeeConstant /\<\u[A-Z0-9_]\+\>/ display -hi def link coffeeConstant Constant - -" A variable name -syn cluster coffeeIdentifier contains=coffeeSpecialVar,coffeeObject, -\ coffeeConstant - -" A non-interpolated string -syn cluster coffeeBasicString contains=@Spell,coffeeEscape -" An interpolated string -syn cluster coffeeInterpString contains=@coffeeBasicString,coffeeInterp - -" Regular strings -syn region coffeeString start=/"/ skip=/\\\\\|\\"/ end=/"/ -\ contains=@coffeeInterpString -syn region coffeeString start=/'/ skip=/\\\\\|\\'/ end=/'/ -\ contains=@coffeeBasicString -hi def link coffeeString String - -" A integer, including a leading plus or minus -syn match coffeeNumber /\i\@/ display -syn match coffeeNumber /\<0b[01]\+\>/ display -hi def link coffeeNumber Number - -" A floating-point number, including a leading plus or minus -syn match coffeeFloat /\i\@/ - \ display - hi def link coffeeReservedError Error -endif - -" A normal object assignment -syn match coffeeObjAssign /@\?\I\i*\s*\ze::\@!/ contains=@coffeeIdentifier display -hi def link coffeeObjAssign Identifier - -syn keyword coffeeTodo TODO FIXME XXX contained -hi def link coffeeTodo Todo - -syn match coffeeComment /#.*/ contains=@Spell,coffeeTodo -hi def link coffeeComment Comment - -syn region coffeeBlockComment start=/####\@!/ end=/###/ -\ contains=@Spell,coffeeTodo -hi def link coffeeBlockComment coffeeComment - -" A comment in a heregex -syn region coffeeHeregexComment start=/#/ end=/\ze\/\/\/\|$/ contained -\ contains=@Spell,coffeeTodo -hi def link coffeeHeregexComment coffeeComment - -" Embedded JavaScript -syn region coffeeEmbed matchgroup=coffeeEmbedDelim -\ start=/`/ skip=/\\\\\|\\`/ end=/`/ -\ contains=@coffeeJS -hi def link coffeeEmbedDelim Delimiter - -syn region coffeeInterp matchgroup=coffeeInterpDelim start=/#{/ end=/}/ contained -\ contains=@coffeeAll -hi def link coffeeInterpDelim PreProc - -" A string escape sequence -syn match coffeeEscape /\\\d\d\d\|\\x\x\{2\}\|\\u\x\{4\}\|\\./ contained display -hi def link coffeeEscape SpecialChar - -" A regex -- must not follow a parenthesis, number, or identifier, and must not -" be followed by a number -syn region coffeeRegex start=/\%(\%()\|\i\@/ contains=@coffeeTop containedin=ALLBUT,@ecoRegions keepend -syn region ecoExpression matchgroup=ecoDelimiter start=/<%[=\-]/ end=/%>/ contains=@coffeeTop containedin=ALLBUT,@ecoRegions keepend -syn region ecoComment matchgroup=ecoComment start=/<%#/ end=/%>/ contains=@coffeeTodo,@Spell containedin=ALLBUT,@ecoRegions keepend - -" eco features not in coffeescript proper -syn keyword ecoEnd end containedin=@ecoRegions -syn match ecoIndentColon /\s+\w+:/ containedin=@ecoRegions - -" Define the default highlighting. - -hi def link ecoDelimiter Delimiter -hi def link ecoComment Comment -hi def link ecoEnd coffeeConditional -hi def link ecoIndentColon None - -let b:current_syntax = 'eco' - -" vim: nowrap sw=2 sts=2 ts=8: diff --git a/vim/bundle/vim-coffee-script/test/test-eco.html.eco b/vim/bundle/vim-coffee-script/test/test-eco.html.eco deleted file mode 100644 index d8c5ed4..0000000 --- a/vim/bundle/vim-coffee-script/test/test-eco.html.eco +++ /dev/null @@ -1,12 +0,0 @@ - - <%# comment %> - - <%# basic %> - <%- foo = "1" %> - - <%# interpolation %> - <%= " == #{ ( -> "LOL" )() } == " %> - - <%# interpolation with nested curlies %> - <%= " == #{ { a: 1, b: { c: 3, d: 4 } } } == " %> - diff --git a/vim/bundle/vim-coffee-script/test/test-interp.coffee b/vim/bundle/vim-coffee-script/test/test-interp.coffee deleted file mode 100644 index 399ea0d..0000000 --- a/vim/bundle/vim-coffee-script/test/test-interp.coffee +++ /dev/null @@ -1,3 +0,0 @@ -# Nested curlies -" >> #{ == { { { } } } == } << " -" >> #{ == { abc: { def: 42 } } == } << " diff --git a/vim/bundle/vim-coffee-script/test/test-ops.coffee b/vim/bundle/vim-coffee-script/test/test-ops.coffee deleted file mode 100644 index 54be8db..0000000 --- a/vim/bundle/vim-coffee-script/test/test-ops.coffee +++ /dev/null @@ -1,90 +0,0 @@ -# Various operators -abc instanceof def -typeof abc -delete abc -abc::def - -abc + def -abc - def -abc * def -abc / def -abc % def -abc & def -abc | def -abc ^ def -abc >> def -abc << def -abc >>> def -abc ? def -abc && def -abc and def -abc || def -abc or def - -abc += def -abc -= def -abc *= def -abc /= def -abc %= def -abc &= def -abc |= def -abc ^= def -abc >>= def -abc <<= def -abc >>>= def -abc ?= def -abc &&= def -abc ||= def - -abc and= def -abc or= def - -abc.def.ghi -abc?.def?.ghi - -abc < def -abc > def -abc = def -abc == def -abc != def -abc <= def -abc >= def - -abc++ -abc-- -++abc ---abc - -# Nested operators -abc[def] = ghi -abc[def[ghi: jkl]] = 42 -@abc[def] = ghi - -abc["#{def = 42}"] = 42 -abc["#{def.ghi = 42}"] = 42 -abc["#{def[ghi] = 42}"] = 42 -abc["#{def['ghi']}"] = 42 - -# Object assignments -abc = - def: 123 - DEF: 123 - @def: 123 - Def: 123 - 'def': 123 - 42: 123 - -# Operators shouldn't be highlighted -vector= -wand= - -abc+++ -abc--- -abc ** def -abc &&& def -abc ^^ def -abc ===== def -abc <==== def -abc >==== def -abc +== def -abc =^= def diff --git a/vim/bundle/vim-coffee-script/test/test-reserved.coffee b/vim/bundle/vim-coffee-script/test/test-reserved.coffee deleted file mode 100644 index b841760..0000000 --- a/vim/bundle/vim-coffee-script/test/test-reserved.coffee +++ /dev/null @@ -1,27 +0,0 @@ -# Should be an error -function = 42 -var = 42 - -# Shouldn't be an error -abc.with = 42 -function: 42 -var: 42 - -# Keywords shouldn't be highlighted -abc.function -abc.do -abc.break -abc.true - -abc::function -abc::do -abc::break -abc::true - -abc:: function -abc. function - -# Numbers should be highlighted -def.42 -def .42 -def::42 diff --git a/vim/bundle/vim-coffee-script/test/test.html b/vim/bundle/vim-coffee-script/test/test.html deleted file mode 100644 index fac772f..0000000 --- a/vim/bundle/vim-coffee-script/test/test.html +++ /dev/null @@ -1,5 +0,0 @@ - diff --git a/vim/bundle/vim-colors-solarized/README.mkd b/vim/bundle/vim-colors-solarized/README.mkd deleted file mode 100644 index a163b02..0000000 --- a/vim/bundle/vim-colors-solarized/README.mkd +++ /dev/null @@ -1,267 +0,0 @@ ---- -Title: Solarized Colorscheme for Vim -Description: Precision colors for machines and people -Author: Ethan Schoonover -Colors: light yellow -Created: 2011 Mar 15 -Modified: 2011 Apr 16 - ---- - -Solarized Colorscheme for Vim -============================= - -Developed by Ethan Schoonover - -Visit the [Solarized homepage] ------------------------------- - -See the [Solarized homepage] for screenshots, -details and colorscheme versions for Vim, Mutt, popular terminal emulators and -other applications. - -Screenshots ------------ - -![solarized dark](https://github.com/altercation/solarized/raw/master/img/solarized-vim.png) - -Downloads ---------- - -If you have come across this colorscheme via the [Vim-only repository] on -github, or the [vim.org script] page see the link above to the Solarized -homepage or visit the main [Solarized repository]. - -The [Vim-only repository] is kept in sync with the main [Solarized repository] -and is for installation convenience only (with [Pathogen] or [Vundle], for -instance). Issues, bug reports, changelogs are centralized at the main -[Solarized repository]. - -[Solarized homepage]: http://ethanschoonover.com/solarized -[Solarized repository]: https://github.com/altercation/solarized -[Vim-only repository]: https://github.com/altercation/vim-colors-solarized -[vimorg-script]: http://vim.org/script -[Pathogen]: https://github.com/tpope/vim-pathogen -[Vundle]: https://github.com/gmarik/vundle - -Installation ------------- - -### Option 1: Manual installation - -1. Move `solarized.vim` to your `.vim/colors` directory. After downloading the - vim script or package: - - $ cd vim-colors-solarized/colors - $ mv solarized.vim ~/.vim/colors/ - -### Option 2: Pathogen installation ***(recommended)*** - -1. Download and install Tim Pope's [Pathogen]. - -2. Next, move or clone the `vim-colors-solarized` directory so that it is - a subdirectory of the `.vim/bundle` directory. - - a. **Clone:** - - $ cd ~/.vim/bundle - $ git clone git://github.com/altercation/vim-colors-solarized.git - - b. **Move:** - - In the parent directory of vim-colors-solarized: - - $ mv vim-colors-solarized ~/.vim/bundle/ - -### Modify .vimrc - -After either Option 1 or Option 2 above, put the following two lines in your -.vimrc: - - syntax enable - set background=dark - colorscheme solarized - -or, for the light background mode of Solarized: - - syntax enable - set background=light - colorscheme solarized - -I like to have a different background in GUI and terminal modes, so I can use -the following if-then. However, I find vim's background autodetection to be -pretty good and, at least with MacVim, I can leave this background value -assignment out entirely and get the same results. - - if has('gui_running') - set background=light - else - set background=dark - endif - -See the [Solarized homepage] for screenshots which will help you -select either the light or dark background. - -### IMPORTANT NOTE FOR TERMINAL USERS: - -If you are going to use Solarized in Terminal mode (i.e. not in a GUI version -like gvim or macvim), **please please please** consider setting your terminal -emulator's colorscheme to used the Solarized palette. I've included palettes -for some popular terminal emulator as well as Xdefaults in the official -Solarized download available from [Solarized homepage]. If you use -Solarized *without* these colors, Solarized will need to be told to degrade its -colorscheme to a set compatible with the limited 256 terminal palette (whereas -by using the terminal's 16 ansi color values, you can set the correct, specific -values for the Solarized palette). - -If you do use the custom terminal colors, solarized.vim should work out of the -box for you. If you are using a terminal emulator that supports 256 colors and -don't want to use the custom Solarized terminal colors, you will need to use -the degraded 256 colorscheme. To do so, simply add the following line *before* -the `colorschem solarized` line: - - let g:solarized_termcolors=256 - -Again, I recommend just changing your terminal colors to Solarized values -either manually or via one of the many terminal schemes available for import. - -Advanced Configuration ----------------------- - -Solarized will work out of the box with just the two lines specified above but -does include several other options that can be set in your .vimrc file. - -Set these in your vimrc file prior to calling the colorscheme. -" - option name default optional - ------------------------------------------------ - g:solarized_termcolors= 16 | 256 - g:solarized_termtrans = 0 | 1 - g:solarized_degrade = 0 | 1 - g:solarized_bold = 1 | 0 - g:solarized_underline = 1 | 0 - g:solarized_italic = 1 | 0 - g:solarized_contrast = "normal"| "high" or "low" - g:solarized_visibility= "normal"| "high" or "low" - ------------------------------------------------ - -### Option Details - -* g:solarized_termcolors - - This is set to *16* by default, meaning that Solarized will attempt to use - the standard 16 colors of your terminal emulator. You will need to set - those colors to the correct Solarized values either manually or by - importing one of the many colorscheme available for popular terminal - emulators and Xdefaults. - -* g:solarized_termtrans - - If you use a terminal emulator with a transparent background and Solarized - isn't displaying the background color transparently, set this to 1 and - Solarized will use the default (transparent) background of the terminal - emulator. *urxvt* required this in my testing; iTerm2 did not. - - Note that on Mac OS X Terminal.app, solarized_termtrans is set to 1 by - default as this is almost always the best option. The only exception to - this is if the working terminfo file supports 256 colors (xterm-256color). - -* g:solarized_degrade - - For test purposes only; forces Solarized to use the 256 degraded color mode - to test the approximate color values for accuracy. - -* g:solarized_bold | g:solarized_underline | g:solarized_italic - - If you wish to stop Solarized from displaying bold, underlined or - italicized typefaces, simply assign a zero value to the appropriate - variable, for example: `let g:solarized_italic=0` - -* g:solarized_contrast - - Stick with normal! It's been carefully tested. Setting this option to high - or low does use the same Solarized palette but simply shifts some values up - or down in order to expand or compress the tonal range displayed. - -* g:solarized_visibility - - Special characters such as trailing whitespace, tabs, newlines, when - displayed using `:set list` can be set to one of three levels depending on - your needs. Default value is `normal` with `high` and `low` options. - -Toggle Background Function --------------------------- - -Solarized comes with a Toggle Background plugin that by default will map to - if that mapping is available. If it is not available you will need to -either map the function manually or change your current mapping to -something else. - -To set your own mapping in your .vimrc file, simply add the following line to -support normal, insert and visual mode usage, changing the "" value to the -key or key combination you wish to use: - - call togglebg#map("") - -Note that you'll want to use a single function key or equivalent if you want -the plugin to work in all modes (normal, insert, visual). - -Code Notes ----------- - -Use folding to view the `solarized.vim` script with `foldmethod=marker` turned -on. - -I have attempted to modularize the creation of Vim colorschemes in this script -and, while it could be refactored further, it should be a good foundation for -the creation of any color scheme. By simply changing the sixteen values in the -GUI section and testing in gvim (or mvim) you can rapidly prototype new -colorschemes without diving into the weeds of line-item editing each syntax -highlight declaration. - -The Values ----------- - -L\*a\*b values are canonical (White D65, Reference D50), other values are -matched in sRGB space. - - SOLARIZED HEX 16/8 TERMCOL XTERM/HEX L*A*B sRGB HSB - --------- ------- ---- ------- ----------- ---------- ----------- ----------- - base03 #002b36 8/4 brblack 234 #1c1c1c 15 -12 -12 0 43 54 193 100 21 - base02 #073642 0/4 black 235 #262626 20 -12 -12 7 54 66 192 90 26 - base01 #586e75 10/7 brgreen 240 #4e4e4e 45 -07 -07 88 110 117 194 25 46 - base00 #657b83 11/7 bryellow 241 #585858 50 -07 -07 101 123 131 195 23 51 - base0 #839496 12/6 brblue 244 #808080 60 -06 -03 131 148 150 186 13 59 - base1 #93a1a1 14/4 brcyan 245 #8a8a8a 65 -05 -02 147 161 161 180 9 63 - base2 #eee8d5 7/7 white 254 #d7d7af 92 -00 10 238 232 213 44 11 93 - base3 #fdf6e3 15/7 brwhite 230 #ffffd7 97 00 10 253 246 227 44 10 99 - yellow #b58900 3/3 yellow 136 #af8700 60 10 65 181 137 0 45 100 71 - orange #cb4b16 9/3 brred 166 #d75f00 50 50 55 203 75 22 18 89 80 - red #dc322f 1/1 red 160 #d70000 50 65 45 220 50 47 1 79 86 - magenta #d33682 5/5 magenta 125 #af005f 50 65 -05 211 54 130 331 74 83 - violet #6c71c4 13/5 brmagenta 61 #5f5faf 50 15 -45 108 113 196 237 45 77 - blue #268bd2 4/4 blue 33 #0087ff 55 -10 -45 38 139 210 205 82 82 - cyan #2aa198 6/6 cyan 37 #00afaf 60 -35 -05 42 161 152 175 74 63 - green #859900 2/2 green 64 #5f8700 60 -20 65 133 153 0 68 100 60 - -License -------- -Copyright (c) 2011 Ethan Schoonover - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/vim/bundle/vim-colors-solarized/autoload/togglebg.vim b/vim/bundle/vim-colors-solarized/autoload/togglebg.vim deleted file mode 100644 index 108511f..0000000 --- a/vim/bundle/vim-colors-solarized/autoload/togglebg.vim +++ /dev/null @@ -1,55 +0,0 @@ -" Toggle Background -" Modified: 2011 Apr 29 -" Maintainer: Ethan Schoonover -" License: OSI approved MIT license - -if exists("g:loaded_togglebg") - finish -endif -let g:loaded_togglebg = 1 - -" noremap is a bit misleading here if you are unused to vim mapping. -" in fact, there is remapping, but only of script locally defined remaps, in -" this case TogBG. The