├── my_plugins └── .gitkeep ├── sources_forked ├── vim-peepopen │ └── README └── vim-irblack-forked │ └── README ├── sources_non_forked ├── rust.vim │ ├── test │ │ ├── .gitignore │ │ ├── sample.rs │ │ └── coverage.vader │ ├── .gitignore │ ├── triagebot.toml │ ├── .github │ │ └── workflows │ │ │ └── ci.yml │ ├── .vintrc.yml │ ├── ftdetect │ │ └── rust.vim │ └── autoload │ │ └── rust │ │ └── tags.vim ├── ack.vim │ ├── .gitignore │ ├── ftplugin │ │ └── qf.vim │ └── doc │ │ └── ack_quick_help.txt ├── vim-less │ ├── .gitignore │ ├── ftdetect │ │ └── less.vim │ ├── screenshot.png │ └── indent │ │ └── less.vim ├── vim-ruby │ ├── .rspec │ ├── .gitignore │ ├── Gemfile │ ├── etc │ │ └── examples │ │ │ └── indent │ │ │ └── closing_brackets.rb │ ├── spec │ │ ├── indent │ │ │ ├── identifiers_spec.rb │ │ │ ├── eruby_spec.rb │ │ │ └── arguments_spec.rb │ │ ├── syntax │ │ │ ├── strings │ │ │ │ ├── interpolation_spec.rb │ │ │ │ └── strings_spec.rb │ │ │ ├── characters_spec.rb │ │ │ ├── blocks_spec.rb │ │ │ ├── line_continuations_spec.rb │ │ │ └── maxmempattern_limit_spec.rb │ │ └── vim │ │ │ └── plugin │ │ │ └── syntax_test.vim │ └── Gemfile.lock ├── auto-pairs │ └── .gitignore ├── dracula │ ├── .gitignore │ ├── after │ │ └── syntax │ │ │ ├── javascriptreact.vim │ │ │ ├── rust.vim │ │ │ ├── json.vim │ │ │ ├── ocaml.vim │ │ │ ├── sh.vim │ │ │ ├── html.vim │ │ │ ├── purescript.vim │ │ │ ├── php.vim │ │ │ ├── gitcommit.vim │ │ │ ├── python.vim │ │ │ ├── xml.vim │ │ │ ├── yaml.vim │ │ │ ├── sass.vim │ │ │ ├── vim.vim │ │ │ ├── plantuml.vim │ │ │ ├── css.vim │ │ │ ├── ruby.vim │ │ │ ├── lua.vim │ │ │ ├── tex.vim │ │ │ └── typescriptreact.vim │ ├── screenshot.png │ └── .github │ │ └── pull_request_template.md ├── tabular │ └── .gitignore ├── lightline.vim │ ├── .gitignore │ ├── autoload │ │ └── lightline │ │ │ └── colorscheme │ │ │ ├── default.vim │ │ │ └── PaperColor.vim │ └── test │ │ ├── mode.vim │ │ ├── error.vim │ │ ├── popup.vim │ │ ├── autocmd.vim │ │ └── .themisrc ├── vim-abolish │ ├── .gitignore │ ├── .github │ │ └── FUNDING.yml │ └── CONTRIBUTING.markdown ├── vim-commentary │ ├── .gitignore │ ├── .github │ │ └── FUNDING.yml │ └── CONTRIBUTING.markdown ├── vim-lastplace │ └── .gitignore ├── vim-surround │ ├── .gitignore │ └── .github │ │ └── FUNDING.yml ├── vim-addon-mw-utils │ ├── .gitignore │ ├── doc │ │ ├── cached_file_contents.txt │ │ └── tiny_cmd.txt │ ├── autoload │ │ ├── tiny_cmd.vim │ │ └── env_reload.vim │ └── vim-addon-mw-utils-addon-info.txt ├── vim-indent-guides │ ├── .gitignore │ └── test-files │ │ ├── test-ts8sw2noet.txt │ │ └── test-ts2sw4noet.txt ├── vim-indent-object │ └── .gitignore ├── vim-markdown │ ├── test │ │ ├── ge_test.md │ │ ├── README.md │ │ ├── indent-new-list-item.vader │ │ ├── run-tests.sh │ │ └── indent.md │ ├── .gitignore │ ├── registry │ │ └── markdown.yaml │ └── ftdetect │ │ └── markdown.vim ├── nerdtree │ ├── .gitignore │ ├── _config.yml │ ├── .vintrc.yaml │ ├── screenshot.png │ ├── .github │ │ ├── ISSUE_TEMPLATE │ │ │ ├── feature_request.md │ │ │ └── question.md │ │ └── workflows │ │ │ └── vint.yml │ ├── lib │ │ └── nerdtree │ │ │ └── event.vim │ └── LICENCE ├── vim-multiple-cursors │ ├── .gitignore │ ├── .rspec │ ├── Gemfile │ ├── assets │ │ ├── example1.gif │ │ ├── example2.gif │ │ ├── example3.gif │ │ └── example4.gif │ ├── .travis.yml │ ├── Rakefile │ └── CONTRIBUTING.md ├── vim-yankstack │ ├── .gitignore │ ├── plugin │ │ └── yankstack.vim │ ├── Gemfile │ ├── spec │ │ └── spec_helper.rb │ └── Gemfile.lock ├── vim-python-pep8-indent │ ├── indent │ │ └── cython.vim │ ├── .dockerignore │ ├── .gitignore │ ├── Gemfile │ ├── docker-compose.yml │ ├── .coveragerc │ └── spec │ │ ├── make-coverage │ │ └── vimrc ├── vim-snipmate │ ├── .gitignore │ ├── ftplugin │ │ ├── html_snip_helper.vim │ │ └── snippets.vim │ ├── t │ │ └── tests.sh │ ├── syntax │ │ └── snippet.vim │ └── addon-info.json ├── vim-snippets │ ├── .gitignore │ ├── UltiSnips │ │ ├── octave.snippets │ │ ├── vue.snippets │ │ ├── svelte.snippets │ │ ├── rnoweb.snippets │ │ ├── xhtml.snippets │ │ ├── lhaskell.snippets │ │ ├── htmljinja.snippets │ │ ├── cuda.snippets │ │ ├── zsh.snippets │ │ ├── supercollider.snippets │ │ ├── ledger.snippets │ │ ├── pandoc.snippets │ │ ├── ejs.snippets │ │ ├── crystal.snippets │ │ ├── elm.snippets │ │ ├── xml.snippets │ │ ├── haskell.snippets │ │ ├── typescript.snippets │ │ ├── typescript_react.snippets │ │ ├── matlab.snippets │ │ ├── snippets.snippets │ │ └── README │ ├── snippets │ │ ├── octave.snippets │ │ ├── pandoc.snippets │ │ ├── typescriptreact.snippets │ │ ├── svelte.snippets │ │ ├── gitcommit.snippets │ │ ├── po.snippets │ │ ├── ledger.snippets │ │ ├── snippets.snippets │ │ ├── xml.snippets │ │ ├── dosini.snippets │ │ ├── supercollider.snippets │ │ ├── coffee │ │ │ └── requirejs_coffee.snippets │ │ ├── jade.snippets │ │ ├── handlebars.snippets │ │ ├── mustache.snippets │ │ ├── phoenix.snippets │ │ ├── lfe.snippets │ │ ├── javascript │ │ │ └── javascript-requirejs.snippets │ │ ├── diff.snippets │ │ ├── textile.snippets │ │ ├── reason.snippets │ │ ├── kotlin.snippets │ │ ├── ocaml.snippets │ │ └── scheme.snippets │ ├── .travis.yml │ └── addon-info.json ├── vim-coffee-script │ ├── .gitignore │ ├── Todo.md │ ├── ftplugin │ │ └── litcoffee.vim │ ├── test │ │ ├── test.haml │ │ ├── test-interp.coffee │ │ ├── test.html │ │ └── test-reserved.coffee │ ├── doc │ │ └── coffee-script.txt │ ├── ftdetect │ │ ├── vim-literate-coffeescript.vim │ │ └── coffee.vim │ ├── indent │ │ └── litcoffee.vim │ ├── compiler │ │ └── cake.vim │ └── Makefile ├── typescript-vim │ ├── indent │ │ └── typescriptreact.vim │ ├── syntax │ │ └── typescriptreact.vim │ ├── compiler │ │ └── typescriptreact.vim │ ├── ftplugin │ │ ├── typescriptreact.vim │ │ └── typescript.vim │ ├── vimshot01.png │ └── ftdetect │ │ └── typescript.vim ├── vim-gitgutter │ ├── .gitignore │ ├── test │ │ ├── fixture.txt │ │ ├── fixture_dos.txt │ │ ├── cp932.txt │ │ └── test │ ├── screenshot.png │ └── .github │ │ └── issue_template.md ├── vim-javascript │ ├── ftdetect │ │ ├── flow.vim │ │ └── javascript.vim │ ├── syntax │ │ └── flow.vim │ ├── extras │ │ ├── ngdoc.vim │ │ └── ctags │ ├── after │ │ └── ftplugin │ │ │ └── javascript.vim │ ├── ISSUE_TEMPLATE.md │ └── compiler │ │ └── eslint.vim ├── vim-repeat │ └── .github │ │ └── FUNDING.yml ├── ctrlp.vim │ └── .gitignore ├── vim-fugitive │ ├── ftdetect │ │ └── fugitive.vim │ ├── ftplugin │ │ └── fugitiveblame.vim │ └── syntax │ │ └── fugitiveblame.vim ├── editorconfig-vim │ ├── mkzip.sh │ ├── tests │ │ ├── plugin │ │ │ ├── .gitignore │ │ │ ├── spec │ │ │ │ └── .editorconfig │ │ │ ├── Gemfile │ │ │ └── Rakefile │ │ ├── fetch-vim.bat │ │ └── core │ │ │ └── editorconfig.bat │ ├── .gitignore │ ├── CONTRIBUTORS │ ├── .gitmodules │ ├── .editorconfig │ └── .travis.yml ├── bufexplorer │ └── .gitignore ├── ale │ ├── ftplugin │ │ ├── ale-fix-suggest.vim │ │ ├── ale-preview.vim │ │ └── ale-preview-selection.vim │ ├── ale_linters │ │ ├── po │ │ │ ├── alex.vim │ │ │ ├── writegood.vim │ │ │ └── proselint.vim │ │ ├── help │ │ │ ├── alex.vim │ │ │ ├── writegood.vim │ │ │ └── proselint.vim │ │ ├── html │ │ │ ├── alex.vim │ │ │ ├── writegood.vim │ │ │ ├── proselint.vim │ │ │ └── fecs.vim │ │ ├── mail │ │ │ ├── alex.vim │ │ │ ├── languagetool.vim │ │ │ ├── vale.vim │ │ │ └── proselint.vim │ │ ├── pod │ │ │ ├── alex.vim │ │ │ ├── writegood.vim │ │ │ └── proselint.vim │ │ ├── rst │ │ │ ├── alex.vim │ │ │ ├── writegood.vim │ │ │ ├── vale.vim │ │ │ ├── proselint.vim │ │ │ ├── redpen.vim │ │ │ └── textlint.vim │ │ ├── tex │ │ │ ├── alex.vim │ │ │ ├── writegood.vim │ │ │ ├── vale.vim │ │ │ ├── proselint.vim │ │ │ ├── redpen.vim │ │ │ └── textlint.vim │ │ ├── text │ │ │ ├── alex.vim │ │ │ ├── writegood.vim │ │ │ ├── languagetool.vim │ │ │ ├── vale.vim │ │ │ ├── proselint.vim │ │ │ ├── redpen.vim │ │ │ └── textlint.vim │ │ ├── nroff │ │ │ ├── alex.vim │ │ │ ├── writegood.vim │ │ │ └── proselint.vim │ │ ├── sh │ │ │ └── shellcheck.vim │ │ ├── xhtml │ │ │ ├── alex.vim │ │ │ ├── writegood.vim │ │ │ └── proselint.vim │ │ ├── markdown │ │ │ ├── alex.vim │ │ │ ├── writegood.vim │ │ │ ├── languagetool.vim │ │ │ ├── proselint.vim │ │ │ ├── redpen.vim │ │ │ └── textlint.vim │ │ ├── texinfo │ │ │ ├── alex.vim │ │ │ ├── writegood.vim │ │ │ └── proselint.vim │ │ ├── asciidoc │ │ │ ├── alex.vim │ │ │ ├── writegood.vim │ │ │ ├── languagetool.vim │ │ │ ├── vale.vim │ │ │ ├── proselint.vim │ │ │ ├── redpen.vim │ │ │ └── textlint.vim │ │ ├── bats │ │ │ └── shellcheck.vim │ │ ├── typescript │ │ │ ├── xo.vim │ │ │ ├── eslint.vim │ │ │ └── deno.vim │ │ ├── racket │ │ │ └── langserver.vim │ │ ├── vhdl │ │ │ └── hdl_checker.vim │ │ ├── verilog │ │ │ └── hdl_checker.vim │ │ ├── testft │ │ │ └── testlinter.vim │ │ ├── css │ │ │ └── fecs.vim │ │ ├── fountain │ │ │ └── proselint.vim │ │ ├── review │ │ │ └── redpen.vim │ │ ├── graphql │ │ │ ├── gqlint.vim │ │ │ └── eslint.vim │ │ ├── javascript │ │ │ ├── xo.vim │ │ │ ├── fecs.vim │ │ │ ├── eslint.vim │ │ │ └── deno.vim │ │ ├── solidity │ │ │ ├── solium.vim │ │ │ └── solhint.vim │ │ ├── kotlin │ │ │ └── ktlint.vim │ │ ├── sml │ │ │ └── smlnj.vim │ │ ├── openapi │ │ │ └── yamllint.vim │ │ ├── go │ │ │ ├── gosimple.vim │ │ │ └── gofmt.vim │ │ ├── yaml │ │ │ ├── yamllint.vim │ │ │ └── spectral.vim │ │ ├── ruby │ │ │ └── ruby.vim │ │ ├── apkbuild │ │ │ ├── apkbuild_lint.vim │ │ │ └── secfixes_check.vim │ │ ├── ocaml │ │ │ ├── merlin.vim │ │ │ ├── ocamllsp.vim │ │ │ └── ols.vim │ │ ├── reason │ │ │ ├── merlin.vim │ │ │ └── ols.vim │ │ ├── swift │ │ │ └── sourcekitlsp.vim │ │ ├── sass │ │ │ └── stylelint.vim │ │ ├── ocamlinterface │ │ │ ├── merlin.vim │ │ │ └── ocamllsp.vim │ │ ├── scala │ │ │ ├── fsc.vim │ │ │ └── scalac.vim │ │ ├── nix │ │ │ └── rnix_lsp.vim │ │ ├── yang │ │ │ └── yang_lsp.vim │ │ ├── haskell │ │ │ └── ghc.vim │ │ ├── json │ │ │ ├── spectral.vim │ │ │ └── eslint.vim │ │ ├── json5 │ │ │ └── eslint.vim │ │ ├── jsonc │ │ │ └── eslint.vim │ │ ├── pony │ │ │ └── ponyc.vim │ │ ├── c │ │ │ └── ccls.vim │ │ ├── cpp │ │ │ └── ccls.vim │ │ ├── objc │ │ │ ├── clangd.vim │ │ │ └── ccls.vim │ │ ├── systemd │ │ │ └── systemd_analyze.vim │ │ └── objcpp │ │ │ └── clangd.vim │ ├── autoload │ │ └── ale │ │ │ ├── completion │ │ │ └── python.vim │ │ │ ├── fixers │ │ │ ├── ktlint.vim │ │ │ ├── dhall_format.vim │ │ │ ├── dhall_lint.vim │ │ │ ├── qmlfmt.vim │ │ │ ├── gomod.vim │ │ │ ├── hlint.vim │ │ │ ├── vfmt.vim │ │ │ ├── ormolu.vim │ │ │ ├── deno.vim │ │ │ ├── dhall_freeze.vim │ │ │ ├── sqlfmt.vim │ │ │ ├── luafmt.vim │ │ │ ├── nixpkgsfmt.vim │ │ │ ├── pgformatter.vim │ │ │ ├── hfmt.vim │ │ │ ├── fecs.vim │ │ │ ├── nixfmt.vim │ │ │ ├── stylua.vim │ │ │ ├── textlint.vim │ │ │ ├── rustfmt.vim │ │ │ ├── sqlformat.vim │ │ │ ├── gofmt.vim │ │ │ ├── nimpretty.vim │ │ │ ├── gnatpp.vim │ │ │ ├── lua_format.vim │ │ │ ├── pandoc.vim │ │ │ ├── dfmt.vim │ │ │ ├── bibclean.vim │ │ │ ├── ptop.vim │ │ │ ├── appleswiftformat.vim │ │ │ ├── cmakeformat.vim │ │ │ ├── terraform.vim │ │ │ ├── latexindent.vim │ │ │ ├── styler.vim │ │ │ ├── uncrustify.vim │ │ │ ├── ocamlformat.vim │ │ │ ├── dartfmt.vim │ │ │ ├── hackfmt.vim │ │ │ ├── dart_format.vim │ │ │ ├── perltidy.vim │ │ │ ├── refmt.vim │ │ │ ├── purty.vim │ │ │ └── rufo.vim │ │ │ ├── handlers │ │ │ ├── haskell_stack.vim │ │ │ ├── tsserver.vim │ │ │ ├── hlint.vim │ │ │ └── tslint.vim │ │ │ ├── racket.vim │ │ │ └── d.vim │ ├── doc │ │ ├── ale-fountain.txt │ │ ├── ale-po.txt │ │ ├── ale-pod.txt │ │ ├── ale-nroff.txt │ │ ├── ale-texinfo.txt │ │ ├── ale-vim-help.txt │ │ ├── ale-xhtml.txt │ │ ├── ale-pawn.txt │ │ ├── ale-hcl.txt │ │ ├── ale-bats.txt │ │ ├── ale-json5.txt │ │ ├── ale-jsonc.txt │ │ └── ale-dafny.txt │ └── syntax │ │ ├── ale-preview-selection.vim │ │ └── ale-fix-suggest.vim ├── lightline-ale │ ├── screenshot.png │ └── plugin │ │ └── lightline │ │ └── ale.vim ├── vim-expand-region │ └── expand-region.gif ├── vim-colors-solarized │ └── bitmaps │ │ └── togglebg.png ├── vim-pug │ └── ftdetect │ │ └── pug.vim ├── tlib │ ├── .gitignore │ ├── autoload │ │ ├── tlib.vim │ │ ├── tlib │ │ │ ├── autocmdgroup.vim │ │ │ ├── fixes.vim │ │ │ ├── loclist.vim │ │ │ ├── Test.vim │ │ │ └── TestChild.vim │ │ └── tinykeymap │ │ │ └── map │ │ │ └── para_move.vim │ └── addon-info.json ├── nginx.vim │ ├── ftplugin │ │ └── nginx.vim │ ├── ftdetect │ │ └── nginx.vim │ ├── indent │ │ └── nginx.vim │ └── CHANGELOG.md ├── gist-vim │ └── Makefile ├── gruvbox │ └── package.json ├── vim-pyte │ └── README ├── vim-rhubarb │ └── doc │ │ └── rhubarb.txt └── vim-bundle-mako │ ├── ftplugin │ └── mako.vim │ └── ftdetect │ └── mako.vim ├── temp_dirs ├── undodir │ ├── README.md │ └── .gitignore └── README.md ├── install_basic_vimrc.sh ├── .gitignore └── install_awesome_vimrc.sh /my_plugins/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sources_forked/vim-peepopen/README: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sources_non_forked/rust.vim/test/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sources_non_forked/rust.vim/test/sample.rs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sources_non_forked/ack.vim/.gitignore: -------------------------------------------------------------------------------- 1 | tags 2 | -------------------------------------------------------------------------------- /sources_non_forked/vim-less/.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | -------------------------------------------------------------------------------- /sources_non_forked/vim-ruby/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | -------------------------------------------------------------------------------- /temp_dirs/undodir/README.md: -------------------------------------------------------------------------------- 1 | Undo dir for VIM 2 | -------------------------------------------------------------------------------- /sources_non_forked/auto-pairs/.gitignore: -------------------------------------------------------------------------------- 1 | doc/tags 2 | -------------------------------------------------------------------------------- /sources_non_forked/dracula/.gitignore: -------------------------------------------------------------------------------- 1 | doc/tags 2 | -------------------------------------------------------------------------------- /sources_non_forked/rust.vim/.gitignore: -------------------------------------------------------------------------------- 1 | /doc/tags 2 | -------------------------------------------------------------------------------- /sources_non_forked/tabular/.gitignore: -------------------------------------------------------------------------------- 1 | /doc/tags 2 | -------------------------------------------------------------------------------- /sources_non_forked/vim-ruby/.gitignore: -------------------------------------------------------------------------------- 1 | doc/tags 2 | -------------------------------------------------------------------------------- /sources_non_forked/lightline.vim/.gitignore: -------------------------------------------------------------------------------- 1 | /doc/tags 2 | -------------------------------------------------------------------------------- /sources_non_forked/rust.vim/triagebot.toml: -------------------------------------------------------------------------------- 1 | [assign] 2 | -------------------------------------------------------------------------------- /sources_non_forked/vim-abolish/.gitignore: -------------------------------------------------------------------------------- 1 | /doc/tags 2 | -------------------------------------------------------------------------------- /sources_non_forked/vim-commentary/.gitignore: -------------------------------------------------------------------------------- 1 | /doc/tags 2 | -------------------------------------------------------------------------------- /sources_non_forked/vim-lastplace/.gitignore: -------------------------------------------------------------------------------- 1 | doc/tags 2 | -------------------------------------------------------------------------------- /sources_non_forked/vim-surround/.gitignore: -------------------------------------------------------------------------------- 1 | /doc/tags 2 | -------------------------------------------------------------------------------- /sources_non_forked/vim-addon-mw-utils/.gitignore: -------------------------------------------------------------------------------- 1 | doc/tags 2 | -------------------------------------------------------------------------------- /sources_non_forked/vim-indent-guides/.gitignore: -------------------------------------------------------------------------------- 1 | doc/tags 2 | -------------------------------------------------------------------------------- /sources_non_forked/vim-indent-object/.gitignore: -------------------------------------------------------------------------------- 1 | tags 2 | 3 | -------------------------------------------------------------------------------- /sources_non_forked/vim-markdown/test/ge_test.md: -------------------------------------------------------------------------------- 1 | ge test 2 | -------------------------------------------------------------------------------- /sources_non_forked/nerdtree/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | *.swp 3 | tags 4 | -------------------------------------------------------------------------------- /sources_non_forked/nerdtree/_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-cayman -------------------------------------------------------------------------------- /sources_non_forked/vim-markdown/.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | /doc/tags 3 | -------------------------------------------------------------------------------- /sources_non_forked/vim-multiple-cursors/.gitignore: -------------------------------------------------------------------------------- 1 | /doc/tags 2 | -------------------------------------------------------------------------------- /sources_non_forked/vim-yankstack/.gitignore: -------------------------------------------------------------------------------- 1 | .rvmrc 2 | doc/tags 3 | -------------------------------------------------------------------------------- /temp_dirs/README.md: -------------------------------------------------------------------------------- 1 | Used for temp dirs/files such as undodir 2 | -------------------------------------------------------------------------------- /sources_non_forked/vim-multiple-cursors/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --format d 3 | -------------------------------------------------------------------------------- /sources_non_forked/vim-python-pep8-indent/indent/cython.vim: -------------------------------------------------------------------------------- 1 | python.vim -------------------------------------------------------------------------------- /sources_non_forked/vim-python-pep8-indent/.dockerignore: -------------------------------------------------------------------------------- 1 | * 2 | !Gemfile 3 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snipmate/.gitignore: -------------------------------------------------------------------------------- 1 | doc/tags 2 | *.swp 3 | .DS_Store 4 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | *~ 3 | *.swo 4 | *.swp 5 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/UltiSnips/octave.snippets: -------------------------------------------------------------------------------- 1 | extends matlab 2 | 3 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/snippets/octave.snippets: -------------------------------------------------------------------------------- 1 | extends matlab 2 | 3 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/snippets/pandoc.snippets: -------------------------------------------------------------------------------- 1 | extends markdown 2 | 3 | -------------------------------------------------------------------------------- /sources_non_forked/vim-yankstack/plugin/yankstack.vim: -------------------------------------------------------------------------------- 1 | call yankstack#setup() 2 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/UltiSnips/vue.snippets: -------------------------------------------------------------------------------- 1 | extends html, javascript, css 2 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/snippets/typescriptreact.snippets: -------------------------------------------------------------------------------- 1 | extends typescript 2 | -------------------------------------------------------------------------------- /temp_dirs/undodir/.gitignore: -------------------------------------------------------------------------------- 1 | # http://stackoverflow.com/a/932982 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /sources_non_forked/vim-coffee-script/.gitignore: -------------------------------------------------------------------------------- 1 | .*.sw[a-z] 2 | .*.un~ 3 | doc/tags 4 | 5 | -------------------------------------------------------------------------------- /sources_non_forked/vim-coffee-script/Todo.md: -------------------------------------------------------------------------------- 1 | - Don't highlight bad operator combinations 2 | -------------------------------------------------------------------------------- /sources_non_forked/vim-coffee-script/ftplugin/litcoffee.vim: -------------------------------------------------------------------------------- 1 | runtime ftplugin/coffee.vim 2 | -------------------------------------------------------------------------------- /sources_non_forked/vim-less/ftdetect/less.vim: -------------------------------------------------------------------------------- 1 | autocmd BufNewFile,BufRead *.less setf less 2 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/UltiSnips/svelte.snippets: -------------------------------------------------------------------------------- 1 | extends html, javascript, css 2 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/snippets/svelte.snippets: -------------------------------------------------------------------------------- 1 | extends html, javascript, css 2 | -------------------------------------------------------------------------------- /sources_non_forked/dracula/after/syntax/javascriptreact.vim: -------------------------------------------------------------------------------- 1 | runtime! syntax/javascript.vim 2 | -------------------------------------------------------------------------------- /sources_non_forked/typescript-vim/indent/typescriptreact.vim: -------------------------------------------------------------------------------- 1 | runtime! indent/typescript.vim 2 | -------------------------------------------------------------------------------- /sources_non_forked/typescript-vim/syntax/typescriptreact.vim: -------------------------------------------------------------------------------- 1 | runtime! syntax/typescript.vim 2 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/UltiSnips/rnoweb.snippets: -------------------------------------------------------------------------------- 1 | priority -50 2 | 3 | extends tex, r 4 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/UltiSnips/xhtml.snippets: -------------------------------------------------------------------------------- 1 | priority -50 2 | 3 | extends html 4 | -------------------------------------------------------------------------------- /sources_non_forked/typescript-vim/compiler/typescriptreact.vim: -------------------------------------------------------------------------------- 1 | runtime! compiler/typescript.vim 2 | -------------------------------------------------------------------------------- /sources_non_forked/typescript-vim/ftplugin/typescriptreact.vim: -------------------------------------------------------------------------------- 1 | runtime! ftplugin/typescript.vim 2 | -------------------------------------------------------------------------------- /sources_non_forked/vim-coffee-script/test/test.haml: -------------------------------------------------------------------------------- 1 | :coffeescript 2 | class Hello 3 | # test 4 | -------------------------------------------------------------------------------- /sources_non_forked/vim-gitgutter/.gitignore: -------------------------------------------------------------------------------- 1 | /doc/tags 2 | /misc 3 | /test/*.actual 4 | *.log 5 | 6 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/UltiSnips/lhaskell.snippets: -------------------------------------------------------------------------------- 1 | priority -50 2 | 3 | extends haskell 4 | -------------------------------------------------------------------------------- /sources_non_forked/vim-javascript/ftdetect/flow.vim: -------------------------------------------------------------------------------- 1 | autocmd BufNewFile,BufRead *.flow setfiletype flow 2 | -------------------------------------------------------------------------------- /sources_non_forked/vim-python-pep8-indent/.gitignore: -------------------------------------------------------------------------------- 1 | .*.swp 2 | .coverage_covimerage 3 | Gemfile.lock 4 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/UltiSnips/htmljinja.snippets: -------------------------------------------------------------------------------- 1 | priority -50 2 | 3 | extends html, jinja2 4 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/snippets/gitcommit.snippets: -------------------------------------------------------------------------------- 1 | snippet co 2 | Co-authored-by: ${1} <${2}> 3 | -------------------------------------------------------------------------------- /sources_non_forked/vim-javascript/syntax/flow.vim: -------------------------------------------------------------------------------- 1 | runtime syntax/javascript.vim 2 | runtime extras/flow.vim 3 | -------------------------------------------------------------------------------- /sources_non_forked/vim-repeat/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: tpope 2 | custom: ["https://www.paypal.me/vimpope"] 3 | -------------------------------------------------------------------------------- /sources_non_forked/vim-ruby/Gemfile: -------------------------------------------------------------------------------- 1 | source 'http://rubygems.org' 2 | 3 | gem 'rspec' 4 | gem 'vimrunner' 5 | -------------------------------------------------------------------------------- /sources_non_forked/ctrlp.vim/.gitignore: -------------------------------------------------------------------------------- 1 | *.markdown 2 | *.zip 3 | note.txt 4 | tags 5 | tags-cn 6 | .hg* 7 | tmp/* 8 | -------------------------------------------------------------------------------- /sources_non_forked/vim-abolish/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: tpope 2 | custom: ["https://www.paypal.me/vimpope"] 3 | -------------------------------------------------------------------------------- /sources_non_forked/vim-commentary/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: tpope 2 | custom: ["https://www.paypal.me/vimpope"] 3 | -------------------------------------------------------------------------------- /sources_non_forked/vim-surround/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: tpope 2 | custom: ["https://www.paypal.me/vimpope"] 3 | -------------------------------------------------------------------------------- /sources_non_forked/vim-fugitive/ftdetect/fugitive.vim: -------------------------------------------------------------------------------- 1 | autocmd BufReadPost *.fugitiveblame setfiletype fugitiveblame 2 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/UltiSnips/cuda.snippets: -------------------------------------------------------------------------------- 1 | priority -50 2 | 3 | extends cpp 4 | 5 | # vim:ft=snippets: 6 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/snippets/po.snippets: -------------------------------------------------------------------------------- 1 | snippet msg 2 | msgid "${1}" 3 | msgstr "${2}" 4 | 5 | ${0} 6 | -------------------------------------------------------------------------------- /sources_non_forked/editorconfig-vim/mkzip.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | zip -r editorconfig-vim-$*.zip plugin/* autoload/* doc/* 4 | -------------------------------------------------------------------------------- /sources_non_forked/editorconfig-vim/tests/plugin/.gitignore: -------------------------------------------------------------------------------- 1 | # Where bundler installs local Gemfile dependencies 2 | /vendor/ 3 | -------------------------------------------------------------------------------- /sources_non_forked/vim-gitgutter/test/fixture.txt: -------------------------------------------------------------------------------- 1 | a 2 | b 3 | c 4 | d 5 | e 6 | f 7 | g 8 | h 9 | i 10 | j 11 | 12 | -------------------------------------------------------------------------------- /sources_non_forked/vim-python-pep8-indent/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | gem "vimrunner", "0.3.4" 3 | gem "rspec" 4 | -------------------------------------------------------------------------------- /sources_non_forked/bufexplorer/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore generated tags 2 | /doc/tags 3 | dist.bat 4 | *.zip 5 | tags 6 | *.sw[a-p] 7 | -------------------------------------------------------------------------------- /sources_non_forked/vim-multiple-cursors/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | gem 'vimrunner' 3 | gem 'rake' 4 | gem 'rspec' 5 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ftplugin/ale-fix-suggest.vim: -------------------------------------------------------------------------------- 1 | " Close the ALEFixSuggest window with the q key. 2 | noremap q :q! 3 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ftplugin/ale-preview.vim: -------------------------------------------------------------------------------- 1 | " Close the ALEPreviewWindow window with the q key. 2 | noremap q :q! 3 | -------------------------------------------------------------------------------- /sources_non_forked/dracula/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gogsbread/vimrc/master/sources_non_forked/dracula/screenshot.png -------------------------------------------------------------------------------- /sources_non_forked/nerdtree/.vintrc.yaml: -------------------------------------------------------------------------------- 1 | cmdargs: 2 | severity: style_problem 3 | color: true 4 | env: 5 | neovim: false 6 | -------------------------------------------------------------------------------- /sources_non_forked/nerdtree/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gogsbread/vimrc/master/sources_non_forked/nerdtree/screenshot.png -------------------------------------------------------------------------------- /sources_non_forked/vim-less/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gogsbread/vimrc/master/sources_non_forked/vim-less/screenshot.png -------------------------------------------------------------------------------- /sources_non_forked/vim-gitgutter/test/fixture_dos.txt: -------------------------------------------------------------------------------- 1 | a 2 | b 3 | c 4 | d 5 | e 6 | f 7 | g 8 | h 9 | i 10 | j 11 | 12 | -------------------------------------------------------------------------------- /sources_non_forked/editorconfig-vim/tests/plugin/spec/.editorconfig: -------------------------------------------------------------------------------- 1 | [*.rb] 2 | indent_style = space 3 | indent_size = 2 4 | end_of_line = lf 5 | -------------------------------------------------------------------------------- /sources_non_forked/lightline-ale/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gogsbread/vimrc/master/sources_non_forked/lightline-ale/screenshot.png -------------------------------------------------------------------------------- /sources_non_forked/typescript-vim/vimshot01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gogsbread/vimrc/master/sources_non_forked/typescript-vim/vimshot01.png -------------------------------------------------------------------------------- /sources_non_forked/vim-gitgutter/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gogsbread/vimrc/master/sources_non_forked/vim-gitgutter/screenshot.png -------------------------------------------------------------------------------- /sources_non_forked/vim-gitgutter/test/cp932.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gogsbread/vimrc/master/sources_non_forked/vim-gitgutter/test/cp932.txt -------------------------------------------------------------------------------- /sources_non_forked/editorconfig-vim/.gitignore: -------------------------------------------------------------------------------- 1 | tags 2 | tests/**/build 3 | tests/**/.bundle 4 | 5 | # Editor backup files 6 | *.swp 7 | *~ 8 | ~* 9 | -------------------------------------------------------------------------------- /sources_non_forked/dracula/after/syntax/rust.vim: -------------------------------------------------------------------------------- 1 | if dracula#should_abort('rust') 2 | finish 3 | endif 4 | 5 | hi! link rustCommentLineDoc Comment 6 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/.travis.yml: -------------------------------------------------------------------------------- 1 | language: c 2 | sudo: false 3 | 4 | notifications: 5 | email: false 6 | 7 | script: 8 | - ./tests.sh 9 | -------------------------------------------------------------------------------- /sources_non_forked/editorconfig-vim/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | Contributors to the EditorConfig Vim Plugin: 2 | 3 | Hong Xu 4 | Trey Hunner 5 | Kent Frazier 6 | Chris White 7 | -------------------------------------------------------------------------------- /sources_non_forked/vim-expand-region/expand-region.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gogsbread/vimrc/master/sources_non_forked/vim-expand-region/expand-region.gif -------------------------------------------------------------------------------- /sources_non_forked/vim-yankstack/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gem "vimbot", :git => "git@github.com:maxbrunsfeld/vimbot.git" 4 | gem "rspec" 5 | -------------------------------------------------------------------------------- /sources_non_forked/vim-coffee-script/test/test-interp.coffee: -------------------------------------------------------------------------------- 1 | # Nested curlies 2 | " >> #{ == { { { } } } == } << " 3 | " >> #{ == { abc: { def: 42 } } == } << " 4 | -------------------------------------------------------------------------------- /sources_non_forked/vim-colors-solarized/bitmaps/togglebg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gogsbread/vimrc/master/sources_non_forked/vim-colors-solarized/bitmaps/togglebg.png -------------------------------------------------------------------------------- /sources_non_forked/vim-multiple-cursors/assets/example1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gogsbread/vimrc/master/sources_non_forked/vim-multiple-cursors/assets/example1.gif -------------------------------------------------------------------------------- /sources_non_forked/vim-multiple-cursors/assets/example2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gogsbread/vimrc/master/sources_non_forked/vim-multiple-cursors/assets/example2.gif -------------------------------------------------------------------------------- /sources_non_forked/vim-multiple-cursors/assets/example3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gogsbread/vimrc/master/sources_non_forked/vim-multiple-cursors/assets/example3.gif -------------------------------------------------------------------------------- /sources_non_forked/vim-multiple-cursors/assets/example4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gogsbread/vimrc/master/sources_non_forked/vim-multiple-cursors/assets/example4.gif -------------------------------------------------------------------------------- /sources_non_forked/vim-gitgutter/.github/issue_template.md: -------------------------------------------------------------------------------- 1 | > What is the latest commit SHA in your installed vim-gitgutter? 2 | 3 | > What vim/nvim version are you on? 4 | 5 | -------------------------------------------------------------------------------- /sources_non_forked/vim-python-pep8-indent/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '2' 2 | services: 3 | rspec: 4 | build: . 5 | volumes: 6 | - .:/vim-python-pep8-indent 7 | -------------------------------------------------------------------------------- /sources_non_forked/editorconfig-vim/tests/plugin/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gem 'rake', '~> 12.3.3' 4 | gem 'rspec', '~> 3.4.0' 5 | gem 'vimrunner', '~> 0.3.1' 6 | -------------------------------------------------------------------------------- /sources_non_forked/vim-abolish/CONTRIBUTING.markdown: -------------------------------------------------------------------------------- 1 | See the [contribution guidelines for pathogen.vim](https://github.com/tpope/vim-pathogen/blob/master/CONTRIBUTING.markdown). 2 | -------------------------------------------------------------------------------- /sources_non_forked/vim-commentary/CONTRIBUTING.markdown: -------------------------------------------------------------------------------- 1 | See the [contribution guidelines for pathogen.vim](https://github.com/tpope/vim-pathogen/blob/master/CONTRIBUTING.markdown). 2 | -------------------------------------------------------------------------------- /sources_non_forked/vim-pug/ftdetect/pug.vim: -------------------------------------------------------------------------------- 1 | " Pug 2 | autocmd BufNewFile,BufReadPost *.pug set filetype=pug 3 | 4 | " Jade 5 | autocmd BufNewFile,BufReadPost *.jade set filetype=pug 6 | -------------------------------------------------------------------------------- /install_basic_vimrc.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | cd ~/.vim_runtime 5 | cat ~/.vim_runtime/vimrcs/basic.vim > ~/.vimrc 6 | echo "Installed the Basic Vim configuration successfully! Enjoy :-)" 7 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/po/alex.vim: -------------------------------------------------------------------------------- 1 | " Author: Cian Butler https://github.com/butlerx 2 | " Description: alex for PO files 3 | 4 | call ale#handlers#alex#DefineLinter('po', '--text') 5 | -------------------------------------------------------------------------------- /sources_non_forked/dracula/after/syntax/json.vim: -------------------------------------------------------------------------------- 1 | if dracula#should_abort('json') 2 | finish 3 | endif 4 | 5 | hi! link jsonKeyword DraculaCyan 6 | hi! link jsonKeywordMatch DraculaPink 7 | -------------------------------------------------------------------------------- /sources_non_forked/tlib/.gitignore: -------------------------------------------------------------------------------- 1 | tags 2 | !doc/tags 3 | Makefile 4 | TODO.TXT 5 | TODO_archived.viki 6 | *.vba 7 | *.vmb 8 | *.zip 9 | .last_* 10 | test 11 | test_* 12 | tmp 13 | var 14 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/help/alex.vim: -------------------------------------------------------------------------------- 1 | " Author: Johannes Wienke 2 | " Description: alex for help files 3 | 4 | call ale#handlers#alex#DefineLinter('help', '--text') 5 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/html/alex.vim: -------------------------------------------------------------------------------- 1 | " Author: Johannes Wienke 2 | " Description: alex for HTML files 3 | 4 | call ale#handlers#alex#DefineLinter('html', '--html') 5 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/mail/alex.vim: -------------------------------------------------------------------------------- 1 | " Author: Johannes Wienke 2 | " Description: alex for mail files 3 | 4 | call ale#handlers#alex#DefineLinter('mail', '--text') 5 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/po/writegood.vim: -------------------------------------------------------------------------------- 1 | " Author: Cian Butler https://github.com/butlerx 2 | " Description: write-good for PO files 3 | 4 | call ale#handlers#writegood#DefineLinter('po') 5 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/pod/alex.vim: -------------------------------------------------------------------------------- 1 | " Author: Johannes Wienke 2 | " Description: alex for pod files 3 | 4 | call ale#handlers#alex#DefineLinter('pod', '--text') 5 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/rst/alex.vim: -------------------------------------------------------------------------------- 1 | " Author: Johannes Wienke 2 | " Description: alex for rst files 3 | 4 | call ale#handlers#alex#DefineLinter('rst', '--text') 5 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/tex/alex.vim: -------------------------------------------------------------------------------- 1 | " Author: Johannes Wienke 2 | " Description: alex for TeX files 3 | 4 | call ale#handlers#alex#DefineLinter('tex', '--text') 5 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/text/alex.vim: -------------------------------------------------------------------------------- 1 | " Author: Johannes Wienke 2 | " Description: alex for text files 3 | 4 | call ale#handlers#alex#DefineLinter('text', '--text') 5 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/completion/python.vim: -------------------------------------------------------------------------------- 1 | function! ale#completion#python#CompletionItemFilter(buffer, item) abort 2 | return a:item.label !~# '\v^__[a-z_]+__' 3 | endfunction 4 | -------------------------------------------------------------------------------- /sources_non_forked/vim-coffee-script/doc/coffee-script.txt: -------------------------------------------------------------------------------- 1 | Please see the project readme for up-to-date docs: 2 | https://github.com/kchmck/vim-coffee-script 3 | 4 | vim:tw=78:ts=8:ft=help:norl: 5 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/nroff/alex.vim: -------------------------------------------------------------------------------- 1 | " Author: Johannes Wienke 2 | " Description: alex for nroff files 3 | 4 | call ale#handlers#alex#DefineLinter('nroff', '--text') 5 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/pod/writegood.vim: -------------------------------------------------------------------------------- 1 | " Author: Sumner Evans 2 | " Description: write-good for Pod files 3 | 4 | call ale#handlers#writegood#DefineLinter('pod') 5 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/sh/shellcheck.vim: -------------------------------------------------------------------------------- 1 | " Author: w0rp 2 | " Description: shellcheck linter for shell scripts. 3 | 4 | call ale#handlers#shellcheck#DefineLinter('sh') 5 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/tex/writegood.vim: -------------------------------------------------------------------------------- 1 | " Author: Sumner Evans 2 | " Description: write-good for TeX files 3 | 4 | call ale#handlers#writegood#DefineLinter('tex') 5 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/xhtml/alex.vim: -------------------------------------------------------------------------------- 1 | " Author: Johannes Wienke 2 | " Description: alex for XHTML files 3 | 4 | call ale#handlers#alex#DefineLinter('xhtml', '--text') 5 | -------------------------------------------------------------------------------- /sources_non_forked/editorconfig-vim/tests/plugin/Rakefile: -------------------------------------------------------------------------------- 1 | # 2 | # run `rake` to run tests 3 | 4 | require 'rspec/core/rake_task' 5 | 6 | RSpec::Core::RakeTask.new(:spec) 7 | 8 | task :default => :spec 9 | -------------------------------------------------------------------------------- /sources_non_forked/nginx.vim/ftplugin/nginx.vim: -------------------------------------------------------------------------------- 1 | setlocal comments=:# 2 | setlocal commentstring=#\ %s 3 | setlocal formatoptions+=croql formatoptions-=t 4 | 5 | let b:undo_ftplugin = "setl fo< cms< com<" 6 | -------------------------------------------------------------------------------- /sources_non_forked/vim-python-pep8-indent/.coveragerc: -------------------------------------------------------------------------------- 1 | [run] 2 | plugins = covimerage 3 | data_file = .coverage_covimerage 4 | source = indent/python.vim 5 | 6 | [report] 7 | include = indent/python.vim 8 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/html/writegood.vim: -------------------------------------------------------------------------------- 1 | " Author: Sumner Evans 2 | " Description: write-good for html files 3 | 4 | call ale#handlers#writegood#DefineLinter('html') 5 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/markdown/alex.vim: -------------------------------------------------------------------------------- 1 | " Author: Johannes Wienke 2 | " Description: alex for markdown files 3 | 4 | call ale#handlers#alex#DefineLinter('markdown', '') 5 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/nroff/writegood.vim: -------------------------------------------------------------------------------- 1 | " Author: Sumner Evans 2 | " Description: write-good for nroff files 3 | 4 | call ale#handlers#writegood#DefineLinter('nroff') 5 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/texinfo/alex.vim: -------------------------------------------------------------------------------- 1 | " Author: Johannes Wienke 2 | " Description: alex for texinfo files 3 | 4 | call ale#handlers#alex#DefineLinter('texinfo', '--text') 5 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/text/writegood.vim: -------------------------------------------------------------------------------- 1 | " Author: Sumner Evans 2 | " Description: write-good for text files 3 | 4 | call ale#handlers#writegood#DefineLinter('text') 5 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/xhtml/writegood.vim: -------------------------------------------------------------------------------- 1 | " Author: Sumner Evans 2 | " Description: write-good for XHTML files 3 | 4 | call ale#handlers#writegood#DefineLinter('xhtml') 5 | -------------------------------------------------------------------------------- /sources_non_forked/vim-fugitive/ftplugin/fugitiveblame.vim: -------------------------------------------------------------------------------- 1 | if exists("b:did_ftplugin") || !exists("*FugitiveGitDir") 2 | finish 3 | endif 4 | let b:did_ftplugin = 1 5 | 6 | call fugitive#BlameFileType() 7 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/snippets/ledger.snippets: -------------------------------------------------------------------------------- 1 | # Ledger 2 | snippet ent 3 | `strftime("%Y/%m/%d")` ${1:transaction} 4 | ${2:account} ${3:value} 5 | ${0:account} 6 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/asciidoc/alex.vim: -------------------------------------------------------------------------------- 1 | " Author: Johannes Wienke 2 | " Description: alex for asciidoc files 3 | 4 | call ale#handlers#alex#DefineLinter('asciidoc', '--text') 5 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/help/writegood.vim: -------------------------------------------------------------------------------- 1 | " Author: Sumner Evans 2 | " Description: write-good for vim Help files 3 | 4 | call ale#handlers#writegood#DefineLinter('help') 5 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/mail/languagetool.vim: -------------------------------------------------------------------------------- 1 | " Author: Vincent (wahrwolf [at] wolfpit.net) 2 | " Description: languagetool for mails 3 | 4 | 5 | call ale#handlers#languagetool#DefineLinter('mail') 6 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/text/languagetool.vim: -------------------------------------------------------------------------------- 1 | " Author: Vincent (wahrwolf [ät] wolfpit.net) 2 | " Description: languagetool for text files 3 | 4 | call ale#handlers#languagetool#DefineLinter('text') 5 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/asciidoc/writegood.vim: -------------------------------------------------------------------------------- 1 | " Author: Sumner Evans 2 | " Description: write-good for AsciiDoc files 3 | 4 | call ale#handlers#writegood#DefineLinter('asciidoc') 5 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/bats/shellcheck.vim: -------------------------------------------------------------------------------- 1 | " Author: Ian2020 2 | " Description: shellcheck linter for bats scripts. 3 | 4 | call ale#handlers#shellcheck#DefineLinter('bats') 5 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/markdown/writegood.vim: -------------------------------------------------------------------------------- 1 | " Author: Sumner Evans 2 | " Description: write-good for Markdown files 3 | 4 | call ale#handlers#writegood#DefineLinter('markdown') 5 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/rst/writegood.vim: -------------------------------------------------------------------------------- 1 | " Author: Sumner Evans 2 | " Description: write-good for reStructuredText files 3 | 4 | call ale#handlers#writegood#DefineLinter('rst') 5 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/texinfo/writegood.vim: -------------------------------------------------------------------------------- 1 | " Author: Sumner Evans 2 | " Description: write-good for Texinfo files 3 | 4 | call ale#handlers#writegood#DefineLinter('texinfo') 5 | -------------------------------------------------------------------------------- /sources_non_forked/dracula/.github/pull_request_template.md: -------------------------------------------------------------------------------- 1 | 5 | 6 | -------------------------------------------------------------------------------- /sources_non_forked/dracula/after/syntax/ocaml.vim: -------------------------------------------------------------------------------- 1 | if dracula#should_abort('ocaml') 2 | finish 3 | endif 4 | 5 | hi! link ocamlModule Type 6 | hi! link ocamlModPath Normal 7 | hi! link ocamlLabel DraculaOrangeItalic 8 | -------------------------------------------------------------------------------- /sources_non_forked/vim-fugitive/syntax/fugitiveblame.vim: -------------------------------------------------------------------------------- 1 | if exists("b:current_syntax") || !exists("*FugitiveGitDir") 2 | finish 3 | endif 4 | 5 | call fugitive#BlameSyntax() 6 | 7 | let b:current_syntax = "fugitiveblame" 8 | -------------------------------------------------------------------------------- /sources_non_forked/vim-markdown/test/README.md: -------------------------------------------------------------------------------- 1 | You can run the tests using the Makefile from the top directory: 2 | 3 | make test 4 | 5 | To run them manually please refer to the instructions/commands in the Makefile. 6 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/markdown/languagetool.vim: -------------------------------------------------------------------------------- 1 | " Author: Vincent (wahrwolf [at] wolfpit.net) 2 | " Description: languagetool for markdown files 3 | 4 | 5 | call ale#handlers#languagetool#DefineLinter('markdown') 6 | -------------------------------------------------------------------------------- /sources_non_forked/nerdtree/.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: "Feature Request" 3 | about: "What new feature are you requesting for NERDTree?" 4 | labels: "feature request" 5 | --- 6 | 7 | #### Description 8 | 9 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/UltiSnips/zsh.snippets: -------------------------------------------------------------------------------- 1 | priority -50 2 | 3 | extends sh 4 | 5 | priority -49 6 | 7 | snippet #! "#!/usr/bin/env zsh" b 8 | #!/usr/bin/env zsh 9 | $0 10 | endsnippet 11 | 12 | # vim:ft=snippets: 13 | -------------------------------------------------------------------------------- /sources_non_forked/vim-multiple-cursors/.travis.yml: -------------------------------------------------------------------------------- 1 | os: linux 2 | dist: bionic 3 | language: ruby 4 | 5 | addons: 6 | apt: 7 | packages: 8 | - vim-gtk 9 | - xvfb 10 | 11 | script: 12 | - xvfb-run bundle exec rake 13 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/snippets/snippets.snippets: -------------------------------------------------------------------------------- 1 | # snippets for making snippets :) 2 | snippet snip 3 | snippet ${1:trigger} "${2:description}" 4 | ${0:${VISUAL}} 5 | snippet v 6 | {VISUAL} 7 | snippet $ 8 | ${${1:1}:${0:text}} 9 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/asciidoc/languagetool.vim: -------------------------------------------------------------------------------- 1 | " Author: Horacio Sanson (hsanson [ät] gmail.com) 2 | " Description: languagetool for asciidoc files, copied from markdown. 3 | 4 | 5 | call ale#handlers#languagetool#DefineLinter('asciidoc') 6 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/UltiSnips/supercollider.snippets: -------------------------------------------------------------------------------- 1 | snippet for 2 | for (${1:1}, ${2:10}) {${3: |i}|} 3 | $0 4 | } 5 | endsnippet 6 | snippet sdef 7 | SynthDef(\\${1:synthName}, {${2: |${3:x}|} 8 | $0 9 | }).add; 10 | endsnippet 11 | -------------------------------------------------------------------------------- /sources_non_forked/dracula/after/syntax/sh.vim: -------------------------------------------------------------------------------- 1 | if dracula#should_abort('bash', 'ksh', 'posix', 'sh') 2 | finish 3 | endif 4 | 5 | hi! link shCommandSub NONE 6 | hi! link shEscape DraculaRed 7 | hi! link shParen NONE 8 | hi! link shParenError NONE 9 | -------------------------------------------------------------------------------- /sources_non_forked/vim-ruby/etc/examples/indent/closing_brackets.rb: -------------------------------------------------------------------------------- 1 | [1, [2, 2 | [3], 3 | 3], 4 | 4] 5 | 6 | [1, [2, 7 | 3], 8 | 4] 9 | 10 | [1, {2 => 11 | 3}, 12 | 4] 13 | 14 | [1, f(2, 15 | 3), 16 | 4] 17 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/snippets/xml.snippets: -------------------------------------------------------------------------------- 1 | # xml declaration 2 | snippet xml 3 | 4 | # tag 5 | snippet t 6 | <${1:}> 7 | ${2} 8 | 9 | # inline tag 10 | snippet ti 11 | <${1:}>${2} 12 | 13 | -------------------------------------------------------------------------------- /sources_non_forked/rust.vim/.github/workflows/ci.yml: -------------------------------------------------------------------------------- 1 | on: push 2 | jobs: 3 | test: 4 | runs-on: ubuntu-latest 5 | steps: 6 | - uses: actions/checkout@v2 7 | - name: Run tests 8 | run: cd test && ./run-tests 9 | shell: bash 10 | -------------------------------------------------------------------------------- /sources_non_forked/lightline-ale/plugin/lightline/ale.vim: -------------------------------------------------------------------------------- 1 | augroup lightline#ale 2 | autocmd! 3 | autocmd User ALEJobStarted call lightline#update() 4 | autocmd User ALELintPost call lightline#update() 5 | autocmd User ALEFixPost call lightline#update() 6 | augroup END 7 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/UltiSnips/ledger.snippets: -------------------------------------------------------------------------------- 1 | priority -50 2 | 3 | snippet t "Transaction" b 4 | ${1:`!v strftime("%Y")`}-${2:`!v strftime("%m")`}-${3:`!v strftime("%d")`} ${4:*} ${5:Payee} 5 | ${6:Expenses} \$${7:0.00} 6 | ${8:Assets:Checking}$0 7 | endsnippet 8 | -------------------------------------------------------------------------------- /sources_non_forked/gist-vim/Makefile: -------------------------------------------------------------------------------- 1 | all : gist-vim.zip 2 | 3 | remove-zip: 4 | -rm -f doc/tags 5 | -rm -f gist-vim.zip 6 | 7 | gist-vim.zip: remove-zip 8 | zip -r gist-vim.zip autoload plugin doc README.mkd 9 | 10 | release: gist-vim.zip 11 | vimup update-script gist.vim 12 | -------------------------------------------------------------------------------- /sources_non_forked/gruvbox/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "gruvbox", 3 | "version": "2.0.0", 4 | "repository": "git@github.com:morhetz/gruvbox.git", 5 | "author": "Pavel Pertsev ", 6 | "license": "MIT", 7 | "vim": { 8 | "opt": true 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /sources_non_forked/vim-ruby/spec/indent/identifiers_spec.rb: -------------------------------------------------------------------------------- 1 | require 'spec_helper' 2 | 3 | describe "Indenting" do 4 | specify "identifiers containing keyword substrings" do 5 | assert_correct_indenting <<~EOF 6 | foo_def 7 | 42 8 | EOF 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | temp_dirs/undodir/* 2 | sources_non_forked/ack.vim/.netrwhist 3 | temp_dirs/yankring_history_v2.txt 4 | sources_forked/yankring/doc/tags 5 | sources_non_forked/tlib/doc/tags 6 | sources_non_forked/ctrlp.vim/doc/tags* 7 | my_plugins/ 8 | my_configs.vim 9 | tags 10 | .DS_Store 11 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/typescript/xo.vim: -------------------------------------------------------------------------------- 1 | call ale#linter#Define('typescript', { 2 | \ 'name': 'xo', 3 | \ 'executable': function('ale#handlers#xo#GetExecutable'), 4 | \ 'command': function('ale#handlers#xo#GetLintCommand'), 5 | \ 'callback': 'ale#handlers#xo#HandleJSON', 6 | \}) 7 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/racket/langserver.vim: -------------------------------------------------------------------------------- 1 | call ale#linter#Define('racket', { 2 | \ 'name': 'racket_langserver', 3 | \ 'lsp': 'stdio', 4 | \ 'executable': 'racket', 5 | \ 'command': '%e -l racket-langserver', 6 | \ 'project_root': function('ale#racket#FindProjectRoot'), 7 | \}) 8 | -------------------------------------------------------------------------------- /sources_non_forked/vim-less/indent/less.vim: -------------------------------------------------------------------------------- 1 | " Vim indent file 2 | " Language: LessCSS 3 | " Maintainer: Leonard Ehrenfried 4 | " Last Change: 2011 Sep 26 5 | 6 | if exists("b:did_indent") 7 | finish 8 | endif 9 | 10 | runtime! indent/css.vim -------------------------------------------------------------------------------- /sources_non_forked/rust.vim/.vintrc.yml: -------------------------------------------------------------------------------- 1 | cmdargs: 2 | # Checking more strictly 3 | severity: style_problem 4 | 5 | policies: 6 | # Disable a violation 7 | ProhibitUnnecessaryDoubleQuote: 8 | enabled: false 9 | ProhibitImplicitScopeVariable: 10 | enabled: false 11 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/vhdl/hdl_checker.vim: -------------------------------------------------------------------------------- 1 | " Author: suoto 2 | " Description: Adds support for HDL Code Checker, which wraps vcom/vlog, ghdl 3 | " or xvhdl. More info on https://github.com/suoto/hdl_checker 4 | 5 | call ale#handlers#hdl_checker#DefineLinter('vhdl') 6 | -------------------------------------------------------------------------------- /sources_non_forked/editorconfig-vim/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "plugin_tests"] 2 | path = tests/plugin/spec/plugin_tests 3 | url = https://github.com/editorconfig/editorconfig-plugin-tests.git 4 | [submodule "core_tests"] 5 | path = tests/core/tests 6 | url = https://github.com/editorconfig/editorconfig-core-test.git 7 | -------------------------------------------------------------------------------- /sources_non_forked/tlib/autoload/tlib.vim: -------------------------------------------------------------------------------- 1 | " @Author: Tom Link (micathom AT gmail com?subject=[vim]) 2 | " @Website: http://www.vim.org/account/profile.php?user_id=4037 3 | " @License: GPL (see http://www.gnu.org/licenses/gpl.txt) 4 | " @Revision: 13 5 | 6 | " :nodefault: 7 | TLet g:tlib#debug = 0 8 | 9 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/verilog/hdl_checker.vim: -------------------------------------------------------------------------------- 1 | " Author: suoto 2 | " Description: Adds support for HDL Code Checker, which wraps vcom/vlog, ghdl 3 | " or xvhdl. More info on https://github.com/suoto/hdl_checker 4 | 5 | call ale#handlers#hdl_checker#DefineLinter('verilog') 6 | -------------------------------------------------------------------------------- /sources_non_forked/typescript-vim/ftdetect/typescript.vim: -------------------------------------------------------------------------------- 1 | " use `set filetype` to override default filetype=xml for *.ts files 2 | autocmd BufNewFile,BufRead *.ts set filetype=typescript 3 | " use `setfiletype` to not override any other plugins like ianks/vim-tsx 4 | autocmd BufNewFile,BufRead *.tsx setfiletype typescript 5 | -------------------------------------------------------------------------------- /sources_non_forked/vim-markdown/registry/markdown.yaml: -------------------------------------------------------------------------------- 1 | addon: markdown 2 | description: "Markdown syntax highlighting" 3 | files: 4 | - ftdetect/markdown.vim 5 | - ftplugin/markdown.vim 6 | - syntax/markdown.vim 7 | - after/ftplugin/markdown.vim 8 | - indent/markdown.vim 9 | - doc/vim-markdown.txt 10 | -------------------------------------------------------------------------------- /sources_non_forked/dracula/after/syntax/html.vim: -------------------------------------------------------------------------------- 1 | if dracula#should_abort('html') 2 | finish 3 | endif 4 | 5 | hi! link htmlTag DraculaFg 6 | hi! link htmlArg DraculaGreenItalic 7 | hi! link htmlTitle DraculaFg 8 | hi! link htmlH1 DraculaFg 9 | hi! link htmlSpecialChar DraculaPurple 10 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/UltiSnips/pandoc.snippets: -------------------------------------------------------------------------------- 1 | extends markdown 2 | 3 | # overwrite if necessary 4 | priority -49 5 | 6 | snippet title "Title Header" b 7 | % ${1:`!v vim_snippets#Filename('$1', 'title')`} 8 | % ${2:`!v g:snips_author`} 9 | % ${3:`!v strftime("%d %B %Y")`} 10 | 11 | $0 12 | endsnippet 13 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/rst/vale.vim: -------------------------------------------------------------------------------- 1 | " Author: chew-z https://github.com/chew-z 2 | " Description: vale for RST files 3 | 4 | call ale#linter#Define('rst', { 5 | \ 'name': 'vale', 6 | \ 'executable': 'vale', 7 | \ 'command': 'vale --output=JSON %t', 8 | \ 'callback': 'ale#handlers#vale#Handle', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/UltiSnips/ejs.snippets: -------------------------------------------------------------------------------- 1 | snippet for "ejs for loop" b 2 | <% for (let ${1:i = 0}; ${2:i 3 | ${0:body} 4 | <% } %> 5 | endsnippet 6 | snippet forE "ejs for Each loop" b 7 | <% ${1:array}.forEach((${2:single var}) => { %> 8 | ${0:body} 9 | <% }) %> 10 | endsnippet 11 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/snippets/dosini.snippets: -------------------------------------------------------------------------------- 1 | snippet ec 2 | ; http://editorconfig.org 3 | 4 | root = true 5 | 6 | [*] 7 | indent_style = ${1:space_or_tab} 8 | indent_size = ${2:indent_size} 9 | end_of_line = lf 10 | charset = utf-8 11 | trim_trailing_whitespace = true 12 | insert_final_newline = true 13 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/tex/vale.vim: -------------------------------------------------------------------------------- 1 | " Author: chew-z https://github.com/chew-z 2 | " Description: vale for LaTeX files 3 | 4 | call ale#linter#Define('tex', { 5 | \ 'name': 'vale', 6 | \ 'executable': 'vale', 7 | \ 'command': 'vale --output=JSON %t', 8 | \ 'callback': 'ale#handlers#vale#Handle', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/text/vale.vim: -------------------------------------------------------------------------------- 1 | " Author: chew-z https://github.com/chew-z 2 | " Description: vale for text files 3 | 4 | call ale#linter#Define('text', { 5 | \ 'name': 'vale', 6 | \ 'executable': 'vale', 7 | \ 'command': 'vale --output=JSON %t', 8 | \ 'callback': 'ale#handlers#vale#Handle', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/ktlint.vim: -------------------------------------------------------------------------------- 1 | " Author: Michael Phillips 2 | " Description: Fix Kotlin files with ktlint. 3 | 4 | function! ale#fixers#ktlint#Fix(buffer) abort 5 | return { 6 | \ 'command': ale#handlers#ktlint#GetCommand(a:buffer) . ' --format' 7 | \} 8 | endfunction 9 | -------------------------------------------------------------------------------- /sources_non_forked/dracula/after/syntax/purescript.vim: -------------------------------------------------------------------------------- 1 | if dracula#should_abort('purescript') 2 | finish 3 | endif 4 | 5 | hi! link purescriptModule Type 6 | hi! link purescriptImport DraculaCyan 7 | hi! link purescriptImportAs DraculaCyan 8 | hi! link purescriptOperator Operator 9 | hi! link purescriptBacktick Operator 10 | -------------------------------------------------------------------------------- /sources_non_forked/vim-addon-mw-utils/doc/cached_file_contents.txt: -------------------------------------------------------------------------------- 1 | *cached_file_contents* read contents of a file then cache extracted data 2 | Author: Marc Weber, marco-oweber@gmx.de 3 | 4 | ----------------------------------------------------------------------- 5 | HOWTO~ 6 | 7 | see cached_file_contents#Test() 8 | -------------------------------------------------------------------------------- /sources_non_forked/vim-multiple-cursors/Rakefile: -------------------------------------------------------------------------------- 1 | require 'rspec/core/rake_task' 2 | 3 | RSpec::Core::RakeTask.new(:spec) do |t| 4 | t.pattern = 'spec/multiple_cursors_spec.rb' 5 | end 6 | 7 | RSpec::Core::RakeTask.new(:benchmark) do |t| 8 | t.pattern = 'spec/benchmark_spec.rb' 9 | end 10 | 11 | task :default => :spec 12 | -------------------------------------------------------------------------------- /sources_non_forked/vim-yankstack/spec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | require "vimbot" 2 | 3 | PLUGIN_ROOT = File.expand_path("../..", __FILE__) 4 | VIM_REPEAT_PATH = File.expand_path("spec/fixtures/repeat.vim", PLUGIN_ROOT) 5 | 6 | RSpec.configure do |c| 7 | c.alias_it_should_behave_like_to :it_has_behavior, 'has behavior:' 8 | end 9 | 10 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/mail/vale.vim: -------------------------------------------------------------------------------- 1 | " Author: chew-z https://github.com/chew-z 2 | " Description: vale for Markdown files 3 | 4 | call ale#linter#Define('mail', { 5 | \ 'name': 'vale', 6 | \ 'executable': 'vale', 7 | \ 'command': 'vale --output=JSON %t', 8 | \ 'callback': 'ale#handlers#vale#Handle', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/vim-javascript/ftdetect/javascript.vim: -------------------------------------------------------------------------------- 1 | fun! s:SelectJavascript() 2 | if getline(1) =~# '^#!.*/bin/\%(env\s\+\)\?node\>' 3 | set ft=javascript 4 | endif 5 | endfun 6 | 7 | autocmd BufNewFile,BufRead *.{js,mjs,cjs,jsm,es,es6},Jakefile setfiletype javascript 8 | autocmd BufNewFile,BufRead * call s:SelectJavascript() 9 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/UltiSnips/crystal.snippets: -------------------------------------------------------------------------------- 1 | priority -50 2 | 3 | snippet "\b(de)?f" "def ..." r 4 | def ${1:method_name}${2:(${3:*args})} 5 | $0 6 | end 7 | endsnippet 8 | 9 | snippet "\b(pde)?f" "private def ..." r 10 | private def ${1:method_name}${2:(${3:*args})} 11 | $0 12 | end 13 | endsnippet 14 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/handlers/haskell_stack.vim: -------------------------------------------------------------------------------- 1 | function! ale#handlers#haskell_stack#EscapeExecutable(executable, stack_exec) abort 2 | let l:exec_args = a:executable =~? 'stack$' 3 | \ ? ' exec ' . ale#Escape(a:stack_exec) . ' --' 4 | \ : '' 5 | 6 | return ale#Escape(a:executable) . l:exec_args 7 | endfunction 8 | -------------------------------------------------------------------------------- /sources_non_forked/ale/doc/ale-fountain.txt: -------------------------------------------------------------------------------- 1 | =============================================================================== 2 | ALE Fountain Integration *ale-fountain-options* 3 | 4 | 5 | =============================================================================== 6 | vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: 7 | -------------------------------------------------------------------------------- /sources_non_forked/vim-ruby/spec/syntax/strings/interpolation_spec.rb: -------------------------------------------------------------------------------- 1 | require 'spec_helper' 2 | 3 | describe "Syntax highlighting" do 4 | specify "invalid interpolated predefined global variables are literal text" do 5 | assert_correct_highlighting <<~'EOF', '#\$', 'rubyString' 6 | "abc(#$)def" 7 | EOF 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/po/proselint.vim: -------------------------------------------------------------------------------- 1 | " Author: Cian Butler https://github.com/butlerx 2 | " Description: proselint for PO files 3 | 4 | call ale#linter#Define('po', { 5 | \ 'name': 'proselint', 6 | \ 'executable': 'proselint', 7 | \ 'command': 'proselint %t', 8 | \ 'callback': 'ale#handlers#unix#HandleAsWarning', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/tex/proselint.vim: -------------------------------------------------------------------------------- 1 | " Author: poohzrn https://github.com/poohzrn 2 | " Description: proselint for TeX files 3 | 4 | call ale#linter#Define('tex', { 5 | \ 'name': 'proselint', 6 | \ 'executable': 'proselint', 7 | \ 'command': 'proselint %t', 8 | \ 'callback': 'ale#handlers#unix#HandleAsWarning', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/text/proselint.vim: -------------------------------------------------------------------------------- 1 | " Author: poohzrn https://github.com/poohzrn 2 | " Description: proselint for text files 3 | 4 | call ale#linter#Define('text', { 5 | \ 'name': 'proselint', 6 | \ 'executable': 'proselint', 7 | \ 'command': 'proselint %t', 8 | \ 'callback': 'ale#handlers#unix#HandleAsWarning', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/nginx.vim/ftdetect/nginx.vim: -------------------------------------------------------------------------------- 1 | au BufRead,BufNewFile *.nginx set ft=nginx 2 | au BufRead,BufNewFile nginx*.conf set ft=nginx 3 | au BufRead,BufNewFile *nginx.conf set ft=nginx 4 | au BufRead,BufNewFile */etc/nginx/* set ft=nginx 5 | au BufRead,BufNewFile */usr/local/nginx/conf/* set ft=nginx 6 | au BufRead,BufNewFile */nginx/*.conf set ft=nginx 7 | -------------------------------------------------------------------------------- /sources_non_forked/vim-ruby/spec/syntax/strings/strings_spec.rb: -------------------------------------------------------------------------------- 1 | require 'spec_helper' 2 | 3 | describe "Syntax highlighting" do 4 | specify "percent strings with a modulo-assignment operator look-alike delimiter" do 5 | assert_correct_highlighting <<~'EOF', '%=', 'rubyPercentStringDelimiter' 6 | foo = %= bar = 7 | EOF 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snipmate/ftplugin/html_snip_helper.vim: -------------------------------------------------------------------------------- 1 | " Helper function for (x)html snippets 2 | if exists('s:did_snip_helper') || &cp || !exists('loaded_snips') 3 | finish 4 | endif 5 | let s:did_snip_helper = 1 6 | 7 | " Automatically closes tag if in xhtml 8 | fun! Close() abort 9 | return stridx(&ft, 'xhtml') == -1 ? '' : ' /' 10 | endf 11 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/html/proselint.vim: -------------------------------------------------------------------------------- 1 | " Author: Daniel M. Capella https://github.com/polyzen 2 | " Description: proselint for HTML files 3 | 4 | call ale#linter#Define('html', { 5 | \ 'name': 'proselint', 6 | \ 'executable': 'proselint', 7 | \ 'command': 'proselint %t', 8 | \ 'callback': 'ale#handlers#unix#HandleAsWarning', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/mail/proselint.vim: -------------------------------------------------------------------------------- 1 | " Author: Daniel M. Capella https://github.com/polyzen 2 | " Description: proselint for mail files 3 | 4 | call ale#linter#Define('mail', { 5 | \ 'name': 'proselint', 6 | \ 'executable': 'proselint', 7 | \ 'command': 'proselint %t', 8 | \ 'callback': 'ale#handlers#unix#HandleAsWarning', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/pod/proselint.vim: -------------------------------------------------------------------------------- 1 | " Author: Daniel M. Capella https://github.com/polyzen 2 | " Description: proselint for Pod files 3 | 4 | call ale#linter#Define('pod', { 5 | \ 'name': 'proselint', 6 | \ 'executable': 'proselint', 7 | \ 'command': 'proselint %t', 8 | \ 'callback': 'ale#handlers#unix#HandleAsWarning', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/dracula/after/syntax/php.vim: -------------------------------------------------------------------------------- 1 | if dracula#should_abort('php') 2 | finish 3 | endif 4 | 5 | hi! link phpClass Type 6 | hi! link phpClasses Type 7 | hi! link phpDocTags DraculaCyanItalic 8 | hi! link phpFunction Function 9 | hi! link phpParent Normal 10 | hi! link phpSpecialFunction DraculaCyan 11 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/UltiSnips/elm.snippets: -------------------------------------------------------------------------------- 1 | priority -50 2 | 3 | snippet impa "Qualified import" 4 | import ${1:Json.Encode} as ${0:`!p snip.rv = t[1].split(".")[-1]`} 5 | endsnippet 6 | 7 | snippet impae "Qualified import with exposing" 8 | import ${1:Json.Encode} as ${2:`!p snip.rv = t[1].split(".")[-1]`} exposing (${0:Value}) 9 | endsnippet 10 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/help/proselint.vim: -------------------------------------------------------------------------------- 1 | " Author: Daniel M. Capella https://github.com/polyzen 2 | " Description: proselint for Vim help files 3 | 4 | call ale#linter#Define('help', { 5 | \ 'name': 'proselint', 6 | \ 'executable': 'proselint', 7 | \ 'command': 'proselint %t', 8 | \ 'callback': 'ale#handlers#unix#HandleAsWarning', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/markdown/proselint.vim: -------------------------------------------------------------------------------- 1 | " Author: poohzrn https://github.com/poohzrn 2 | " Description: proselint for Markdown files 3 | 4 | call ale#linter#Define('markdown', { 5 | \ 'name': 'proselint', 6 | \ 'executable': 'proselint', 7 | \ 'command': 'proselint %t', 8 | \ 'callback': 'ale#handlers#unix#HandleAsWarning', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/nroff/proselint.vim: -------------------------------------------------------------------------------- 1 | " Author: Daniel M. Capella https://github.com/polyzen 2 | " Description: proselint for nroff files 3 | 4 | call ale#linter#Define('nroff', { 5 | \ 'name': 'proselint', 6 | \ 'executable': 'proselint', 7 | \ 'command': 'proselint %t', 8 | \ 'callback': 'ale#handlers#unix#HandleAsWarning', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/xhtml/proselint.vim: -------------------------------------------------------------------------------- 1 | " Author: Daniel M. Capella https://github.com/polyzen 2 | " Description: proselint for XHTML files 3 | 4 | call ale#linter#Define('xhtml', { 5 | \ 'name': 'proselint', 6 | \ 'executable': 'proselint', 7 | \ 'command': 'proselint %t', 8 | \ 'callback': 'ale#handlers#unix#HandleAsWarning', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/asciidoc/vale.vim: -------------------------------------------------------------------------------- 1 | " Author: Jeff Kreeftmeijer https://github.com/jeffkreeftmeijer 2 | " Description: vale for AsciiDoc files 3 | 4 | call ale#linter#Define('asciidoc', { 5 | \ 'name': 'vale', 6 | \ 'executable': 'vale', 7 | \ 'command': 'vale --output=line %t', 8 | \ 'callback': 'ale#handlers#unix#HandleAsWarning', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/rst/proselint.vim: -------------------------------------------------------------------------------- 1 | " Author: Daniel M. Capella https://github.com/polyzen 2 | " Description: proselint for reStructuredText files 3 | 4 | call ale#linter#Define('rst', { 5 | \ 'name': 'proselint', 6 | \ 'executable': 'proselint', 7 | \ 'command': 'proselint %t', 8 | \ 'callback': 'ale#handlers#unix#HandleAsWarning', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/testft/testlinter.vim: -------------------------------------------------------------------------------- 1 | " Author: neersighted 2 | " Description: dummy linter to use in tests 3 | 4 | call ale#linter#Define('testft', { 5 | \ 'name': 'testlinter', 6 | \ 'output_stream': 'stdout', 7 | \ 'executable': 'testlinter', 8 | \ 'command': 'testlinter', 9 | \ 'callback': 'testCB', 10 | \}) 11 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/texinfo/proselint.vim: -------------------------------------------------------------------------------- 1 | " Author: Daniel M. Capella https://github.com/polyzen 2 | " Description: proselint for Texinfo files 3 | 4 | call ale#linter#Define('texinfo', { 5 | \ 'name': 'proselint', 6 | \ 'executable': 'proselint', 7 | \ 'command': 'proselint %t', 8 | \ 'callback': 'ale#handlers#unix#HandleAsWarning', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/addon-info.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "snipmate-snippets", 3 | "author" : "community", 4 | "maintainer" : "honza @ github & others", 5 | "repository" : {"type": "git", "url": "git://github.com/honza/snipmate-snippets.git"}, 6 | "dependencies" : { 7 | }, 8 | "description" : "community driven set of snippets for snipmate" 9 | } 10 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/asciidoc/proselint.vim: -------------------------------------------------------------------------------- 1 | " Author: Daniel M. Capella https://github.com/polyzen 2 | " Description: proselint for AsciiDoc files 3 | 4 | call ale#linter#Define('asciidoc', { 5 | \ 'name': 'proselint', 6 | \ 'executable': 'proselint', 7 | \ 'command': 'proselint %t', 8 | \ 'callback': 'ale#handlers#unix#HandleAsWarning', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/css/fecs.vim: -------------------------------------------------------------------------------- 1 | " Author: harttle 2 | " Description: fecs for CSS files 3 | 4 | call ale#linter#Define('css', { 5 | \ 'name': 'fecs', 6 | \ 'executable': function('ale#handlers#fecs#GetExecutable'), 7 | \ 'command': function('ale#handlers#fecs#GetCommand'), 8 | \ 'callback': 'ale#handlers#fecs#Handle', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/html/fecs.vim: -------------------------------------------------------------------------------- 1 | " Author: harttle 2 | " Description: fecs for HTMl files 3 | 4 | call ale#linter#Define('html', { 5 | \ 'name': 'fecs', 6 | \ 'executable': function('ale#handlers#fecs#GetExecutable'), 7 | \ 'command': function('ale#handlers#fecs#GetCommand'), 8 | \ 'callback': 'ale#handlers#fecs#Handle', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/rst/redpen.vim: -------------------------------------------------------------------------------- 1 | " Author: rhysd https://rhysd.github.io 2 | " Description: Redpen, a proofreading tool (http://redpen.cc) 3 | 4 | call ale#linter#Define('rst', { 5 | \ 'name': 'redpen', 6 | \ 'executable': 'redpen', 7 | \ 'command': 'redpen -f rest -r json %t', 8 | \ 'callback': 'ale#handlers#redpen#HandleRedpenOutput', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/tex/redpen.vim: -------------------------------------------------------------------------------- 1 | " Author: rhysd https://rhysd.github.io 2 | " Description: Redpen, a proofreading tool (http://redpen.cc) 3 | 4 | call ale#linter#Define('tex', { 5 | \ 'name': 'redpen', 6 | \ 'executable': 'redpen', 7 | \ 'command': 'redpen -f latex -r json %t', 8 | \ 'callback': 'ale#handlers#redpen#HandleRedpenOutput', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/fountain/proselint.vim: -------------------------------------------------------------------------------- 1 | " Author: Jansen Mitchell https://github.com/JansenMitchell 2 | " Description: proselint for Fountain files 3 | 4 | call ale#linter#Define('fountain', { 5 | \ 'name': 'proselint', 6 | \ 'executable': 'proselint', 7 | \ 'command': 'proselint %t', 8 | \ 'callback': 'ale#handlers#unix#HandleAsWarning', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/text/redpen.vim: -------------------------------------------------------------------------------- 1 | " Author: rhysd https://rhysd.github.io 2 | " Description: Redpen, a proofreading tool (http://redpen.cc) 3 | 4 | call ale#linter#Define('text', { 5 | \ 'name': 'redpen', 6 | \ 'executable': 'redpen', 7 | \ 'command': 'redpen -f plain -r json %t', 8 | \ 'callback': 'ale#handlers#redpen#HandleRedpenOutput', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/ale/syntax/ale-preview-selection.vim: -------------------------------------------------------------------------------- 1 | if exists('b:current_syntax') 2 | finish 3 | endif 4 | 5 | syn match alePreviewSelectionFilename /\v^([a-zA-Z]?:?[^:]+)/ 6 | syn match alPreviewNumber /\v:\d+:\d+$/ 7 | 8 | hi def link alePreviewSelectionFilename String 9 | hi def link alePreviewNumber Number 10 | 11 | let b:current_syntax = 'ale-preview-selection' 12 | -------------------------------------------------------------------------------- /sources_non_forked/vim-coffee-script/test/test.html: -------------------------------------------------------------------------------- 1 | 2 | 7 | 12 | 17 | 18 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/UltiSnips/xml.snippets: -------------------------------------------------------------------------------- 1 | priority -50 2 | 3 | snippet xml "XML declaration" b 4 | 5 | 6 | endsnippet 7 | 8 | snippet t "Simple tag" b 9 | <${1:tag}> 10 | ${2:${VISUAL}} 11 | 12 | endsnippet 13 | 14 | snippet ti "Inline tag" b 15 | <${1:tag}>${2:${VISUAL}} 16 | endsnippet 17 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/snippets/supercollider.snippets: -------------------------------------------------------------------------------- 1 | snippet b 2 | ( 3 | ${0} 4 | ) 5 | snippet if 6 | if (${1}) { 7 | ${0} 8 | } 9 | snippet ife 10 | if (${1}) { 11 | ${2} 12 | } { 13 | ${0} 14 | } 15 | snippet for 16 | for (${1:1}, ${2:10}) { |i| 17 | ${0} 18 | } 19 | snippet sdef 20 | SynthDef(\\${1:synthName}, {${2} 21 | ${0} 22 | }).add; 23 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/review/redpen.vim: -------------------------------------------------------------------------------- 1 | " Author: rhysd https://rhysd.github.io 2 | " Description: Redpen, a proofreading tool (http://redpen.cc) 3 | 4 | call ale#linter#Define('review', { 5 | \ 'name': 'redpen', 6 | \ 'executable': 'redpen', 7 | \ 'command': 'redpen -f review -r json %t', 8 | \ 'callback': 'ale#handlers#redpen#HandleRedpenOutput', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/dracula/after/syntax/gitcommit.vim: -------------------------------------------------------------------------------- 1 | if dracula#should_abort('gitcommit') 2 | finish 3 | endif 4 | 5 | " The following two are misnomers. Colors are correct. 6 | hi! link diffFile DraculaGreen 7 | hi! link diffNewFile DraculaRed 8 | 9 | hi! link diffAdded DraculaGreen 10 | hi! link diffLine DraculaCyanItalic 11 | hi! link diffRemoved DraculaRed 12 | 13 | -------------------------------------------------------------------------------- /sources_non_forked/vim-javascript/extras/ngdoc.vim: -------------------------------------------------------------------------------- 1 | syntax match jsDocTags contained /@\(link\|method[oO]f\|ngdoc\|ng[iI]nject\|restrict\)/ nextgroup=jsDocParam skipwhite 2 | syntax match jsDocType contained "\%(#\|\$\|\w\|\"\|-\|\.\|:\|\/\)\+" nextgroup=jsDocParam skipwhite 3 | syntax match jsDocParam contained "\%(#\|\$\|\w\|\"\|-\|\.\|:\|{\|}\|\/\|\[\|]\|=\)\+" 4 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/asciidoc/redpen.vim: -------------------------------------------------------------------------------- 1 | " Author: rhysd https://rhysd.github.io 2 | " Description: Redpen, a proofreading tool (http://redpen.cc) 3 | 4 | call ale#linter#Define('asciidoc', { 5 | \ 'name': 'redpen', 6 | \ 'executable': 'redpen', 7 | \ 'command': 'redpen -f asciidoc -r json %t', 8 | \ 'callback': 'ale#handlers#redpen#HandleRedpenOutput', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/markdown/redpen.vim: -------------------------------------------------------------------------------- 1 | " Author: rhysd https://rhysd.github.io 2 | " Description: Redpen, a proofreading tool (http://redpen.cc) 3 | 4 | call ale#linter#Define('markdown', { 5 | \ 'name': 'redpen', 6 | \ 'executable': 'redpen', 7 | \ 'command': 'redpen -f markdown -r json %t', 8 | \ 'callback': 'ale#handlers#redpen#HandleRedpenOutput', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/snippets/coffee/requirejs_coffee.snippets: -------------------------------------------------------------------------------- 1 | snippet def 2 | define ["${1:#dependencies1}"], (${2:#dependencies2}) -> 3 | ${0:TARGET} 4 | 5 | snippet defn 6 | define "${1:#name}", ["${2:#dependencies1}"], (${3:#dependencies2}) -> 7 | ${0:TARGET} 8 | 9 | snippet reqjs 10 | require ["${1:#dependencies1}"], (${2:#dependencies2}) -> 11 | ${0:TARGET} 12 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/graphql/gqlint.vim: -------------------------------------------------------------------------------- 1 | " Author: Michiel Westerbeek 2 | " Description: Linter for GraphQL Schemas 3 | 4 | call ale#linter#Define('graphql', { 5 | \ 'name': 'gqlint', 6 | \ 'executable': 'gqlint', 7 | \ 'cwd': '%s:h', 8 | \ 'command': 'gqlint --reporter=simple %t', 9 | \ 'callback': 'ale#handlers#unix#HandleAsWarning', 10 | \}) 11 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/dhall_format.vim: -------------------------------------------------------------------------------- 1 | " Author: toastal 2 | " Description: Dhall’s built-in formatter 3 | " 4 | function! ale#fixers#dhall_format#Fix(buffer) abort 5 | let l:executable = ale#dhall#GetExecutableWithOptions(a:buffer) 6 | 7 | return { 8 | \ 'command': l:executable 9 | \ . ' format' 10 | \} 11 | endfunction 12 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/dhall_lint.vim: -------------------------------------------------------------------------------- 1 | " Author: toastal 2 | " Description: Dhall’s built-in linter/formatter 3 | 4 | function! ale#fixers#dhall_lint#Fix(buffer) abort 5 | let l:executable = ale#dhall#GetExecutableWithOptions(a:buffer) 6 | 7 | return { 8 | \ 'command': l:executable 9 | \ . ' lint' 10 | \} 11 | endfunction 12 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/handlers/tsserver.vim: -------------------------------------------------------------------------------- 1 | " Author: Derek Sifford 2 | " Description: Handlers for tsserver 3 | 4 | function! ale#handlers#tsserver#GetProjectRoot(buffer) abort 5 | let l:tsconfig_file = ale#path#FindNearestFile(a:buffer, 'tsconfig.json') 6 | 7 | return !empty(l:tsconfig_file) ? fnamemodify(l:tsconfig_file, ':h') : '' 8 | endfunction 9 | -------------------------------------------------------------------------------- /sources_non_forked/nginx.vim/indent/nginx.vim: -------------------------------------------------------------------------------- 1 | if exists("b:did_indent") 2 | finish 3 | endif 4 | let b:did_indent = 1 5 | 6 | setlocal indentexpr= 7 | 8 | " cindent actually works for nginx' simple file structure 9 | setlocal cindent 10 | " Just make sure that the comments are not reset as defs would be. 11 | setlocal cinkeys-=0# 12 | 13 | let b:undo_indent = "setl cin< cink< inde<" 14 | -------------------------------------------------------------------------------- /sources_non_forked/tlib/addon-info.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "tlib", 3 | "version" : "dev", 4 | "author" : "Tom Link ", 5 | "maintainer" : "Tom Link ", 6 | "repository" : {"type": "git", "url": "git://github.com/tomtom/tlib_vim.git"}, 7 | "dependencies" : {}, 8 | "description" : "tlib -- A library of vim functions" 9 | } 10 | -------------------------------------------------------------------------------- /sources_non_forked/vim-coffee-script/ftdetect/vim-literate-coffeescript.vim: -------------------------------------------------------------------------------- 1 | " Language: Literate CoffeeScript 2 | " Maintainer: Michael Smith 3 | " URL: https://github.com/mintplant/vim-literate-coffeescript 4 | " License: MIT 5 | 6 | autocmd BufNewFile,BufRead *.litcoffee set filetype=litcoffee 7 | autocmd BufNewFile,BufRead *.coffee.md set filetype=litcoffee 8 | 9 | -------------------------------------------------------------------------------- /sources_non_forked/ack.vim/ftplugin/qf.vim: -------------------------------------------------------------------------------- 1 | if exists("g:ack_autofold_results") && g:ack_autofold_results 2 | setlocal foldlevel=0 3 | setlocal foldmethod=expr 4 | setlocal foldexpr=matchstr(getline(v:lnum),'^[^\|]\\+')==#matchstr(getline(v:lnum+1),'^[^\|]\\+')?1:'<1' 5 | setlocal foldenable 6 | setlocal foldclose=all 7 | setlocal foldopen=all 8 | nnoremap j jzz 9 | endif 10 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/javascript/xo.vim: -------------------------------------------------------------------------------- 1 | " Author: Daniel Lupu 2 | " Description: xo for JavaScript files 3 | 4 | call ale#linter#Define('javascript', { 5 | \ 'name': 'xo', 6 | \ 'executable': function('ale#handlers#xo#GetExecutable'), 7 | \ 'command': function('ale#handlers#xo#GetLintCommand'), 8 | \ 'callback': 'ale#handlers#xo#HandleJSON', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/solidity/solium.vim: -------------------------------------------------------------------------------- 1 | " Author: Jeff Sutherland - https://github.com/jdsutherland 2 | " Description: Report errors in Solidity code with solium 3 | 4 | call ale#linter#Define('solidity', { 5 | \ 'name': 'solium', 6 | \ 'executable': 'solium', 7 | \ 'command': 'solium --reporter gcc --file %t', 8 | \ 'callback': 'ale#handlers#gcc#HandleGCCFormat', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/dracula/after/syntax/python.vim: -------------------------------------------------------------------------------- 1 | if dracula#should_abort('python') 2 | finish 3 | endif 4 | 5 | hi! link pythonBuiltinObj Type 6 | hi! link pythonBuiltinObject Type 7 | hi! link pythonBuiltinType Type 8 | hi! link pythonClassVar DraculaPurpleItalic 9 | hi! link pythonExClass Type 10 | hi! link pythonNone Type 11 | hi! link pythonRun Comment 12 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/snippets/jade.snippets: -------------------------------------------------------------------------------- 1 | # Angular HTML 2 | snippet rep 3 | div(ng-repeat='${1} in ${2}') 4 | 5 | snippet repf 6 | div(ng-repeat='${1} in ${2}' | ${3}) 7 | 8 | snippet repi 9 | div(ng-repeat='${1} in ${2}' track by $index) 10 | 11 | snippet hide 12 | div(ng-hide='${1}') 13 | 14 | snippet show 15 | div(ng-show='${1}') 16 | 17 | snippet if 18 | div(ng-if='${1}') 19 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/handlers/hlint.vim: -------------------------------------------------------------------------------- 1 | call ale#Set('haskell_hlint_executable', 'hlint') 2 | call ale#Set('haskell_hlint_options', get(g:, 'hlint_options', '')) 3 | 4 | function! ale#handlers#hlint#GetExecutable(buffer) abort 5 | let l:executable = ale#Var(a:buffer, 'haskell_hlint_executable') 6 | 7 | return ale#handlers#haskell_stack#EscapeExecutable(l:executable, 'hlint') 8 | endfunction 9 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/racket.vim: -------------------------------------------------------------------------------- 1 | function! ale#racket#FindProjectRoot(buffer) abort 2 | let l:cwd = expand('#' . a:buffer . ':p:h') 3 | let l:highest_init = l:cwd 4 | 5 | for l:path in ale#path#Upwards(l:cwd) 6 | if filereadable(l:path.'/init.rkt') 7 | let l:highest_init = l:path 8 | endif 9 | endfor 10 | 11 | return l:highest_init 12 | endfunction 13 | -------------------------------------------------------------------------------- /sources_non_forked/dracula/after/syntax/xml.vim: -------------------------------------------------------------------------------- 1 | if dracula#should_abort('xml') 2 | finish 3 | endif 4 | 5 | hi! link xmlAttrib DraculaGreenItalic 6 | hi! link xmlEqual Operator 7 | hi! link xmlTag Delimiter 8 | hi! link xmlTagName Statement 9 | 10 | " Fixes missing highlight over end tags 11 | syn region xmlTagName 12 | \ matchgroup=xmlTag start=+"']\@=+ 13 | \ matchgroup=xmlTag end=+>+ 14 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/UltiSnips/haskell.snippets: -------------------------------------------------------------------------------- 1 | priority -50 2 | 3 | snippet imp "Simple import" 4 | import ${1:${2:Data}.${0:Text}} 5 | endsnippet 6 | 7 | snippet imp2 "Selective import" b 8 | import ${1:${2:Data}.${3:Text}} (${4})${0} 9 | endsnippet 10 | 11 | snippet impq "Qualified import" 12 | import qualified ${1:${2:Data}.${3:Text}} as ${0:`!p snip.rv = t[1].split(".")[-1]`} 13 | endsnippet 14 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/javascript/fecs.vim: -------------------------------------------------------------------------------- 1 | " Author: harttle 2 | " Description: fecs for JavaScript files 3 | 4 | call ale#linter#Define('javascript', { 5 | \ 'name': 'fecs', 6 | \ 'executable': function('ale#handlers#fecs#GetExecutable'), 7 | \ 'command': function('ale#handlers#fecs#GetCommand'), 8 | \ 'read_buffer': 0, 9 | \ 'callback': 'ale#handlers#fecs#Handle', 10 | \}) 11 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/kotlin/ktlint.vim: -------------------------------------------------------------------------------- 1 | " Author: Francis Agyapong 2 | " Description: Lint kotlin files using ktlint 3 | 4 | call ale#linter#Define('kotlin', { 5 | \ 'name': 'ktlint', 6 | \ 'executable': 'ktlint', 7 | \ 'command': function('ale#handlers#ktlint#GetCommand'), 8 | \ 'callback': 'ale#handlers#ktlint#Handle', 9 | \ 'output_stream': 'stderr' 10 | \}) 11 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/sml/smlnj.vim: -------------------------------------------------------------------------------- 1 | " Author: Paulo Alem , Jake Zimmerman 2 | " Description: Single-file SML checking with SML/NJ compiler 3 | 4 | call ale#linter#Define('sml', { 5 | \ 'name': 'smlnj', 6 | \ 'executable': function('ale#handlers#sml#GetExecutableSmlnjFile'), 7 | \ 'command': 'sml', 8 | \ 'callback': 'ale#handlers#sml#Handle', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/qmlfmt.vim: -------------------------------------------------------------------------------- 1 | call ale#Set('qml_qmlfmt_executable', 'qmlfmt') 2 | 3 | function! ale#fixers#qmlfmt#GetExecutable(buffer) abort 4 | return ale#Var(a:buffer, 'qml_qmlfmt_executable') 5 | endfunction 6 | 7 | function! ale#fixers#qmlfmt#Fix(buffer) abort 8 | return { 9 | \ 'command': ale#Escape(ale#fixers#qmlfmt#GetExecutable(a:buffer)), 10 | \} 11 | endfunction 12 | -------------------------------------------------------------------------------- /sources_non_forked/vim-markdown/test/indent-new-list-item.vader: -------------------------------------------------------------------------------- 1 | Before: 2 | let g:vim_markdown_new_list_item_indent = 2 3 | 4 | After: 5 | unlet g:vim_markdown_new_list_item_indent 6 | 7 | Given markdown; 8 | * item1 9 | 10 | Do (new line from the first item of the list and add the second item): 11 | o* item2 12 | 13 | Expect (insert 2 spaces to the head of second item): 14 | * item1 15 | * item2 16 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/UltiSnips/typescript.snippets: -------------------------------------------------------------------------------- 1 | priority -50 2 | 3 | extends javascript 4 | 5 | snippet int "interface" 6 | interface ${1} { 7 | } 8 | endsnippet 9 | snippet nspc "namespace" 10 | namespace ${1} { 11 | } 12 | endsnippet 13 | priority -49 14 | snippet fun "function (named)" b 15 | function ${1:function_name} (${2:argument}: ${3:argument_type}) { 16 | ${VISUAL}$0 17 | } 18 | endsnippet 19 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/snippets/handlebars.snippets: -------------------------------------------------------------------------------- 1 | snippet if # {{#if value}} ... {{/if}} 2 | {{#if ${1:value}}} 3 | ${0:${VISUAL}} 4 | {{/if}} 5 | snippet ifn # {{#unless value}} ... {{/unless}} 6 | {{#unless ${1:value}}} 7 | ${0:${VISUAL}} 8 | {{/unless}} 9 | snippet ife # {{#if value}} ... {{else}} .. {{/if}} 10 | {{#if ${1:value}}} 11 | ${2:${VISUAL}} 12 | {{else}} 13 | ${3} 14 | {{/if}} 15 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/snippets/mustache.snippets: -------------------------------------------------------------------------------- 1 | snippet if # {{#value}} ... {{/value}} 2 | {{#${1:value}}} 3 | ${0:${VISUAL}} 4 | {{/$1}} 5 | snippet ifn # {{^value}} ... {{/value}} 6 | {{^${1:value}}} 7 | ${0:${VISUAL}} 8 | {{/$1}} 9 | snippet ife # {{#value}} ... {{/value}} {{^value}} ... {{/value}} 10 | {{#${1:value}}} 11 | ${2:${VISUAL}} 12 | {{/$1}} 13 | {{^$1}} 14 | ${3} 15 | {{/$1}} 16 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/snippets/phoenix.snippets: -------------------------------------------------------------------------------- 1 | snippet cont 2 | defmodule ${1:AppName}Web.${2:ControllerName}Controller do 3 | use $1Web, :controller 4 | 5 | ${3} 6 | end 7 | 8 | snippet view 9 | defmodule ${1:AppName}Web.${2:ViewName}View do 10 | use $1Web, :view 11 | end 12 | 13 | snippet chan 14 | defmodule ${1:AppName}Web.${2:ChannelName}Channel do 15 | use $1Web, :channel 16 | end 17 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/openapi/yamllint.vim: -------------------------------------------------------------------------------- 1 | call ale#Set('yaml_yamllint_executable', 'yamllint') 2 | call ale#Set('yaml_yamllint_options', '') 3 | 4 | call ale#linter#Define('openapi', { 5 | \ 'name': 'yamllint', 6 | \ 'executable': {b -> ale#Var(b, 'yaml_yamllint_executable')}, 7 | \ 'command': function('ale#handlers#yamllint#GetCommand'), 8 | \ 'callback': 'ale#handlers#yamllint#Handle', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/tex/textlint.vim: -------------------------------------------------------------------------------- 1 | " Author: TANIGUCHI Masaya 2 | " Description: textlint for LaTeX files 3 | 4 | call ale#linter#Define('tex', { 5 | \ 'name': 'textlint', 6 | \ 'executable': function('ale#handlers#textlint#GetExecutable'), 7 | \ 'command': function('ale#handlers#textlint#GetCommand'), 8 | \ 'callback': 'ale#handlers#textlint#HandleTextlintOutput', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/UltiSnips/typescript_react.snippets: -------------------------------------------------------------------------------- 1 | priority -50 2 | extends javascript_react 3 | extends typescript 4 | 5 | priority -49 6 | snippet rfc "react functional component" 7 | import React, { FC } from "react" 8 | 9 | interface ${1:function_name}Props {${4:props_types}} 10 | 11 | export const ${1:function_name}: FC<${1:function_name}Props> = (${2:props}) => ${3:function_body} 12 | endsnippet 13 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/gomod.vim: -------------------------------------------------------------------------------- 1 | call ale#Set('go_go_executable', 'go') 2 | 3 | function! ale#fixers#gomod#Fix(buffer) abort 4 | let l:executable = ale#Var(a:buffer, 'go_go_executable') 5 | let l:env = ale#go#EnvString(a:buffer) 6 | 7 | return { 8 | \ 'command': l:env . ale#Escape(l:executable) . ' mod edit -fmt %t', 9 | \ 'read_temporary_file': 1, 10 | \} 11 | endfunction 12 | -------------------------------------------------------------------------------- /sources_non_forked/ale/syntax/ale-fix-suggest.vim: -------------------------------------------------------------------------------- 1 | if exists('b:current_syntax') 2 | finish 3 | endif 4 | 5 | syn match aleFixerComment /^.*$/ 6 | syn match aleFixerName /\(^\|, \)'[^']*'/ 7 | syn match aleFixerHelp /^See :help ale-fix-configuration/ 8 | 9 | hi def link aleFixerComment Comment 10 | hi def link aleFixerName String 11 | hi def link aleFixerHelp Statement 12 | 13 | let b:current_syntax = 'ale-fix-suggest' 14 | -------------------------------------------------------------------------------- /sources_non_forked/vim-indent-guides/test-files/test-ts8sw2noet.txt: -------------------------------------------------------------------------------- 1 | vim:tw=78:ts=8:sw=2:noet:nolist 2 | 3 | test 4 | test 5 | test 6 | test 7 | test 8 | test 9 | test 10 | test 11 | test 12 | test 13 | test 14 | test 15 | test 16 | test 17 | test 18 | test 19 | test 20 | test 21 | test 22 | test 23 | test 24 | test 25 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/asciidoc/textlint.vim: -------------------------------------------------------------------------------- 1 | " Author: TANIGUCHI Masaya 2 | " Description: textlint for AsciiDoc files 3 | 4 | call ale#linter#Define('asciidoc', { 5 | \ 'name': 'textlint', 6 | \ 'executable': function('ale#handlers#textlint#GetExecutable'), 7 | \ 'command': function('ale#handlers#textlint#GetCommand'), 8 | \ 'callback': 'ale#handlers#textlint#HandleTextlintOutput', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/vim-indent-guides/test-files/test-ts2sw4noet.txt: -------------------------------------------------------------------------------- 1 | vim:tw=78:ts=2:sw=4:noet:nolist 2 | 3 | test 4 | test 5 | test 6 | test 7 | test 8 | test 9 | test 10 | test 11 | test 12 | test test 13 | test 14 | test 15 | test 16 | test 17 | test 18 | test 19 | test 20 | test 21 | test 22 | test 23 | test 24 | test 25 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/snippets/lfe.snippets: -------------------------------------------------------------------------------- 1 | snippet defmo 2 | (defmodule ${1:`vim_snippets#Filename()`} 3 | (export ${2:all})) 4 | $0 5 | snippet def 6 | (defun $1 ($2) 7 | $0) 8 | snippet ltest 9 | (defmodule ${1:`vim_snippets#Filename()`} 10 | (behaviour ltest-unit) 11 | (export all)) 12 | 13 | (include-lib "ltest/include/ltest-macros.lfe") 14 | 15 | $0 16 | snippet test 17 | (deftest $1 18 | $0) 19 | -------------------------------------------------------------------------------- /sources_non_forked/tlib/autoload/tlib/autocmdgroup.vim: -------------------------------------------------------------------------------- 1 | " autocmdgroup.vim 2 | " @Author: Tom Link (mailto:micathom AT gmail com?subject=[vim]) 3 | " @Website: http://www.vim.org/account/profile.php?user_id=4037 4 | " @License: GPL (see http://www.gnu.org/licenses/gpl.txt) 5 | " @Revision: 7 6 | 7 | augroup TLib 8 | autocmd! 9 | augroup END 10 | 11 | 12 | function! tlib#autocmdgroup#Init() "{{{3 13 | endf 14 | 15 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/go/gosimple.vim: -------------------------------------------------------------------------------- 1 | " Author: Ben Reedy 2 | " Description: gosimple for Go files 3 | 4 | call ale#linter#Define('go', { 5 | \ 'name': 'gosimple', 6 | \ 'executable': 'gosimple', 7 | \ 'cwd': '%s:h', 8 | \ 'command': {b -> ale#go#EnvString(b) . 'gosimple .'}, 9 | \ 'callback': 'ale#handlers#go#Handler', 10 | \ 'output_stream': 'both', 11 | \ 'lint_file': 1, 12 | \}) 13 | -------------------------------------------------------------------------------- /sources_non_forked/rust.vim/ftdetect/rust.vim: -------------------------------------------------------------------------------- 1 | " vint: -ProhibitAutocmdWithNoGroup 2 | 3 | autocmd BufRead,BufNewFile *.rs call s:set_rust_filetype() 4 | 5 | if has('patch-8.0.613') 6 | autocmd BufRead,BufNewFile Cargo.toml setf FALLBACK cfg 7 | endif 8 | 9 | function! s:set_rust_filetype() abort 10 | if &filetype !=# 'rust' 11 | set filetype=rust 12 | endif 13 | endfunction 14 | 15 | " vim: set et sw=4 sts=4 ts=8: 16 | -------------------------------------------------------------------------------- /sources_non_forked/vim-markdown/ftdetect/markdown.vim: -------------------------------------------------------------------------------- 1 | if !has('patch-7.4.480') 2 | " Before this patch, vim used modula2 for .md. 3 | au! filetypedetect BufRead,BufNewFile *.md 4 | endif 5 | 6 | " markdown filetype file 7 | au BufRead,BufNewFile *.{md,mdx,mdown,mkd,mkdn,markdown,mdwn} setfiletype markdown 8 | au BufRead,BufNewFile *.{md,mdx,mdown,mkd,mkdn,markdown,mdwn}.{des3,des,bf,bfa,aes,idea,cast,rc2,rc4,rc5,desx} setfiletype markdown 9 | -------------------------------------------------------------------------------- /sources_non_forked/tlib/autoload/tlib/fixes.vim: -------------------------------------------------------------------------------- 1 | " @Author: Tom Link (mailto:micathom AT gmail com?subject=[vim]) 2 | " @License: GPL (see http://www.gnu.org/licenses/gpl.txt) 3 | " @Last Change: 2013-02-22. 4 | " @Revision: 3 5 | 6 | 7 | function! tlib#fixes#Winpos() "{{{3 8 | if has('gui_win32') 9 | return 'winpos '. getwinposx() .' '. getwinposy() 10 | else 11 | return '' 12 | endif 13 | endf 14 | 15 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/rst/textlint.vim: -------------------------------------------------------------------------------- 1 | " Author: hokorobi 2 | " Description: textlint, a proofreading tool (https://textlint.github.io/) 3 | 4 | call ale#linter#Define('rst', { 5 | \ 'name': 'textlint', 6 | \ 'executable': function('ale#handlers#textlint#GetExecutable'), 7 | \ 'command': function('ale#handlers#textlint#GetCommand'), 8 | \ 'callback': 'ale#handlers#textlint#HandleTextlintOutput', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/dracula/after/syntax/yaml.vim: -------------------------------------------------------------------------------- 1 | if dracula#should_abort('yaml') 2 | finish 3 | endif 4 | 5 | hi! link yamlAlias DraculaGreenItalicUnderline 6 | hi! link yamlAnchor DraculaPinkItalic 7 | hi! link yamlBlockMappingKey DraculaCyan 8 | hi! link yamlFlowCollection DraculaPink 9 | hi! link yamlFlowIndicator Delimiter 10 | hi! link yamlNodeTag DraculaPink 11 | hi! link yamlPlainScalar DraculaYellow 12 | 13 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/typescript/eslint.vim: -------------------------------------------------------------------------------- 1 | " Author: w0rp 2 | " Description: eslint for JavaScript files 3 | 4 | call ale#linter#Define('typescript', { 5 | \ 'name': 'eslint', 6 | \ 'executable': function('ale#handlers#eslint#GetExecutable'), 7 | \ 'cwd': function('ale#handlers#eslint#GetCwd'), 8 | \ 'command': function('ale#handlers#eslint#GetCommand'), 9 | \ 'callback': 'ale#handlers#eslint#HandleJSON', 10 | \}) 11 | -------------------------------------------------------------------------------- /sources_non_forked/vim-markdown/test/run-tests.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Exit on error. 4 | set -e 5 | 6 | cd "$( dirname "${BASH_SOURCE[0]}" )" 7 | 8 | for dep in ../build/tabular ../build/vim-toml ../build/vim-json ../build/vader.vim; do 9 | if [[ ! -d $dep ]]; then 10 | echo "Missing dependency: $dep" 11 | echo "You may just want to use 'make test'." 12 | exit 1 13 | fi 14 | done 15 | 16 | vim -Nu vimrc -c 'Vader! *' > /dev/null 17 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/graphql/eslint.vim: -------------------------------------------------------------------------------- 1 | " Author: Benjie Gillam 2 | " Description: eslint for GraphQL files 3 | 4 | call ale#linter#Define('graphql', { 5 | \ 'name': 'eslint', 6 | \ 'executable': function('ale#handlers#eslint#GetExecutable'), 7 | \ 'cwd': function('ale#handlers#eslint#GetCwd'), 8 | \ 'command': function('ale#handlers#eslint#GetCommand'), 9 | \ 'callback': 'ale#handlers#eslint#HandleJSON', 10 | \}) 11 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/text/textlint.vim: -------------------------------------------------------------------------------- 1 | " Author: Yasuhiro Kiyota 2 | " Description: textlint, a proofreading tool (https://textlint.github.io/) 3 | 4 | call ale#linter#Define('text', { 5 | \ 'name': 'textlint', 6 | \ 'executable': function('ale#handlers#textlint#GetExecutable'), 7 | \ 'command': function('ale#handlers#textlint#GetCommand'), 8 | \ 'callback': 'ale#handlers#textlint#HandleTextlintOutput', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/yaml/yamllint.vim: -------------------------------------------------------------------------------- 1 | " Author: KabbAmine 2 | 3 | call ale#Set('yaml_yamllint_executable', 'yamllint') 4 | call ale#Set('yaml_yamllint_options', '') 5 | 6 | call ale#linter#Define('yaml', { 7 | \ 'name': 'yamllint', 8 | \ 'executable': {b -> ale#Var(b, 'yaml_yamllint_executable')}, 9 | \ 'command': function('ale#handlers#yamllint#GetCommand'), 10 | \ 'callback': 'ale#handlers#yamllint#Handle', 11 | \}) 12 | -------------------------------------------------------------------------------- /sources_non_forked/vim-javascript/after/ftplugin/javascript.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: JavaScript 3 | " Maintainer: vim-javascript community 4 | " URL: https://github.com/pangloss/vim-javascript 5 | 6 | setlocal iskeyword+=$ suffixesadd+=.js 7 | 8 | if exists('b:undo_ftplugin') 9 | let b:undo_ftplugin .= ' | setlocal iskeyword< suffixesadd<' 10 | else 11 | let b:undo_ftplugin = 'setlocal iskeyword< suffixesadd<' 12 | endif 13 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/ruby/ruby.vim: -------------------------------------------------------------------------------- 1 | " Author: Brandon Roehl - https://github.com/BrandonRoehl 2 | " Description: Ruby MRI for Ruby files 3 | 4 | call ale#Set('ruby_ruby_executable', 'ruby') 5 | 6 | call ale#linter#Define('ruby', { 7 | \ 'name': 'ruby', 8 | \ 'executable': {b -> ale#Var(b, 'ruby_ruby_executable')}, 9 | \ 'command': '%e -w -c %t', 10 | \ 'output_stream': 'stderr', 11 | \ 'callback': 'ale#handlers#ruby#HandleSyntaxErrors', 12 | \}) 13 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/hlint.vim: -------------------------------------------------------------------------------- 1 | " Author: eborden 2 | " Description: Integration of hlint refactor with ALE. 3 | " 4 | 5 | function! ale#fixers#hlint#Fix(buffer) abort 6 | return { 7 | \ 'command': ale#handlers#hlint#GetExecutable(a:buffer) 8 | \ . ' --refactor' 9 | \ . ' --refactor-options="--inplace"' 10 | \ . ' %t', 11 | \ 'read_temporary_file': 1, 12 | \} 13 | endfunction 14 | -------------------------------------------------------------------------------- /sources_non_forked/lightline.vim/autoload/lightline/colorscheme/default.vim: -------------------------------------------------------------------------------- 1 | " ============================================================================= 2 | " Filename: autoload/lightline/colorscheme/default.vim 3 | " Author: itchyny 4 | " License: MIT License 5 | " Last Change: 2013/08/22 06:05:52. 6 | " ============================================================================= 7 | 8 | let g:lightline#colorscheme#default#palette = g:lightline#colorscheme#powerline#palette 9 | -------------------------------------------------------------------------------- /sources_non_forked/lightline.vim/test/mode.vim: -------------------------------------------------------------------------------- 1 | let s:suite = themis#suite('mode') 2 | let s:assert = themis#helper('assert') 3 | 4 | function! s:suite.mode() 5 | let g:lightline = {} 6 | call lightline#init() 7 | call s:assert.equals(lightline#mode(), 'NORMAL') 8 | endfunction 9 | 10 | function! s:suite.mode_map() 11 | let g:lightline = { 'mode_map': { 'n': 'N' } } 12 | call lightline#init() 13 | call s:assert.equals(lightline#mode(), 'N') 14 | endfunction 15 | -------------------------------------------------------------------------------- /sources_non_forked/nerdtree/.github/workflows/vint.yml: -------------------------------------------------------------------------------- 1 | name: Vint 2 | on: [push, pull_request] 3 | jobs: 4 | vint: 5 | strategy: 6 | fail-fast: false 7 | runs-on: ubuntu-latest 8 | steps: 9 | - name: Checkout 10 | uses: actions/checkout@master 11 | - name: Run vint with reviewdog 12 | uses: reviewdog/action-vint@v1.0.1 13 | with: 14 | github_token: ${{ secrets.github_token }} 15 | reporter: github-pr-review 16 | -------------------------------------------------------------------------------- /sources_non_forked/vim-addon-mw-utils/autoload/tiny_cmd.vim: -------------------------------------------------------------------------------- 1 | " vim suffers: 2 | 3 | exec vam#DefineAndBind('s:c','g:vim_tiny_cmd', '{}') 4 | 5 | fun! tiny_cmd#Put(a) 6 | let new = get(s:c,'next',0) +1 7 | let s:c['next'] = new 8 | let s:c[new] = a:a 9 | return new 10 | endf 11 | 12 | fun! tiny_cmd#Get(nr) 13 | return s:c[a:nr] 14 | endf 15 | 16 | " Get and remove item 17 | fun! tiny_cmd#Pop(nr) 18 | let r = s:c[a:nr] | unlet s:c[a:nr] | return r 19 | endf 20 | -------------------------------------------------------------------------------- /sources_non_forked/vim-javascript/extras/ctags: -------------------------------------------------------------------------------- 1 | --langdef=js 2 | --langmap=js:.js 3 | --regex-js=/([A-Za-z0-9._$]+)[ \t]*[:=][ \t]*\{/\1/,object/ 4 | --regex-js=/([A-Za-z0-9._$()]+)[ \t]*[:=][ \t]*function[ \t]*\(/\1/,function/ 5 | --regex-js=/function[ \t]+([A-Za-z0-9._$]+)[ \t]*([^)])/\1/,function/ 6 | --regex-js=/([A-Za-z0-9._$]+)[ \t]*[:=][ \t]*\[/\1/,array/ 7 | --regex-js=/([^= ]+)[ \t]*=[ \t]*[^"]'[^']*/\1/,string/ 8 | --regex-js=/([^= ]+)[ \t]*=[ \t]*[^']"[^"]*/\1/,string/ 9 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/snippets/javascript/javascript-requirejs.snippets: -------------------------------------------------------------------------------- 1 | snippet def 2 | define(["${1:#dependencies1}"], function (${2:#dependencies2}) { 3 | return ${0:TARGET}; 4 | }); 5 | 6 | snippet defn 7 | define("${1:#name}", ["${2:#dependencies1}"], function (${3:#dependencies2}) { 8 | return ${0:TARGET}; 9 | }); 10 | 11 | snippet reqjs 12 | require(["${1:#dependencies1}"], function (${2:#dependencies2}) { 13 | return ${0:TARGET}; 14 | }); 15 | -------------------------------------------------------------------------------- /sources_non_forked/vim-ruby/spec/syntax/characters_spec.rb: -------------------------------------------------------------------------------- 1 | require 'spec_helper' 2 | 3 | describe "Syntax highlighting" do 4 | specify "whitespace character literals" do 5 | [ 6 | '?\ ', # \f 7 | '?\ ', # \n 8 | '?\ ', # \r 9 | '?\ ', # \s 10 | '?\ ', # \t 11 | '?\ ' # \v 12 | ].each do |c| 13 | assert_correct_highlighting c, '?..', 'rubyCharacter' 14 | end 15 | end 16 | end 17 | -------------------------------------------------------------------------------- /sources_non_forked/lightline.vim/test/error.vim: -------------------------------------------------------------------------------- 1 | let s:suite = themis#suite('error') 2 | let s:assert = themis#helper('assert') 3 | 4 | function! s:message() abort 5 | redir => messages 6 | silent! messages 7 | redir END 8 | return split(messages, '\n')[-1] 9 | endfunction 10 | 11 | function! s:suite.error() 12 | let message = 'An error occurred.' 13 | call lightline#error(message) 14 | call s:assert.equals(s:message(), 'lightline.vim: ' . message) 15 | endfunction 16 | -------------------------------------------------------------------------------- /sources_non_forked/nerdtree/lib/nerdtree/event.vim: -------------------------------------------------------------------------------- 1 | "CLASS: Event 2 | "============================================================ 3 | let s:Event = {} 4 | let g:NERDTreeEvent = s:Event 5 | 6 | function! s:Event.New(nerdtree, subject, action, params) abort 7 | let newObj = copy(self) 8 | let newObj.nerdtree = a:nerdtree 9 | let newObj.subject = a:subject 10 | let newObj.action = a:action 11 | let newObj.params = a:params 12 | return newObj 13 | endfunction 14 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/UltiSnips/matlab.snippets: -------------------------------------------------------------------------------- 1 | priority -50 2 | 3 | snippet switch "switch ... otherwise" 4 | switch ${1:n} 5 | case ${2:0} 6 | ${3}${4: 7 | otherwise 8 | ${5}} 9 | end 10 | endsnippet 11 | 12 | snippet clc "class with constructor" b 13 | classdef ${1:`!p 14 | snip.rv = snip.basename or "class_name"`} 15 | properties 16 | ${2} 17 | end 18 | methods 19 | function obj = $1(${3}) 20 | ${4} 21 | end${0} 22 | end 23 | end 24 | endsnippet 25 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/vfmt.vim: -------------------------------------------------------------------------------- 1 | " Author: fiatjaf 2 | " Description: Integration of `v fmt` with ALE. 3 | 4 | call ale#Set('v_vfmt_options', '') 5 | 6 | function! ale#fixers#vfmt#Fix(buffer) abort 7 | let l:executable = ale#Var(a:buffer, 'v_v_executable') 8 | let l:options = ale#Var(a:buffer, 'v_vfmt_options') 9 | 10 | return { 11 | \ 'command': ale#Escape(l:executable) . ' fmt' . ale#Pad(l:options) 12 | \} 13 | endfunction 14 | -------------------------------------------------------------------------------- /sources_non_forked/tlib/autoload/tlib/loclist.vim: -------------------------------------------------------------------------------- 1 | " @Author: Tom Link (mailto:micathom AT gmail com?subject=[vim]) 2 | " @Website: http://www.vim.org/account/profile.php?user_id=4037 3 | " @License: GPL (see http://www.gnu.org/licenses/gpl.txt) 4 | " @Last Change: 2015-10-24 5 | " @Revision: 2 6 | 7 | 8 | function! tlib#loclist#Browse(...) abort "{{{3 9 | let list = getloclist(0) 10 | return call(function('tlib#qfl#QflList'), [list] + a:000) 11 | endf 12 | 13 | 14 | -------------------------------------------------------------------------------- /sources_non_forked/vim-coffee-script/indent/litcoffee.vim: -------------------------------------------------------------------------------- 1 | if exists('b:did_indent') 2 | finish 3 | endif 4 | 5 | runtime! indent/coffee.vim 6 | 7 | let b:did_indent = 1 8 | 9 | setlocal indentexpr=GetLitCoffeeIndent() 10 | 11 | if exists('*GetLitCoffeeIndent') 12 | finish 13 | endif 14 | 15 | function GetLitCoffeeIndent() 16 | if searchpair('^ \|\t', '', '$', 'bWnm') > 0 17 | return GetCoffeeIndent(v:lnum) 18 | else 19 | return -1 20 | endif 21 | endfunc 22 | 23 | -------------------------------------------------------------------------------- /sources_non_forked/vim-coffee-script/test/test-reserved.coffee: -------------------------------------------------------------------------------- 1 | # Should be an error 2 | function = 42 3 | var = 42 4 | 5 | # Shouldn't be an error 6 | abc.with = 42 7 | function: 42 8 | var: 42 9 | 10 | # Keywords shouldn't be highlighted 11 | abc.function 12 | abc.do 13 | abc.break 14 | abc.true 15 | 16 | abc::function 17 | abc::do 18 | abc::break 19 | abc::true 20 | 21 | abc:: function 22 | abc. function 23 | 24 | # Numbers should be highlighted 25 | def.42 26 | def .42 27 | def::42 28 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/javascript/eslint.vim: -------------------------------------------------------------------------------- 1 | " Author: w0rp 2 | " Description: eslint for JavaScript files 3 | 4 | call ale#linter#Define('javascript', { 5 | \ 'name': 'eslint', 6 | \ 'output_stream': 'both', 7 | \ 'executable': function('ale#handlers#eslint#GetExecutable'), 8 | \ 'cwd': function('ale#handlers#eslint#GetCwd'), 9 | \ 'command': function('ale#handlers#eslint#GetCommand'), 10 | \ 'callback': 'ale#handlers#eslint#HandleJSON', 11 | \}) 12 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/markdown/textlint.vim: -------------------------------------------------------------------------------- 1 | " Author: tokida https://rouger.info, Yasuhiro Kiyota 2 | " Description: textlint, a proofreading tool (https://textlint.github.io/) 3 | 4 | call ale#linter#Define('markdown', { 5 | \ 'name': 'textlint', 6 | \ 'executable': function('ale#handlers#textlint#GetExecutable'), 7 | \ 'command': function('ale#handlers#textlint#GetCommand'), 8 | \ 'callback': 'ale#handlers#textlint#HandleTextlintOutput', 9 | \}) 10 | -------------------------------------------------------------------------------- /sources_forked/vim-irblack-forked/README: -------------------------------------------------------------------------------- 1 | This is a version of Infinite Red's vim theme (http://blog.infinitered.com/entries/show/8) packaged to work with Tim Pope's pathogen plugin (http://www.vim.org/scripts/script.php?script_id=2332). 2 | 3 | To use it (assuming you're using pathogen): 4 | 5 | - go to your bundle directory (.vim/bundle or .vimbundles) and clone the repo: 6 | 7 | git clone git@github.com:wgibbs/vim-irblack.git 8 | 9 | - edit your .vimrc and add: 10 | 11 | :colorscheme ir_black 12 | -------------------------------------------------------------------------------- /sources_non_forked/vim-addon-mw-utils/vim-addon-mw-utils-addon-info.txt: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "vim-addon-mw-utils", 3 | "version" : "0.0", 4 | "author" : "Marc Weber ", 5 | "maintainer" : "Marc Weber ", 6 | "repository" : {"type": "git", "url": "git://github.com/MarcWeber/vim-addon-manager-known-repositories.git"}, 7 | "dependencies" : {}, 8 | "description" : "various utils such as caching interpreted contents of files or advanced glob like things" 9 | } 10 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/ormolu.vim: -------------------------------------------------------------------------------- 1 | call ale#Set('haskell_ormolu_executable', 'ormolu') 2 | call ale#Set('haskell_ormolu_options', '') 3 | 4 | function! ale#fixers#ormolu#Fix(buffer) abort 5 | let l:executable = ale#Var(a:buffer, 'haskell_ormolu_executable') 6 | let l:options = ale#Var(a:buffer, 'haskell_ormolu_options') 7 | 8 | return { 9 | \ 'command': ale#Escape(l:executable) 10 | \ . (empty(l:options) ? '' : ' ' . l:options), 11 | \} 12 | endfunction 13 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/snippets/diff.snippets: -------------------------------------------------------------------------------- 1 | # DEP-3 (http://dep.debian.net/deps/dep3/) style patch header 2 | snippet header DEP-3 style header 3 | Description: ${1} 4 | Origin: ${2:vendor|upstream|other}, ${3:url of the original patch} 5 | Bug: ${4:url in upstream bugtracker} 6 | Forwarded: ${5:no|not-needed|url} 7 | Author: ${6:`g:snips_author`} 8 | Reviewed-by: ${7:name and email} 9 | Last-Update: ${8:`strftime("%Y-%m-%d")`} 10 | Applied-Upstream: ${0:upstream version|url|commit} 11 | 12 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/deno.vim: -------------------------------------------------------------------------------- 1 | function! ale#fixers#deno#Fix(buffer) abort 2 | let l:executable = ale#handlers#deno#GetExecutable(a:buffer) 3 | 4 | if !executable(l:executable) 5 | return 0 6 | endif 7 | 8 | let l:options = ' fmt -' 9 | 10 | if ale#Var(a:buffer, 'deno_unstable') 11 | let l:options = l:options . ' --unstable' 12 | endif 13 | 14 | return { 15 | \ 'command': ale#Escape(l:executable) . l:options 16 | \} 17 | endfunction 18 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/dhall_freeze.vim: -------------------------------------------------------------------------------- 1 | " Author: toastal 2 | " Description: Dhall’s package freezing 3 | 4 | call ale#Set('dhall_freeze_options', '') 5 | 6 | function! ale#fixers#dhall_freeze#Freeze(buffer) abort 7 | let l:executable = ale#dhall#GetExecutableWithOptions(a:buffer) 8 | 9 | return { 10 | \ 'command': l:executable 11 | \ . ' freeze' 12 | \ . ale#Pad(ale#Var(a:buffer, 'dhall_freeze_options')) 13 | \} 14 | endfunction 15 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/sqlfmt.vim: -------------------------------------------------------------------------------- 1 | call ale#Set('sql_sqlfmt_executable', 'sqlfmt') 2 | call ale#Set('sql_sqlfmt_options', '') 3 | 4 | function! ale#fixers#sqlfmt#Fix(buffer) abort 5 | let l:executable = ale#Var(a:buffer, 'sql_sqlfmt_executable') 6 | let l:options = ale#Var(a:buffer, 'sql_sqlfmt_options') 7 | 8 | return { 9 | \ 'command': ale#Escape(l:executable) 10 | \ . ' -w' 11 | \ . (empty(l:options) ? '' : ' ' . l:options), 12 | \} 13 | endfunction 14 | -------------------------------------------------------------------------------- /sources_non_forked/vim-pyte/README: -------------------------------------------------------------------------------- 1 | This is a version of Henning Hasemann's vim theme (http://www.vim.org/scripts/script.php?script_id=1492) packaged to work with Tim Pope's pathogen plugin (http://www.vim.org/scripts/script.php?script_id=2332). 2 | 3 | To use it (assuming you're using pathogen): 4 | 5 | - go to your bundle directory (.vim/bundle or .vimbundles) and clone the repo: 6 | 7 | git clone git://github.com/therubymug/vim-pyte.git 8 | 9 | - edit your .vimrc and add: 10 | 11 | :colorscheme pyte 12 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/javascript/deno.vim: -------------------------------------------------------------------------------- 1 | " Author: Arnold Chand 2 | " Description: Deno lsp linter for JavaScript files. 3 | 4 | call ale#linter#Define('javascript', { 5 | \ 'name': 'deno', 6 | \ 'lsp': 'stdio', 7 | \ 'executable': function('ale#handlers#deno#GetExecutable'), 8 | \ 'command': '%e lsp', 9 | \ 'project_root': function('ale#handlers#deno#GetProjectRoot'), 10 | \ 'initialization_options': function('ale#handlers#deno#GetInitializationOptions'), 11 | \}) 12 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/luafmt.vim: -------------------------------------------------------------------------------- 1 | call ale#Set('lua_luafmt_executable', 'luafmt') 2 | call ale#Set('lua_luafmt_options', '') 3 | 4 | function! ale#fixers#luafmt#Fix(buffer) abort 5 | let l:executable = ale#Var(a:buffer, 'lua_luafmt_executable') 6 | let l:options = ale#Var(a:buffer, 'lua_luafmt_options') 7 | 8 | return { 9 | \ 'command': ale#Escape(l:executable) 10 | \ . (empty(l:options) ? '' : ' ' . l:options) 11 | \ . ' --stdin', 12 | \} 13 | endfunction 14 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/nixpkgsfmt.vim: -------------------------------------------------------------------------------- 1 | call ale#Set('nix_nixpkgsfmt_executable', 'nixpkgs-fmt') 2 | call ale#Set('nix_nixpkgsfmt_options', '') 3 | 4 | function! ale#fixers#nixpkgsfmt#Fix(buffer) abort 5 | let l:executable = ale#Var(a:buffer, 'nix_nixpkgsfmt_executable') 6 | let l:options = ale#Var(a:buffer, 'nix_nixpkgsfmt_options') 7 | 8 | return { 9 | \ 'command': ale#Escape(l:executable) 10 | \ . (empty(l:options) ? '' : ' ' . l:options), 11 | \} 12 | endfunction 13 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/apkbuild/apkbuild_lint.vim: -------------------------------------------------------------------------------- 1 | " Author: Leo 2 | " Description: apkbuild-lint from atools linter for APKBUILDs 3 | 4 | call ale#Set('apkbuild_apkbuild_lint_executable', 'apkbuild-lint') 5 | 6 | call ale#linter#Define('apkbuild', { 7 | \ 'name': 'apkbuild_lint', 8 | \ 'output_stream': 'stdout', 9 | \ 'executable': {b -> ale#Var(b, 'apkbuild_apkbuild_lint_executable')}, 10 | \ 'command': '%e %t', 11 | \ 'callback': 'ale#handlers#atools#Handle', 12 | \}) 13 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/pgformatter.vim: -------------------------------------------------------------------------------- 1 | call ale#Set('sql_pgformatter_executable', 'pg_format') 2 | call ale#Set('sql_pgformatter_options', '') 3 | 4 | function! ale#fixers#pgformatter#Fix(buffer) abort 5 | let l:executable = ale#Var(a:buffer, 'sql_pgformatter_executable') 6 | let l:options = ale#Var(a:buffer, 'sql_pgformatter_options') 7 | 8 | return { 9 | \ 'command': ale#Escape(l:executable) 10 | \ . (empty(l:options) ? '' : ' ' . l:options), 11 | \} 12 | endfunction 13 | -------------------------------------------------------------------------------- /sources_non_forked/dracula/after/syntax/sass.vim: -------------------------------------------------------------------------------- 1 | if dracula#should_abort('sass') 2 | finish 3 | endif 4 | 5 | hi! link sassClass cssClassName 6 | hi! link sassClassChar cssClassNameDot 7 | hi! link sassId cssIdentifier 8 | hi! link sassIdChar cssIdentifier 9 | hi! link sassInterpolationDelimiter DraculaPink 10 | hi! link sassMixinName Function 11 | hi! link sassProperty cssProp 12 | hi! link sassVariableAssignment Operator 13 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snipmate/t/tests.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | tmp="$(mktemp || tmpfile)" 4 | vim -Es $tmp <<- EOF 5 | source ~/.vimrc 6 | %delete _ 7 | call append(0, split(&rtp, ',')) 8 | delete _ 9 | wq 10 | EOF 11 | 12 | rtp="$(grep -iE 'vspec|snipmate|tlib|mw-utils' < $tmp | grep -v after)" 13 | vspec="$(grep -iE 'vspec' < $tmp | grep -v after)" 14 | test_files="${*:-parser jumping}" 15 | 16 | for test in $test_files; do 17 | $vspec/bin/vspec $rtp ${test%%.vim}.vim 18 | done 19 | 20 | rm $tmp 21 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/apkbuild/secfixes_check.vim: -------------------------------------------------------------------------------- 1 | " Author: Leo 2 | " Description: secfixes-check from atools linter for APKBUILDs 3 | 4 | call ale#Set('apkbuild_secfixes_check_executable', 'secfixes-check') 5 | 6 | call ale#linter#Define('apkbuild', { 7 | \ 'name': 'secfixes_check', 8 | \ 'output_stream': 'stdout', 9 | \ 'executable': {b -> ale#Var(b, 'apkbuild_secfixes_check_executable')}, 10 | \ 'command': '%e %t', 11 | \ 'callback': 'ale#handlers#atools#Handle', 12 | \}) 13 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/ocaml/merlin.vim: -------------------------------------------------------------------------------- 1 | " Author: Andrey Popp -- @andreypopp 2 | " Description: Report errors in OCaml code with Merlin 3 | 4 | if !exists('g:merlin') 5 | finish 6 | endif 7 | 8 | function! ale_linters#ocaml#merlin#Handle(buffer, lines) abort 9 | return merlin#ErrorLocList() 10 | endfunction 11 | 12 | call ale#linter#Define('ocaml', { 13 | \ 'name': 'merlin', 14 | \ 'executable': 'ocamlmerlin', 15 | \ 'command': 'true', 16 | \ 'callback': 'ale_linters#ocaml#merlin#Handle', 17 | \}) 18 | -------------------------------------------------------------------------------- /sources_non_forked/vim-javascript/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | *Requisite minimal reproducible example, formatted as plain text :* 2 | 3 |
4 | 5 | #### Optional: concerning jsx. 6 | PLEASE PLEASE PLEASE make sure you have properly 7 | setup and are sourcing this plugin https://github.com/mxw/vim-jsx 8 | 9 | WE DO NOT support JSX automatically, you need another plugin to add get this 10 | functionality. 11 | 12 | Make sure the bug still exists if you disable all other javascript plugins 13 | except the one noted above, mxw/vim-jsx 14 | -------------------------------------------------------------------------------- /sources_non_forked/vim-javascript/compiler/eslint.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler plugin 2 | " Language: JavaScript 3 | " Maintainer: vim-javascript community 4 | " URL: https://github.com/pangloss/vim-javascript 5 | 6 | if exists("current_compiler") 7 | finish 8 | endif 9 | let current_compiler = "eslint" 10 | 11 | if exists(":CompilerSet") != 2 12 | command! -nargs=* CompilerSet setlocal 13 | endif 14 | 15 | CompilerSet makeprg=eslint\ -f\ compact\ % 16 | CompilerSet errorformat=%f:\ line\ %l\\,\ col\ %c\\,\ %m 17 | -------------------------------------------------------------------------------- /sources_non_forked/vim-ruby/spec/indent/eruby_spec.rb: -------------------------------------------------------------------------------- 1 | require 'spec_helper' 2 | 3 | describe "Indenting" do 4 | specify "closing html tag after multiline eruby tag" do 5 | assert_correct_indenting 'erb', <<~EOF 6 |
7 |
8 | <%= text_field_tag :email, nil, 9 | placeholder: "email" %> 10 | text 11 | <%= text_field_tag :password, nil, 12 | placeholder: "password" %> 13 |
14 |
15 | EOF 16 | end 17 | end 18 | 19 | -------------------------------------------------------------------------------- /sources_non_forked/nginx.vim/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | nginx.vim CHANGELOG 2 | ===================== 3 | 4 | This file is used to list changes made in each version of the [nginx](https://github.com/chr4/nginx.vim) plugin for the [Vim](http://www.vim.org/) editor. 5 | 6 | 1.1.0 7 | ----- 8 | 9 | - Do not highlight `SHA` ciphers, as usage as HMAC is still considered secure 10 | 11 | 1.0.1 12 | ----- 13 | 14 | - Highlight `gzip on` as insecure (as it might be vulnerable to BREACH/ CRIME) 15 | 16 | 1.0.0 17 | ----- 18 | 19 | - Initial release 20 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/go/gofmt.vim: -------------------------------------------------------------------------------- 1 | " Author: neersighted 2 | " Description: gofmt for Go files 3 | 4 | function! ale_linters#go#gofmt#GetCommand(buffer) abort 5 | return ale#go#EnvString(a:buffer) 6 | \ . '%e -e %t' 7 | endfunction 8 | 9 | call ale#linter#Define('go', { 10 | \ 'name': 'gofmt', 11 | \ 'output_stream': 'stderr', 12 | \ 'executable': 'gofmt', 13 | \ 'command': function('ale_linters#go#gofmt#GetCommand'), 14 | \ 'callback': 'ale#handlers#unix#HandleAsError', 15 | \}) 16 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/reason/merlin.vim: -------------------------------------------------------------------------------- 1 | " Author: Andrey Popp -- @andreypopp 2 | " Description: Report errors in ReasonML code with Merlin 3 | 4 | if !exists('g:merlin') 5 | finish 6 | endif 7 | 8 | function! ale_linters#reason#merlin#Handle(buffer, lines) abort 9 | return merlin#ErrorLocList() 10 | endfunction 11 | 12 | call ale#linter#Define('reason', { 13 | \ 'name': 'merlin', 14 | \ 'executable': 'ocamlmerlin', 15 | \ 'command': 'true', 16 | \ 'callback': 'ale_linters#reason#merlin#Handle', 17 | \}) 18 | -------------------------------------------------------------------------------- /sources_non_forked/dracula/after/syntax/vim.vim: -------------------------------------------------------------------------------- 1 | if dracula#should_abort('vim') 2 | finish 3 | endif 4 | 5 | hi! link vimAutoCmdSfxList Type 6 | hi! link vimAutoEventList Type 7 | hi! link vimEnvVar Constant 8 | hi! link vimFunction Function 9 | hi! link vimHiBang Keyword 10 | hi! link vimOption Type 11 | hi! link vimSetMod Keyword 12 | hi! link vimSetSep Delimiter 13 | hi! link vimUserAttrbCmpltFunc Function 14 | hi! link vimUserFunc Function 15 | -------------------------------------------------------------------------------- /sources_non_forked/lightline.vim/test/popup.vim: -------------------------------------------------------------------------------- 1 | if !exists('*popup_menu') || !exists('*win_execute') 2 | finish 3 | endif 4 | 5 | let s:suite = themis#suite('popup') 6 | let s:assert = themis#helper('assert') 7 | 8 | function! s:suite.before_each() 9 | let g:lightline = {} 10 | call lightline#init() 11 | tabnew 12 | tabonly 13 | endfunction 14 | 15 | function! s:suite.win_execute_setfiletype() 16 | let id = popup_menu(['aaa', 'bbb'], {}) 17 | call win_execute(id, 'setfiletype vim') 18 | call popup_close(id) 19 | endfunction 20 | -------------------------------------------------------------------------------- /sources_non_forked/vim-coffee-script/compiler/cake.vim: -------------------------------------------------------------------------------- 1 | " Language: CoffeeScript 2 | " Maintainer: Mick Koch 3 | " URL: http://github.com/kchmck/vim-coffee-script 4 | " License: WTFPL 5 | 6 | if exists('current_compiler') 7 | finish 8 | endif 9 | 10 | let current_compiler = 'cake' 11 | call coffee#CoffeeSetUpVariables() 12 | 13 | exec 'CompilerSet makeprg=' . escape(g:coffee_cake . ' ' . 14 | \ g:coffee_cake_options . ' $*', ' ') 15 | call coffee#CoffeeSetUpErrorFormat() 16 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snipmate/syntax/snippet.vim: -------------------------------------------------------------------------------- 1 | " Syntax highlighting for .snippet files (used for snipMate.vim) 2 | " Hopefully this should make snippets a bit nicer to write! 3 | syn match placeHolder '\${\d\+\(:.\{-}\)\=}' contains=snipCommand 4 | syn match tabStop '\$\d\+' 5 | syn match snipEscape '\\\\\|\\`' 6 | syn match snipCommand '\%(\\\@ 2 | " Description: Integration of hfmt with ALE. 3 | 4 | call ale#Set('haskell_hfmt_executable', 'hfmt') 5 | 6 | function! ale#fixers#hfmt#Fix(buffer) abort 7 | let l:executable = ale#Var(a:buffer, 'haskell_hfmt_executable') 8 | 9 | return { 10 | \ 'command': ale#handlers#haskell_stack#EscapeExecutable(l:executable, 'hfmt') 11 | \ . ' -w' 12 | \ . ' %t', 13 | \ 'read_temporary_file': 1, 14 | \} 15 | endfunction 16 | 17 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/swift/sourcekitlsp.vim: -------------------------------------------------------------------------------- 1 | " Author: Dan Loman 2 | " Description: Support for sourcekit-lsp https://github.com/apple/sourcekit-lsp 3 | 4 | call ale#Set('sourcekit_lsp_executable', 'sourcekit-lsp') 5 | 6 | call ale#linter#Define('swift', { 7 | \ 'name': 'sourcekitlsp', 8 | \ 'lsp': 'stdio', 9 | \ 'executable': {b -> ale#Var(b, 'sourcekit_lsp_executable')}, 10 | \ 'command': '%e', 11 | \ 'project_root': function('ale#swift#FindProjectRoot'), 12 | \ 'language': 'swift', 13 | \}) 14 | -------------------------------------------------------------------------------- /sources_non_forked/ale/doc/ale-po.txt: -------------------------------------------------------------------------------- 1 | =============================================================================== 2 | ALE PO Integration *ale-po-options* 3 | 4 | 5 | =============================================================================== 6 | write-good *ale-po-write-good* 7 | 8 | See |ale-write-good-options| 9 | 10 | 11 | =============================================================================== 12 | vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: 13 | -------------------------------------------------------------------------------- /sources_non_forked/ale/doc/ale-pod.txt: -------------------------------------------------------------------------------- 1 | =============================================================================== 2 | ALE Pod Integration *ale-pod-options* 3 | 4 | 5 | =============================================================================== 6 | write-good *ale-pod-write-good* 7 | 8 | See |ale-write-good-options| 9 | 10 | 11 | =============================================================================== 12 | vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: 13 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/sass/stylelint.vim: -------------------------------------------------------------------------------- 1 | " Author: diartyz 2 | 3 | call ale#Set('sass_stylelint_executable', 'stylelint') 4 | call ale#Set('sass_stylelint_use_global', get(g:, 'ale_use_global_executables', 0)) 5 | 6 | call ale#linter#Define('sass', { 7 | \ 'name': 'stylelint', 8 | \ 'executable': {b -> ale#path#FindExecutable(b, 'sass_stylelint', [ 9 | \ 'node_modules/.bin/stylelint', 10 | \ ])}, 11 | \ 'command': '%e --stdin-filename %s', 12 | \ 'callback': 'ale#handlers#css#HandleStyleLintFormat', 13 | \}) 14 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/fecs.vim: -------------------------------------------------------------------------------- 1 | " Author: harttle 2 | " Description: Apply fecs format to a file. 3 | 4 | function! ale#fixers#fecs#Fix(buffer) abort 5 | let l:executable = ale#handlers#fecs#GetExecutable(a:buffer) 6 | 7 | if !executable(l:executable) 8 | return 0 9 | endif 10 | 11 | let l:config_options = ' format --replace=true %t' 12 | 13 | return { 14 | \ 'command': ale#Escape(l:executable) . l:config_options, 15 | \ 'read_temporary_file': 1, 16 | \} 17 | endfunction 18 | -------------------------------------------------------------------------------- /sources_non_forked/ale/doc/ale-nroff.txt: -------------------------------------------------------------------------------- 1 | =============================================================================== 2 | ALE nroff Integration *ale-nroff-options* 3 | 4 | 5 | =============================================================================== 6 | write-good *ale-nroff-write-good* 7 | 8 | See |ale-write-good-options| 9 | 10 | 11 | =============================================================================== 12 | vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: 13 | -------------------------------------------------------------------------------- /sources_non_forked/ale/doc/ale-texinfo.txt: -------------------------------------------------------------------------------- 1 | =============================================================================== 2 | ALE Texinfo Integration *ale-texinfo-options* 3 | 4 | 5 | =============================================================================== 6 | write-good *ale-texinfo-write-good* 7 | 8 | See |ale-write-good-options| 9 | 10 | 11 | =============================================================================== 12 | vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: 13 | -------------------------------------------------------------------------------- /sources_non_forked/ale/doc/ale-vim-help.txt: -------------------------------------------------------------------------------- 1 | =============================================================================== 2 | ALE Vim help Integration *ale-vim-help-options* 3 | 4 | 5 | =============================================================================== 6 | write-good *ale-vim-help-write-good* 7 | 8 | See |ale-write-good-options| 9 | 10 | 11 | =============================================================================== 12 | vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: 13 | -------------------------------------------------------------------------------- /sources_non_forked/ale/doc/ale-xhtml.txt: -------------------------------------------------------------------------------- 1 | =============================================================================== 2 | ALE XHTML Integration *ale-xhtml-options* 3 | 4 | 5 | =============================================================================== 6 | write-good *ale-xhtml-write-good* 7 | 8 | See |ale-write-good-options| 9 | 10 | 11 | =============================================================================== 12 | vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: 13 | -------------------------------------------------------------------------------- /sources_non_forked/nerdtree/LICENCE: -------------------------------------------------------------------------------- 1 | DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 2 | Version 2, December 2004 3 | 4 | Copyright (C) 2004 Sam Hocevar 5 | 6 | Everyone is permitted to copy and distribute verbatim or modified 7 | copies of this license document, and changing it is allowed as long 8 | as the name is changed. 9 | 10 | DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 11 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 12 | 13 | 0. You just DO WHAT THE FUCK YOU WANT TO. 14 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/ocamlinterface/merlin.vim: -------------------------------------------------------------------------------- 1 | " Author: Andrey Popp -- @andreypopp 2 | " Description: Report errors in OCaml code with Merlin 3 | 4 | if !exists('g:merlin') 5 | finish 6 | endif 7 | 8 | function! ale_linters#ocamlinterface#merlin#Handle(buffer, lines) abort 9 | return merlin#ErrorLocList() 10 | endfunction 11 | 12 | call ale#linter#Define('ocamlinterface', { 13 | \ 'name': 'merlin', 14 | \ 'executable': 'ocamlmerlin', 15 | \ 'command': 'true', 16 | \ 'callback': 'ale_linters#ocamlinterface#merlin#Handle', 17 | \}) 18 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/snippets/textile.snippets: -------------------------------------------------------------------------------- 1 | # Jekyll post header 2 | snippet header 3 | --- 4 | title: ${1:title} 5 | layout: post 6 | date: ${2:date} ${0:hour:minute:second} -05:00 7 | --- 8 | 9 | # Image 10 | snippet img 11 | !${1:url}(${2:title}):${0:link}! 12 | 13 | # Table 14 | snippet | 15 | |${1}| 16 | 17 | # Link 18 | snippet link 19 | "${1:link text}":${0:url} 20 | 21 | # Acronym 22 | snippet ( 23 | (${1:Expand acronym}) 24 | 25 | # Footnote 26 | snippet fn 27 | [${1:ref number}] ${0} 28 | 29 | fn$1. ${2:footnote} 30 | 31 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/scala/fsc.vim: -------------------------------------------------------------------------------- 1 | " Author: Nils Leuzinger - https://github.com/PawkyPenguin 2 | " Description: Basic scala support using fsc 3 | 4 | function! s:IsSbt(buffer) abort 5 | return index(split(getbufvar(a:buffer, '&filetype'), '\.'), 'sbt') >= 0 6 | endfunction 7 | 8 | call ale#linter#Define('scala', { 9 | \ 'name': 'fsc', 10 | \ 'executable': {buf -> s:IsSbt(buf) ? '' : 'fsc'}, 11 | \ 'command': '%e -Ystop-after:parser %t', 12 | \ 'callback': 'ale#handlers#scala#HandleScalacLintFormat', 13 | \ 'output_stream': 'stderr', 14 | \}) 15 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/nixfmt.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | " Author: houstdav000 3 | " Description: Fix files with nixfmt 4 | 5 | call ale#Set('nix_nixfmt_executable', 'nixfmt') 6 | call ale#Set('nix_nixfmt_options', '') 7 | 8 | function! ale#fixers#nixfmt#Fix(buffer) abort 9 | let l:executable = ale#Var(a:buffer, 'nix_nixfmt_executable') 10 | let l:options = ale#Var(a:buffer, 'nix_nixfmt_options') 11 | 12 | return { 13 | \ 'command': ale#Escape(l:executable) . ale#Pad(l:options), 14 | \} 15 | endfunction 16 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/stylua.vim: -------------------------------------------------------------------------------- 1 | " Author: Robert Liebowitz 2 | " Description: https://github.com/johnnymorganz/stylua 3 | 4 | call ale#Set('lua_stylua_executable', 'stylua') 5 | call ale#Set('lua_stylua_options', '') 6 | 7 | function! ale#fixers#stylua#Fix(buffer) abort 8 | let l:executable = ale#Var(a:buffer, 'lua_stylua_executable') 9 | let l:options = ale#Var(a:buffer, 'lua_stylua_options') 10 | 11 | return { 12 | \ 'command': ale#Escape(l:executable) . ale#Pad(l:options) . ' -', 13 | \} 14 | endfunction 15 | -------------------------------------------------------------------------------- /sources_non_forked/vim-multiple-cursors/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Problems summary 2 | 3 | ## Expected 4 | 5 | ## Environment Information 6 | * OS: 7 | * Neovim/Vim/Gvim version: 8 | 9 | ## Provide a minimal .vimrc with less than 50 lines 10 | 11 | " Your minimal.vimrc 12 | 13 | ## Generate a logfile if appropriate 14 | 15 | 1. export NVIM_PYTHON_LOG_FILE=/tmp/log 16 | 2. export NVIM_PYTHON_LOG_LEVEL=DEBUG 17 | 3. nvim -u minimal.vimrc 18 | 4. recreate your issue 19 | 5. cat /tmp/log_{PID} 20 | 21 | ## Screen shot (if possible) 22 | 23 | ## Upload the log file 24 | -------------------------------------------------------------------------------- /sources_non_forked/editorconfig-vim/tests/fetch-vim.bat: -------------------------------------------------------------------------------- 1 | :: fetch-vim.bat: Fetch vim if necessary 2 | :: For use in the editorconfig-vim Appveyor build 3 | :: Copyright (c) 2018--2019 Chris White. All rights reserved. 4 | :: Licensed Apache 2.0, or any later version, at your option. 5 | 6 | :: If it's already been loaded from the cache, we're done 7 | if exist C:\vim\vim\vim80\vim.exe exit 8 | 9 | :: Otherwise, download and unzip it. 10 | appveyor DownloadFile https://github.com/cxw42/editorconfig-core-vimscript/releases/download/v0.1.0/vim.7z 11 | 12 | 7z x vim.7z -oC:\vim 13 | -------------------------------------------------------------------------------- /install_awesome_vimrc.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | cd ~/.vim_runtime 5 | 6 | echo '" DO NOT EDIT THIS FILE 7 | " Add your own customizations in ~/.vim_runtime/my_configs.vim 8 | 9 | set runtimepath+=~/.vim_runtime 10 | 11 | source ~/.vim_runtime/vimrcs/basic.vim 12 | source ~/.vim_runtime/vimrcs/filetypes.vim 13 | source ~/.vim_runtime/vimrcs/plugins_config.vim 14 | source ~/.vim_runtime/vimrcs/extended.vim 15 | try 16 | source ~/.vim_runtime/my_configs.vim 17 | catch 18 | endtry' > ~/.vimrc 19 | 20 | echo "Installed the Ultimate Vim configuration successfully! Enjoy :-)" 21 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/ocaml/ocamllsp.vim: -------------------------------------------------------------------------------- 1 | " Author: Risto Stevcev 2 | " Description: The official language server for OCaml 3 | 4 | call ale#Set('ocaml_ocamllsp_use_opam', 1) 5 | 6 | call ale#linter#Define('ocaml', { 7 | \ 'name': 'ocamllsp', 8 | \ 'lsp': 'stdio', 9 | \ 'executable': function('ale#handlers#ocamllsp#GetExecutable'), 10 | \ 'command': function('ale#handlers#ocamllsp#GetCommand'), 11 | \ 'language': function('ale#handlers#ocamllsp#GetLanguage'), 12 | \ 'project_root': function('ale#handlers#ocamllsp#GetProjectRoot'), 13 | \}) 14 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/solidity/solhint.vim: -------------------------------------------------------------------------------- 1 | " Authors: Franco Victorio - https://github.com/fvictorio, Henrique Barcelos 2 | " https://github.com/hbarcelos 3 | " Description: Report errors in Solidity code with solhint 4 | 5 | call ale#linter#Define('solidity', { 6 | \ 'name': 'solhint', 7 | \ 'output_stream': 'both', 8 | \ 'executable': function('ale#handlers#solhint#GetExecutable'), 9 | \ 'cwd': function('ale#handlers#solhint#GetCwd'), 10 | \ 'command': function('ale#handlers#solhint#GetCommand'), 11 | \ 'callback': 'ale#handlers#solhint#Handle', 12 | \}) 13 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/typescript/deno.vim: -------------------------------------------------------------------------------- 1 | " Author: Mohammed Chelouti - https://github.com/motato1 2 | " Arnold Chand 3 | " Description: Deno lsp linter for TypeScript files. 4 | 5 | call ale#linter#Define('typescript', { 6 | \ 'name': 'deno', 7 | \ 'lsp': 'stdio', 8 | \ 'executable': function('ale#handlers#deno#GetExecutable'), 9 | \ 'command': '%e lsp', 10 | \ 'project_root': function('ale#handlers#deno#GetProjectRoot'), 11 | \ 'initialization_options': function('ale#handlers#deno#GetInitializationOptions'), 12 | \}) 13 | -------------------------------------------------------------------------------- /sources_non_forked/editorconfig-vim/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | end_of_line = lf 5 | charset = utf-8 6 | max_line_length = 80 7 | 8 | [*.{vim,sh}] 9 | indent_style = space 10 | indent_size = 4 11 | insert_final_newline = true 12 | trim_trailing_whitespace = true 13 | max_line_length = 80 14 | 15 | [*.rb] 16 | indent_style = space 17 | indent_size = 2 18 | insert_final_newline = true 19 | trim_trailing_whitespace = true 20 | max_line_length = 120 21 | 22 | [*.yml] 23 | indent_style = space 24 | indent_size = 2 25 | 26 | [*.{bat,vbs,ps1}] 27 | end_of_line = CRLF 28 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/textlint.vim: -------------------------------------------------------------------------------- 1 | " Author: TANIGUCHI Masaya 2 | " Description: Integration of textlint with ALE. 3 | 4 | function! ale#fixers#textlint#Fix(buffer) abort 5 | let l:executable = ale#handlers#textlint#GetExecutable(a:buffer) 6 | let l:options = ale#Var(a:buffer, 'textlint_options') 7 | 8 | return { 9 | \ 'command': ale#Escape(l:executable) 10 | \ . ' --fix' 11 | \ . (empty(l:options) ? '' : ' ' . l:options) 12 | \ . ' %t', 13 | \ 'read_temporary_file': 1, 14 | \} 15 | endfunction 16 | -------------------------------------------------------------------------------- /sources_non_forked/ale/doc/ale-pawn.txt: -------------------------------------------------------------------------------- 1 | =============================================================================== 2 | ALE Pawn Integration *ale-pawn-options* 3 | 4 | 5 | =============================================================================== 6 | uncrustify *ale-pawn-uncrustify* 7 | 8 | See |ale-c-uncrustify| for information about the available options. 9 | 10 | 11 | =============================================================================== 12 | vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: 13 | -------------------------------------------------------------------------------- /sources_non_forked/editorconfig-vim/tests/core/editorconfig.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | :: editorconfig.bat: First-level invoker for editorconfig-core-vimscript 3 | :: and editorconfig-vim. 4 | :: Just passes the full command line to editorconfig1.vbs, since VBScript 5 | :: applies very simple quoting rules when it parses a command line. 6 | :: Copyright (c) 2018--2019 Chris White. All rights reserved. 7 | :: Licensed CC-BY-SA, version 3.0 or any later version, at your option. 8 | set here=%~dp0 9 | 10 | cscript //Nologo "%here%editorconfig1.vbs" %* 11 | :: %* has the whole command line 12 | -------------------------------------------------------------------------------- /sources_non_forked/tlib/autoload/tlib/Test.vim: -------------------------------------------------------------------------------- 1 | " @Author: Tom Link (micathom AT gmail com?subject=[vim]) 2 | " @Website: http://www.vim.org/account/profile.php?user_id=4037 3 | " @License: GPL (see http://www.gnu.org/licenses/gpl.txt) 4 | " @Revision: 11 5 | 6 | " :enddoc: 7 | 8 | 9 | let s:prototype = tlib#Object#New({'_class': ['Test']}) "{{{2 10 | function! tlib#Test#New(...) "{{{3 11 | let object = s:prototype.New(a:0 >= 1 ? a:1 : {}) 12 | return object 13 | endf 14 | 15 | 16 | function! s:prototype.Dummy() dict "{{{3 17 | return 'Test.vim' 18 | endf 19 | 20 | -------------------------------------------------------------------------------- /sources_non_forked/vim-rhubarb/doc/rhubarb.txt: -------------------------------------------------------------------------------- 1 | *rhubarb.txt* fugitive.vim extension for GitHub 2 | 3 | Author: Tim Pope 4 | License: MIT 5 | 6 | Use |i_CTRL-X_CTRL-O| to omni-complete GitHub issues or project collaborator 7 | usernames when editing a commit message. 8 | 9 | Use Fugitive's |:GBrowse| to browse to the GitHub URL for the current buffer. 10 | 11 | ABOUT *rhubarb-about* 12 | 13 | Grab the latest version or report a bug on GitHub: 14 | 15 | http://github.com/tpope/vim-rhubarb 16 | 17 | vim:tw=78:et:ft=help:norl: 18 | -------------------------------------------------------------------------------- /sources_non_forked/ale/doc/ale-hcl.txt: -------------------------------------------------------------------------------- 1 | =============================================================================== 2 | ALE HCL Integration *ale-hcl-options* 3 | 4 | 5 | =============================================================================== 6 | terraform-fmt *ale-hcl-terraform-fmt* 7 | 8 | See |ale-terraform-fmt-fixer| for information about the available options. 9 | 10 | =============================================================================== 11 | vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: 12 | -------------------------------------------------------------------------------- /sources_non_forked/tlib/autoload/tinykeymap/map/para_move.vim: -------------------------------------------------------------------------------- 1 | " para_move.vim 2 | " @Author: Tom Link (mailto:micathom AT gmail com?subject=[vim]) 3 | " @License: GPL (see http://www.gnu.org/licenses/gpl.txt) 4 | " @Created: 2012-08-28. 5 | " @Last Change: 2012-08-29. 6 | " @Revision: 3 7 | 8 | " Move paragraphs 9 | call tinykeymap#EnterMap("para_move", "gp", {'name': 'move paragraph'}) 10 | call tinykeymap#Map("para_move", "j", "silent call tlib#paragraph#Move('Down', '')") 11 | call tinykeymap#Map("para_move", "k", "silent call tlib#paragraph#Move('Up', '')") 12 | 13 | -------------------------------------------------------------------------------- /sources_non_forked/typescript-vim/ftplugin/typescript.vim: -------------------------------------------------------------------------------- 1 | if exists("b:did_ftplugin") 2 | finish 3 | endif 4 | let b:did_ftplugin = 1 5 | 6 | let s:cpo_save = &cpo 7 | set cpo-=C 8 | 9 | compiler typescript 10 | setlocal commentstring=//\ %s 11 | 12 | " Set 'formatoptions' to break comment lines but not other lines, 13 | " " and insert the comment leader when hitting or using "o". 14 | setlocal formatoptions-=t formatoptions+=croql 15 | 16 | setlocal suffixesadd+=.ts,.tsx 17 | 18 | let b:undo_ftplugin = "setl fo< ofu< com< cms<" 19 | 20 | let &cpo = s:cpo_save 21 | unlet s:cpo_save 22 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/nix/rnix_lsp.vim: -------------------------------------------------------------------------------- 1 | " Author: jD91mZM2 2 | " Description: rnix-lsp language client 3 | 4 | function! ale_linters#nix#rnix_lsp#GetProjectRoot(buffer) abort 5 | " rnix-lsp does not yet use the project root, so getting it right is not 6 | " important 7 | return fnamemodify(a:buffer, ':h') 8 | endfunction 9 | 10 | call ale#linter#Define('nix', { 11 | \ 'name': 'rnix_lsp', 12 | \ 'lsp': 'stdio', 13 | \ 'executable': 'rnix-lsp', 14 | \ 'command': '%e', 15 | \ 'project_root': function('ale_linters#nix#rnix_lsp#GetProjectRoot'), 16 | \}) 17 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/ocamlinterface/ocamllsp.vim: -------------------------------------------------------------------------------- 1 | " Author: Risto Stevcev 2 | " Description: The official language server for OCaml 3 | 4 | call ale#Set('ocaml_ocamllsp_use_opam', 1) 5 | 6 | call ale#linter#Define('ocamlinterface', { 7 | \ 'name': 'ocamllsp', 8 | \ 'lsp': 'stdio', 9 | \ 'executable': function('ale#handlers#ocamllsp#GetExecutable'), 10 | \ 'command': function('ale#handlers#ocamllsp#GetCommand'), 11 | \ 'language': function('ale#handlers#ocamllsp#GetLanguage'), 12 | \ 'project_root': function('ale#handlers#ocamllsp#GetProjectRoot'), 13 | \}) 14 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/rustfmt.vim: -------------------------------------------------------------------------------- 1 | " Author: Kelly Fox 2 | " Description: Integration of rustfmt with ALE. 3 | 4 | call ale#Set('rust_rustfmt_executable', 'rustfmt') 5 | call ale#Set('rust_rustfmt_options', '') 6 | 7 | function! ale#fixers#rustfmt#Fix(buffer) abort 8 | let l:executable = ale#Var(a:buffer, 'rust_rustfmt_executable') 9 | let l:options = ale#Var(a:buffer, 'rust_rustfmt_options') 10 | 11 | return { 12 | \ 'command': ale#Escape(l:executable) 13 | \ . (empty(l:options) ? '' : ' ' . l:options), 14 | \} 15 | endfunction 16 | -------------------------------------------------------------------------------- /sources_non_forked/vim-addon-mw-utils/autoload/env_reload.vim: -------------------------------------------------------------------------------- 1 | " in sh/bash you can type export to get a list of environment variables 2 | " This function assigns those env vars to Vim. 3 | " Does not delete env vars yet 4 | " Example: env_reload#ReloadEnv(system("sh -c 'export'") 5 | fun! env_reload#ReloadEnv(bash_export_command_output) 6 | for i in split(a:bash_export_command_output,"\n") 7 | let m = matchlist(i, 'export \([^=]\+\)="\(.*\)"') 8 | if empty(m) | continue | endif 9 | " don't care about quoted values right now. 10 | exec 'let $'.m[1].'='.string(m[2]) 11 | endfor 12 | endf 13 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/d.vim: -------------------------------------------------------------------------------- 1 | " Author: Auri 2 | " Description: Functions for integrating with D linters. 3 | 4 | function! ale#d#FindDUBConfig(buffer) abort 5 | " Find a DUB configuration file in ancestor paths. 6 | " The most DUB-specific names will be tried first. 7 | for l:possible_filename in ['dub.sdl', 'dub.json', 'package.json'] 8 | let l:dub_file = ale#path#FindNearestFile(a:buffer, l:possible_filename) 9 | 10 | if !empty(l:dub_file) 11 | return l:dub_file 12 | endif 13 | endfor 14 | 15 | return '' 16 | endfunction 17 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/sqlformat.vim: -------------------------------------------------------------------------------- 1 | " Author: Cluas 2 | " Description: Fixing files with sqlformat. 3 | 4 | call ale#Set('sql_sqlformat_executable', 'sqlformat') 5 | call ale#Set('sql_sqlformat_options', '') 6 | 7 | function! ale#fixers#sqlformat#Fix(buffer) abort 8 | let l:executable = ale#Var(a:buffer, 'sql_sqlformat_executable') 9 | let l:options = ale#Var(a:buffer, 'sql_sqlformat_options') 10 | 11 | return { 12 | \ 'command': ale#Escape(l:executable) 13 | \ . (!empty(l:options) ? ' ' . l:options : '') 14 | \ . ' -' 15 | \} 16 | endfunction 17 | -------------------------------------------------------------------------------- /sources_non_forked/lightline.vim/test/autocmd.vim: -------------------------------------------------------------------------------- 1 | if !has("patch-8.2.0996") 2 | finish 3 | endif 4 | 5 | let s:suite = themis#suite('autocmd') 6 | let s:assert = themis#helper('assert') 7 | 8 | function! s:suite.before_each() 9 | let g:lightline = {} 10 | call lightline#init() 11 | tabnew 12 | tabonly 13 | endfunction 14 | 15 | function! s:suite.doautoall() 16 | tabnew 17 | tabnew 18 | tabprevious 19 | doautoall WinEnter 20 | let statusline = getwinvar(1, '&statusline') 21 | call s:assert.match(statusline, 'lightline') 22 | call s:assert.match(statusline, '_active_') 23 | endfunction 24 | -------------------------------------------------------------------------------- /sources_non_forked/tlib/autoload/tlib/TestChild.vim: -------------------------------------------------------------------------------- 1 | " @Author: Tom Link (micathom AT gmail com?subject=[vim]) 2 | " @Website: http://www.vim.org/account/profile.php?user_id=4037 3 | " @License: GPL (see http://www.gnu.org/licenses/gpl.txt) 4 | " @Revision: 15 5 | 6 | " :enddoc: 7 | 8 | 9 | let s:prototype = tlib#Test#New({'_class': ['TestChild']}) "{{{2 10 | function! tlib#TestChild#New(...) "{{{3 11 | let object = s:prototype.New(a:0 >= 1 ? a:1 : {}) 12 | return object 13 | endf 14 | 15 | 16 | function! s:prototype.Dummy() dict "{{{3 17 | return 'TestChild.vim' 18 | endf 19 | 20 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snipmate/addon-info.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "snipMate", 3 | "version" : "dev", 4 | "author" : "Michael Sanders -> original project http://github.com/msanders/snipmate.vim", 5 | "maintainer" : "Rok Garbas / Marc Weber", 6 | "repository" : {"type": "git", "url": "git://github.com/garbas/vim-snipmate.git"}, 7 | "dependencies" : { 8 | "vim-addon-mw-utils": {}, 9 | "tlib": {} 10 | }, 11 | "description" : "snipMate.vim aims to be a concise vim script that implements some of TextMate's snippets features in Vim. See README.md to learn about the features this fork adds" 12 | } 13 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/snippets/reason.snippets: -------------------------------------------------------------------------------- 1 | snippet doc 2 | /* 3 | ${0} 4 | */ 5 | snippet let 6 | let ${1} = ${0}; 7 | snippet fn 8 | let ${1} = (${2}) => { 9 | ${0} 10 | }; 11 | snippet fun 12 | fun ${1} => ${0} 13 | snippet ty 14 | type ${1} = ${0}; 15 | snippet mod 16 | module ${1} = { 17 | ${0} 18 | }; 19 | snippet modty 20 | module type ${1} = { 21 | ${0} 22 | }; 23 | snippet sw 24 | switch (${1}) { 25 | | ${2} => ${0} 26 | } 27 | snippet | 28 | | ${1} => ${0} 29 | snippet p 30 | |> ${0} 31 | snippet if 32 | if (${1}) { 33 | ${2} 34 | } else { 35 | ${0} 36 | } 37 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/scala/scalac.vim: -------------------------------------------------------------------------------- 1 | " Author: Zoltan Kalmar - https://github.com/kalmiz, 2 | " w0rp 3 | " Description: Basic scala support using scalac 4 | 5 | function! s:IsSbt(buffer) abort 6 | return index(split(getbufvar(a:buffer, '&filetype'), '\.'), 'sbt') >= 0 7 | endfunction 8 | 9 | call ale#linter#Define('scala', { 10 | \ 'name': 'scalac', 11 | \ 'executable': {buf -> s:IsSbt(buf) ? '' : 'scalac'}, 12 | \ 'command': '%e -Ystop-after:parser %t', 13 | \ 'callback': 'ale#handlers#scala#HandleScalacLintFormat', 14 | \ 'output_stream': 'stderr', 15 | \}) 16 | -------------------------------------------------------------------------------- /sources_non_forked/vim-yankstack/Gemfile.lock: -------------------------------------------------------------------------------- 1 | GIT 2 | remote: git@github.com:maxbrunsfeld/vimbot.git 3 | revision: 489cb3283a89d3e7891d9d9765188179c764317b 4 | specs: 5 | vimbot (0.0.1) 6 | 7 | GEM 8 | remote: https://rubygems.org/ 9 | specs: 10 | diff-lcs (1.1.3) 11 | rspec (2.8.0) 12 | rspec-core (~> 2.8.0) 13 | rspec-expectations (~> 2.8.0) 14 | rspec-mocks (~> 2.8.0) 15 | rspec-core (2.8.0) 16 | rspec-expectations (2.8.0) 17 | diff-lcs (~> 1.1.2) 18 | rspec-mocks (2.8.0) 19 | 20 | PLATFORMS 21 | ruby 22 | 23 | DEPENDENCIES 24 | rspec 25 | vimbot! 26 | -------------------------------------------------------------------------------- /sources_non_forked/vim-markdown/test/indent.md: -------------------------------------------------------------------------------- 1 | 1. Confirm indent with new line insert after list items 2 | 3 | '\' is not list item. 4 | \ foo 5 | 6 | If only space and three '*' or '-' character are in the line, 7 | this line means horizontal item. 8 | If current line is below horizontal item, it need not to indent. 9 | Following example is horizontal item. 10 | 11 | --- 12 | *** 13 | - - - 14 | * * * 15 | 16 | And list item must be specified space after [*-+]. 17 | Following example is list item. 18 | 19 | * foo 20 | - bar 21 | + baz 22 | 23 | But following example is not list item. 24 | *foo 25 | -bar 26 | +baz 27 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/gofmt.vim: -------------------------------------------------------------------------------- 1 | " Author: aliou 2 | " Description: Integration of gofmt with ALE. 3 | 4 | call ale#Set('go_gofmt_executable', 'gofmt') 5 | call ale#Set('go_gofmt_options', '') 6 | 7 | function! ale#fixers#gofmt#Fix(buffer) abort 8 | let l:executable = ale#Var(a:buffer, 'go_gofmt_executable') 9 | let l:options = ale#Var(a:buffer, 'go_gofmt_options') 10 | let l:env = ale#go#EnvString(a:buffer) 11 | 12 | return { 13 | \ 'command': l:env . ale#Escape(l:executable) 14 | \ . (empty(l:options) ? '' : ' ' . l:options) 15 | \} 16 | endfunction 17 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/nimpretty.vim: -------------------------------------------------------------------------------- 1 | " Author: Nhan 2 | " Description: Integration of nimpretty with ALE. 3 | 4 | call ale#Set('nim_nimpretty_executable', 'nimpretty') 5 | call ale#Set('nim_nimpretty_options', '--maxLineLen:80') 6 | 7 | function! ale#fixers#nimpretty#Fix(buffer) abort 8 | let l:executable = ale#Var(a:buffer, 'nim_nimpretty_executable') 9 | let l:options = ale#Var(a:buffer, 'nim_nimpretty_options') 10 | 11 | return { 12 | \ 'command': ale#Escape(l:executable) . ' %t' . ale#Pad(l:options), 13 | \ 'read_temporary_file': 1, 14 | \} 15 | endfunction 16 | -------------------------------------------------------------------------------- /sources_non_forked/dracula/after/syntax/plantuml.vim: -------------------------------------------------------------------------------- 1 | if dracula#should_abort('plantuml') 2 | finish 3 | endif 4 | 5 | hi! link plantumlClassPrivate SpecialKey 6 | hi! link plantumlClassProtected DraculaOrange 7 | hi! link plantumlClassPublic Function 8 | hi! link plantumlColonLine String 9 | hi! link plantumlDirectedOrVerticalArrowLR Constant 10 | hi! link plantumlDirectedOrVerticalArrowRL Constant 11 | hi! link plantumlHorizontalArrow Constant 12 | hi! link plantumlSkinParamKeyword DraculaCyan 13 | hi! link plantumlTypeKeyword Keyword 14 | -------------------------------------------------------------------------------- /sources_non_forked/vim-gitgutter/test/test: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | VIM="/Applications/MacVim.app/Contents/MacOS/Vim -v" 4 | 5 | export VIM_GITGUTTER_TEST=1 6 | 7 | $VIM -u NONE -U NONE -N \ 8 | --cmd 'set rtp+=../' \ 9 | --cmd 'let g:gitgutter_async=0' \ 10 | --cmd 'source ../plugin/gitgutter.vim' \ 11 | -S runner.vim \ 12 | test_*.vim \ 13 | "$@" 14 | 15 | cat messages.log 16 | 17 | grep -q "0 errors, 0 failures" messages.log 18 | status=$? 19 | rm messages.log 20 | exit $status 21 | 22 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/UltiSnips/snippets.snippets: -------------------------------------------------------------------------------- 1 | priority -50 2 | 3 | # We use a little hack so that the snippet is expanded 4 | # and parsed correctly 5 | snippet usnip "Ultisnips snippet definition" b 6 | `!p snip.rv = "snippet"` ${1:Tab_trigger} "${2:Description}" ${3:b} 7 | ${0:${VISUAL}} 8 | `!p snip.rv = "endsnippet"` 9 | endsnippet 10 | 11 | snippet global "Global snippet" b 12 | `!p snip.rv = "global"` !p 13 | ${0:${VISUAL}} 14 | `!p snip.rv = "endglobal"` 15 | endsnippet 16 | 17 | snippet vis "${VISUAL}" i 18 | \$\{VISUAL${1:${2:default}${3:/transform/}}\} 19 | endsnippet 20 | 21 | # vim:ft=snippets: 22 | -------------------------------------------------------------------------------- /sources_non_forked/ale/doc/ale-bats.txt: -------------------------------------------------------------------------------- 1 | =============================================================================== 2 | ALE Bats Integration *ale-bats-options* 3 | 4 | 5 | =============================================================================== 6 | shellcheck *ale-bats-shellcheck* 7 | 8 | The `shellcheck` linter for Bats uses the sh options for `shellcheck`; see: 9 | |ale-sh-shellcheck|. 10 | 11 | 12 | =============================================================================== 13 | vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: 14 | -------------------------------------------------------------------------------- /sources_non_forked/dracula/after/syntax/css.vim: -------------------------------------------------------------------------------- 1 | if dracula#should_abort('css') 2 | finish 3 | endif 4 | 5 | hi! link cssAttrComma Delimiter 6 | hi! link cssAttrRegion DraculaPink 7 | hi! link cssAttributeSelector DraculaGreenItalic 8 | hi! link cssBraces Delimiter 9 | hi! link cssFunctionComma Delimiter 10 | hi! link cssNoise DraculaPink 11 | hi! link cssProp DraculaCyan 12 | hi! link cssPseudoClass DraculaPink 13 | hi! link cssPseudoClassId DraculaGreenItalic 14 | hi! link cssUnitDecorators DraculaPink 15 | hi! link cssVendor DraculaGreenItalic 16 | -------------------------------------------------------------------------------- /sources_non_forked/rust.vim/test/coverage.vader: -------------------------------------------------------------------------------- 1 | Given rust (Some Rust code): 2 | fn main() { 3 | println!("Hello World\n") 4 | } 5 | 6 | Execute (RustInfo - call it to see that it works): 7 | redir => m 8 | silent RustInfo 9 | redir END 10 | Log m 11 | 12 | Execute (RustEmitAsm - see that we actually get assembly output): 13 | silent! w test.rs 14 | silent! e! test.rs 15 | redir => m 16 | silent! RustEmitAsm 17 | redir END 18 | AssertEqual 'asm', &filetype 19 | normal! ggVGy:q 20 | AssertEqual 1,(@" =~# '\V.section') 21 | bd 22 | call delete('test.rs') 23 | 24 | # TODO: a lot more tests 25 | -------------------------------------------------------------------------------- /sources_non_forked/vim-ruby/spec/indent/arguments_spec.rb: -------------------------------------------------------------------------------- 1 | require 'spec_helper' 2 | 3 | describe "Indenting" do 4 | specify "multi-line arguments" do 5 | assert_correct_indenting <<~EOF 6 | User.new( 7 | :first_name => 'Some', 8 | :second_name => 'Guy' 9 | ) 10 | EOF 11 | 12 | assert_correct_indenting <<~EOF 13 | User.new(:first_name => 'Some', 14 | :second_name => 'Guy') 15 | EOF 16 | 17 | assert_correct_indenting <<~EOF 18 | User.new( 19 | :first_name => 'Some', 20 | :second_name => 'Guy' 21 | ) 22 | EOF 23 | end 24 | end 25 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/yang/yang_lsp.vim: -------------------------------------------------------------------------------- 1 | call ale#Set('yang_lsp_executable', 'yang-language-server') 2 | 3 | function! ale_linters#yang#yang_lsp#GetProjectRoot(buffer) abort 4 | let l:project_root = ale#path#FindNearestFile(a:buffer, 'yang.settings') 5 | 6 | return !empty(l:project_root) ? fnamemodify(l:project_root, ':h') : '' 7 | endfunction 8 | 9 | call ale#linter#Define('yang', { 10 | \ 'name': 'yang_lsp', 11 | \ 'lsp': 'stdio', 12 | \ 'executable': {b -> ale#Var(b, 'yang_lsp_executable')}, 13 | \ 'project_root': function('ale_linters#yang#yang_lsp#GetProjectRoot'), 14 | \ 'command': '%e', 15 | \}) 16 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/gnatpp.vim: -------------------------------------------------------------------------------- 1 | " Author: tim 2 | " Description: Fix files with gnatpp. 3 | 4 | call ale#Set('ada_gnatpp_executable', 'gnatpp') 5 | call ale#Set('ada_gnatpp_options', '') 6 | 7 | function! ale#fixers#gnatpp#Fix(buffer) abort 8 | let l:executable = ale#Var(a:buffer, 'ada_gnatpp_executable') 9 | let l:options = ale#Var(a:buffer, 'ada_gnatpp_options') 10 | 11 | return { 12 | \ 'command': ale#Escape(l:executable) 13 | \ . (!empty(l:options) ? ' ' . l:options : '') 14 | \ . ' %t', 15 | \ 'read_temporary_file': 1, 16 | \} 17 | endfunction 18 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/lua_format.vim: -------------------------------------------------------------------------------- 1 | " Author: Mathias Jean Johansen 2 | " Description: Integration of LuaFormatter with ALE. 3 | 4 | call ale#Set('lua_lua_format_executable', 'lua-format') 5 | call ale#Set('lua_lua_format_options', '') 6 | 7 | function! ale#fixers#lua_format#Fix(buffer) abort 8 | let l:executable = ale#Var(a:buffer, 'lua_lua_format_executable') 9 | let l:options = ale#Var(a:buffer, 'lua_lua_format_options') 10 | 11 | return { 12 | \ 'command': ale#Escape(l:executable) 13 | \ . ale#Pad(l:options) 14 | \ . ' -i', 15 | \} 16 | endfunction 17 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/pandoc.vim: -------------------------------------------------------------------------------- 1 | scriptencoding utf-8 2 | " Author: Jesse Hathaway 3 | " Description: Fix markdown files with pandoc. 4 | 5 | call ale#Set('markdown_pandoc_executable', 'pandoc') 6 | call ale#Set('markdown_pandoc_options', '-f gfm -t gfm -s -') 7 | 8 | function! ale#fixers#pandoc#Fix(buffer) abort 9 | let l:executable = ale#Var(a:buffer, 'markdown_pandoc_executable') 10 | let l:options = ale#Var(a:buffer, 'markdown_pandoc_options') 11 | 12 | return { 13 | \ 'command': ale#Escape(l:executable) 14 | \ . ' ' . l:options, 15 | \} 16 | endfunction 17 | -------------------------------------------------------------------------------- /sources_non_forked/dracula/after/syntax/ruby.vim: -------------------------------------------------------------------------------- 1 | if dracula#should_abort('ruby') 2 | finish 3 | endif 4 | 5 | if ! exists('g:ruby_operators') 6 | let g:ruby_operators=1 7 | endif 8 | 9 | hi! link rubyBlockArgument DraculaOrangeItalic 10 | hi! link rubyBlockParameter DraculaOrangeItalic 11 | hi! link rubyCurlyBlock DraculaPink 12 | hi! link rubyGlobalVariable DraculaPurple 13 | hi! link rubyInstanceVariable DraculaPurpleItalic 14 | hi! link rubyInterpolationDelimiter DraculaPink 15 | hi! link rubyRegexpDelimiter DraculaRed 16 | hi! link rubyStringDelimiter DraculaYellow 17 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/haskell/ghc.vim: -------------------------------------------------------------------------------- 1 | " Author: w0rp 2 | " Description: ghc for Haskell files 3 | 4 | call ale#Set('haskell_ghc_options', '-fno-code -v0') 5 | 6 | function! ale_linters#haskell#ghc#GetCommand(buffer) abort 7 | return 'ghc ' 8 | \ . ale#Var(a:buffer, 'haskell_ghc_options') 9 | \ . ' %t' 10 | endfunction 11 | 12 | call ale#linter#Define('haskell', { 13 | \ 'name': 'ghc', 14 | \ 'output_stream': 'stderr', 15 | \ 'executable': 'ghc', 16 | \ 'command': function('ale_linters#haskell#ghc#GetCommand'), 17 | \ 'callback': 'ale#handlers#haskell#HandleGHCFormat', 18 | \}) 19 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/dfmt.vim: -------------------------------------------------------------------------------- 1 | " Author: theoldmoon0602 2 | " Description: Integration of dfmt with ALE. 3 | 4 | call ale#Set('d_dfmt_executable', 'dfmt') 5 | call ale#Set('d_dfmt_options', '') 6 | 7 | function! ale#fixers#dfmt#Fix(buffer) abort 8 | let l:executable = ale#Var(a:buffer, 'd_dfmt_executable') 9 | let l:options = ale#Var(a:buffer, 'd_dfmt_options') 10 | 11 | return { 12 | \ 'command': ale#Escape(l:executable) 13 | \ . ' -i' 14 | \ . (empty(l:options) ? '' : ' ' . l:options) 15 | \ . ' %t', 16 | \ 'read_temporary_file': 1, 17 | \} 18 | endfunction 19 | -------------------------------------------------------------------------------- /sources_non_forked/dracula/after/syntax/lua.vim: -------------------------------------------------------------------------------- 1 | if dracula#should_abort('lua') 2 | finish 3 | endif 4 | 5 | hi! link luaFunc DraculaCyan 6 | hi! link luaTable DraculaFg 7 | 8 | " tbastos/vim-lua {{{ 9 | 10 | hi! link luaBraces DraculaFg 11 | hi! link luaBuiltIn Constant 12 | hi! link luaDocTag Keyword 13 | hi! link luaErrHand DraculaCyan 14 | hi! link luaFuncArgName DraculaOrangeItalic 15 | hi! link luaFuncCall Function 16 | hi! link luaLocal Keyword 17 | hi! link luaSpecialTable Constant 18 | hi! link luaSpecialValue DraculaCyan 19 | 20 | " }}} 21 | 22 | " vim: fdm=marker ts=2 sts=2 sw=2 fdl=0: 23 | -------------------------------------------------------------------------------- /sources_non_forked/vim-ruby/spec/syntax/blocks_spec.rb: -------------------------------------------------------------------------------- 1 | require 'spec_helper' 2 | 3 | describe "Syntax highlighting" do 4 | specify "block parameters" do 5 | assert_correct_highlighting <<~'EOF', 'bar', 'rubySymbol' 6 | foo { |bar:| 42 } 7 | EOF 8 | assert_correct_highlighting <<~'EOF', %w[bar\ze: baz\ze:], 'rubySymbol' 9 | foo { |bar: 'bar', baz: 'baz'| 42 } 10 | EOF 11 | end 12 | specify "block parameters with default values including '|'" do 13 | assert_correct_highlighting <<~'EOF', %w[|\zebar qux)\zs|], 'rubyBlockParameterList' 14 | foo { |bar=(baz|qux)| 42 } 15 | EOF 16 | end 17 | end 18 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/json/spectral.vim: -------------------------------------------------------------------------------- 1 | " Author: t2h5 2 | " Description: Integration of Stoplight Spectral CLI with ALE. 3 | 4 | call ale#Set('json_spectral_executable', 'spectral') 5 | call ale#Set('json_spectral_use_global', get(g:, 'ale_use_global_executables', 0)) 6 | 7 | call ale#linter#Define('json', { 8 | \ 'name': 'spectral', 9 | \ 'executable': {b -> ale#path#FindExecutable(b, 'json_spectral', [ 10 | \ 'node_modules/.bin/spectral', 11 | \ ])}, 12 | \ 'command': '%e lint --ignore-unknown-format -q -f text %t', 13 | \ 'callback': 'ale#handlers#spectral#HandleSpectralOutput' 14 | \}) 15 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/yaml/spectral.vim: -------------------------------------------------------------------------------- 1 | " Author: t2h5 2 | " Description: Integration of Stoplight Spectral CLI with ALE. 3 | 4 | call ale#Set('yaml_spectral_executable', 'spectral') 5 | call ale#Set('yaml_spectral_use_global', get(g:, 'ale_use_global_executables', 0)) 6 | 7 | call ale#linter#Define('yaml', { 8 | \ 'name': 'spectral', 9 | \ 'executable': {b -> ale#path#FindExecutable(b, 'yaml_spectral', [ 10 | \ 'node_modules/.bin/spectral', 11 | \ ])}, 12 | \ 'command': '%e lint --ignore-unknown-format -q -f text %t', 13 | \ 'callback': 'ale#handlers#spectral#HandleSpectralOutput' 14 | \}) 15 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/bibclean.vim: -------------------------------------------------------------------------------- 1 | " Author: Horacio Sanson - https://github.com/hsanson 2 | " Description: Support for bibclean fixer for BibTeX files. 3 | 4 | call ale#Set('bib_bibclean_executable', 'bibclean') 5 | call ale#Set('bib_bibclean_options', '-align-equals') 6 | 7 | function! ale#fixers#bibclean#Fix(buffer) abort 8 | let l:options = ale#Var(a:buffer, 'bib_bibclean_options') 9 | let l:executable = ale#Var(a:buffer, 'bib_bibclean_executable') 10 | 11 | return { 12 | \ 'command': ale#Escape(l:executable) 13 | \ . ' ' . (empty(l:options) ? '' : l:options), 14 | \} 15 | endfunction 16 | -------------------------------------------------------------------------------- /sources_non_forked/vim-python-pep8-indent/spec/make-coverage: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -ex 4 | 5 | rm -f .coverage_covimerage 6 | export PYTHON_PEP8_INDENT_TEST_PROFILE_BASE=/tmp/vim-python-pep8-profile 7 | 8 | Xvfb :99 2>/dev/null >&2 & 9 | export DISPLAY=:99 10 | 11 | export VIMRUNNER_REUSE_SERVER=1 12 | 13 | ret=0 14 | for file in ./spec/indent/*_spec.rb; do 15 | # shellcheck disable=SC2086 16 | bundle exec rspec "$file" $RSPEC_OPTIONS || ret=1 17 | 18 | for p in "${PYTHON_PEP8_INDENT_TEST_PROFILE_BASE}".*; do 19 | covimerage write_coverage --append "$p" 20 | rm "$p" 21 | covimerage report -m 22 | done 23 | done 24 | exit $ret 25 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/json/eslint.vim: -------------------------------------------------------------------------------- 1 | " Author: João Pesce 2 | " Description: eslint for JSON files. 3 | " 4 | " Requires eslint-plugin-jsonc or a similar plugin to work 5 | " 6 | " Uses the same funtcions as ale_linters/javascript/eslint.vim by w0rp 7 | " 8 | 9 | call ale#linter#Define('json', { 10 | \ 'name': 'eslint', 11 | \ 'output_stream': 'both', 12 | \ 'executable': function('ale#handlers#eslint#GetExecutable'), 13 | \ 'cwd': function('ale#handlers#eslint#GetCwd'), 14 | \ 'command': function('ale#handlers#eslint#GetCommand'), 15 | \ 'callback': 'ale#handlers#eslint#HandleJSON', 16 | \}) 17 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/ocaml/ols.vim: -------------------------------------------------------------------------------- 1 | " Author: Michael Jungo 2 | " Description: A language server for OCaml 3 | 4 | call ale#Set('ocaml_ols_executable', 'ocaml-language-server') 5 | call ale#Set('ocaml_ols_use_global', get(g:, 'ale_use_global_executables', 0)) 6 | 7 | call ale#linter#Define('ocaml', { 8 | \ 'name': 'ols', 9 | \ 'lsp': 'stdio', 10 | \ 'executable': function('ale#handlers#ols#GetExecutable'), 11 | \ 'command': function('ale#handlers#ols#GetCommand'), 12 | \ 'language': function('ale#handlers#ols#GetLanguage'), 13 | \ 'project_root': function('ale#handlers#ols#GetProjectRoot'), 14 | \}) 15 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/json5/eslint.vim: -------------------------------------------------------------------------------- 1 | " Author: João Pesce 2 | " Description: eslint for JSON5 files. 3 | " 4 | " Requires eslint-plugin-jsonc or a similar plugin to work 5 | " 6 | " Uses the same funtcions as ale_linters/javascript/eslint.vim by w0rp 7 | " 8 | 9 | call ale#linter#Define('json5', { 10 | \ 'name': 'eslint', 11 | \ 'output_stream': 'both', 12 | \ 'executable': function('ale#handlers#eslint#GetExecutable'), 13 | \ 'cwd': function('ale#handlers#eslint#GetCwd'), 14 | \ 'command': function('ale#handlers#eslint#GetCommand'), 15 | \ 'callback': 'ale#handlers#eslint#HandleJSON', 16 | \}) 17 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/jsonc/eslint.vim: -------------------------------------------------------------------------------- 1 | " Author: João Pesce 2 | " Description: eslint for JSONC files. 3 | " 4 | " Requires eslint-plugin-jsonc or a similar plugin to work 5 | " 6 | " Uses the same funtcions as ale_linters/javascript/eslint.vim by w0rp 7 | " 8 | 9 | call ale#linter#Define('jsonc', { 10 | \ 'name': 'eslint', 11 | \ 'output_stream': 'both', 12 | \ 'executable': function('ale#handlers#eslint#GetExecutable'), 13 | \ 'cwd': function('ale#handlers#eslint#GetCwd'), 14 | \ 'command': function('ale#handlers#eslint#GetCommand'), 15 | \ 'callback': 'ale#handlers#eslint#HandleJSON', 16 | \}) 17 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/pony/ponyc.vim: -------------------------------------------------------------------------------- 1 | " Description: ponyc linter for pony files 2 | 3 | call ale#Set('pony_ponyc_executable', 'ponyc') 4 | call ale#Set('pony_ponyc_options', '--pass paint') 5 | 6 | function! ale_linters#pony#ponyc#GetCommand(buffer) abort 7 | return '%e' . ale#Pad(ale#Var(a:buffer, 'pony_ponyc_options')) 8 | endfunction 9 | 10 | call ale#linter#Define('pony', { 11 | \ 'name': 'ponyc', 12 | \ 'output_stream': 'stderr', 13 | \ 'executable': {b -> ale#Var(b, 'pony_ponyc_executable')}, 14 | \ 'command': function('ale_linters#pony#ponyc#GetCommand'), 15 | \ 'callback': 'ale#handlers#pony#HandlePonycFormat', 16 | \}) 17 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/reason/ols.vim: -------------------------------------------------------------------------------- 1 | " Author: Michael Jungo 2 | " Description: A language server for Reason 3 | 4 | call ale#Set('reason_ols_executable', 'ocaml-language-server') 5 | call ale#Set('reason_ols_use_global', get(g:, 'ale_use_global_executables', 0)) 6 | 7 | call ale#linter#Define('reason', { 8 | \ 'name': 'ols', 9 | \ 'lsp': 'stdio', 10 | \ 'executable': function('ale#handlers#ols#GetExecutable'), 11 | \ 'command': function('ale#handlers#ols#GetCommand'), 12 | \ 'language': function('ale#handlers#ols#GetLanguage'), 13 | \ 'project_root': function('ale#handlers#ols#GetProjectRoot'), 14 | \}) 15 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/ptop.vim: -------------------------------------------------------------------------------- 1 | " Author: BarrOff https://github.com/BarrOff 2 | " Description: Integration of ptop with ALE. 3 | 4 | call ale#Set('pascal_ptop_executable', 'ptop') 5 | call ale#Set('pascal_ptop_options', '') 6 | 7 | function! ale#fixers#ptop#Fix(buffer) abort 8 | let l:executable = ale#Var(a:buffer, 'pascal_ptop_executable') 9 | let l:options = ale#Var(a:buffer, 'pascal_ptop_options') 10 | 11 | return { 12 | \ 'command': ale#Escape(l:executable) 13 | \ . (empty(l:options) ? '' : ' ' . l:options) 14 | \ . ' %s %t', 15 | \ 'read_temporary_file': 1, 16 | \} 17 | endfunction 18 | -------------------------------------------------------------------------------- /sources_non_forked/rust.vim/autoload/rust/tags.vim: -------------------------------------------------------------------------------- 1 | " Tagbar support code, for the sake of not automatically overriding its 2 | " configuration in case Universal Ctags is detected. 3 | 4 | let s:ctags_is_uctags = 0 5 | let s:checked_ctags = 0 6 | 7 | function! rust#tags#IsUCtags() abort 8 | if s:checked_ctags == 0 9 | let l:ctags_bin = get(g:, 'tagbar_ctags_bin', 'ctags') 10 | if system(l:ctags_bin.' --version') =~? 'universal ctags' 11 | let s:ctags_is_uctags = 1 12 | endif 13 | let s:checked_ctags = 1 14 | endif 15 | return s:ctags_is_uctags 16 | endfunction 17 | 18 | " vim: set et sw=4 sts=4 ts=8: 19 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/appleswiftformat.vim: -------------------------------------------------------------------------------- 1 | " Author: (bosr) 2 | " Description: Integration of apple/swift-format formatter with ALE. 3 | 4 | function! ale#fixers#appleswiftformat#Fix(buffer) abort 5 | let l:command_args = ale#swift#GetAppleSwiftFormatCommand(a:buffer) . ' format --in-place %t' 6 | let l:config_args = ale#swift#GetAppleSwiftFormatConfigArgs(a:buffer) 7 | 8 | if l:config_args isnot# '' 9 | let l:command_args = l:command_args . ' ' . l:config_args 10 | endif 11 | 12 | return { 13 | \ 'read_temporary_file': 1, 14 | \ 'command': l:command_args, 15 | \} 16 | endfunction 17 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/cmakeformat.vim: -------------------------------------------------------------------------------- 1 | " Author: Attila Maczak 2 | " Description: Integration of cmakeformat with ALE. 3 | 4 | call ale#Set('cmake_cmakeformat_executable', 'cmake-format') 5 | call ale#Set('cmake_cmakeformat_options', '') 6 | 7 | function! ale#fixers#cmakeformat#Fix(buffer) abort 8 | let l:executable = ale#Var(a:buffer, 'cmake_cmakeformat_executable') 9 | let l:options = ale#Var(a:buffer, 'cmake_cmakeformat_options') 10 | 11 | return { 12 | \ 'command': ale#Escape(l:executable) 13 | \ . (empty(l:options) ? '' : ' ' . l:options) 14 | \ . ' -' 15 | \} 16 | endfunction 17 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/terraform.vim: -------------------------------------------------------------------------------- 1 | " Author: dsifford 2 | " Description: Fixer for terraform and .hcl files 3 | 4 | call ale#Set('terraform_fmt_executable', 'terraform') 5 | call ale#Set('terraform_fmt_options', '') 6 | 7 | function! ale#fixers#terraform#Fix(buffer) abort 8 | let l:executable = ale#Var(a:buffer, 'terraform_fmt_executable') 9 | let l:options = ale#Var(a:buffer, 'terraform_fmt_options') 10 | 11 | return { 12 | \ 'command': ale#Escape(l:executable) 13 | \ . ' fmt' 14 | \ . (empty(l:options) ? '' : ' ' . l:options) 15 | \ . ' -' 16 | \} 17 | endfunction 18 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/handlers/tslint.vim: -------------------------------------------------------------------------------- 1 | function! ale#handlers#tslint#InitVariables() abort 2 | call ale#Set('typescript_tslint_executable', 'tslint') 3 | call ale#Set('typescript_tslint_config_path', '') 4 | call ale#Set('typescript_tslint_rules_dir', '') 5 | call ale#Set('typescript_tslint_use_global', get(g:, 'ale_use_global_executables', 0)) 6 | call ale#Set('typescript_tslint_ignore_empty_files', 0) 7 | endfunction 8 | 9 | function! ale#handlers#tslint#GetExecutable(buffer) abort 10 | return ale#path#FindExecutable(a:buffer, 'typescript_tslint', [ 11 | \ 'node_modules/.bin/tslint', 12 | \]) 13 | endfunction 14 | -------------------------------------------------------------------------------- /sources_non_forked/vim-bundle-mako/ftplugin/mako.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: Mako 3 | " Maintainer: Randy Stauner 4 | " Last Change: 2019-09-06 5 | " Version: 0.2 6 | 7 | if exists("b:did_ftplugin") | finish | endif 8 | let b:did_ftplugin = 1 9 | 10 | setlocal comments=:## 11 | setlocal commentstring=##%s 12 | 13 | if exists("loaded_matchit") 14 | let b:match_ignorecase = 1 15 | let b:match_words = "<:>," . 16 | \ "<\@<=[ou]l\>[^>]*\%(>\|$\):<\@<=li\>:<\@<=/[ou]l>," . 17 | \ "<\@<=dl\>[^>]*\%(>\|$\):<\@<=d[td]\>:<\@<=/dl>," . 18 | \ "<\@<=\([^/][^ \t>]*\)[^>]*\%(>\|$\):<\@<=/\1>" 19 | endif 20 | -------------------------------------------------------------------------------- /sources_non_forked/vim-ruby/spec/vim/plugin/syntax_test.vim: -------------------------------------------------------------------------------- 1 | 2 | let s:debug = 0 3 | 4 | function! s:CursorHasGroup(group) abort 5 | return synIDattr(synID(line('.'), col('.'), 1), 'name') =~ a:group 6 | endfunction 7 | 8 | function! TestSyntax(pattern, group) abort 9 | let pattern = '\C' . a:pattern 10 | call cursor(1, 1) 11 | redraw 12 | let start_match = search(pattern, 'c') && s:CursorHasGroup(a:group) 13 | if s:debug 14 | redraw | sleep 500m 15 | endif 16 | let end_match = search(pattern, 'e') && s:CursorHasGroup(a:group) 17 | if s:debug 18 | redraw | sleep 500m 19 | endif 20 | return start_match && end_match 21 | endfunction 22 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/latexindent.vim: -------------------------------------------------------------------------------- 1 | " Author: riley-martine 2 | " Description: Integration of latexindent with ALE. 3 | 4 | call ale#Set('tex_latexindent_executable', 'latexindent') 5 | call ale#Set('tex_latexindent_options', '') 6 | 7 | function! ale#fixers#latexindent#Fix(buffer) abort 8 | let l:executable = ale#Var(a:buffer, 'tex_latexindent_executable') 9 | let l:options = ale#Var(a:buffer, 'tex_latexindent_options') 10 | 11 | return { 12 | \ 'command': ale#Escape(l:executable) 13 | \ . ' -l' 14 | \ . (empty(l:options) ? '' : ' ' . l:options) 15 | \} 16 | endfunction 17 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/styler.vim: -------------------------------------------------------------------------------- 1 | " Author: tvatter 2 | " Description: Fixing R files with styler. 3 | 4 | call ale#Set('r_styler_executable', 'Rscript') 5 | call ale#Set('r_styler_options', 'tidyverse_style()') 6 | 7 | function! ale#fixers#styler#Fix(buffer) abort 8 | return { 9 | \ 'command': 'Rscript --vanilla -e ' 10 | \ . '"suppressPackageStartupMessages(library(styler));' 11 | \ . 'style_file(commandArgs(TRUE), transformers = ' 12 | \ . ale#Var(a:buffer, 'r_styler_options') . ')"' 13 | \ . ' %t', 14 | \ 'read_temporary_file': 1, 15 | \} 16 | endfunction 17 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ftplugin/ale-preview-selection.vim: -------------------------------------------------------------------------------- 1 | " Close the ALEPreviewWindow window with the q key. 2 | noremap q :q! 3 | " Disable some keybinds for the selection window. 4 | noremap v 5 | noremap i 6 | noremap I 7 | noremap 8 | noremap 9 | noremap 10 | noremap a 11 | noremap A 12 | noremap o 13 | noremap O 14 | " Keybinds for opening selection items. 15 | noremap :call ale#preview#OpenSelection() 16 | noremap t :call ale#preview#OpenSelectionInTab() 17 | -------------------------------------------------------------------------------- /sources_non_forked/dracula/after/syntax/tex.vim: -------------------------------------------------------------------------------- 1 | if dracula#should_abort('tex') 2 | finish 3 | endif 4 | 5 | hi! link texBeginEndName DraculaOrangeItalic 6 | hi! link texBoldItalStyle DraculaOrangeBoldItalic 7 | hi! link texBoldStyle DraculaOrangeBold 8 | hi! link texInputFile DraculaOrangeItalic 9 | hi! link texItalStyle DraculaYellowItalic 10 | hi! link texLigature DraculaPurple 11 | hi! link texMath DraculaPurple 12 | hi! link texMathMatcher DraculaPurple 13 | hi! link texMathSymbol DraculaPurple 14 | hi! link texSpecialChar DraculaPurple 15 | hi! link texSubscripts DraculaPurple 16 | hi! link texTitle DraculaFgBold 17 | -------------------------------------------------------------------------------- /sources_non_forked/lightline.vim/test/.themisrc: -------------------------------------------------------------------------------- 1 | let s:sids = {} 2 | function! s:sid(path) abort 3 | if has_key(s:sids, a:path) 4 | return s:sids[a:path] 5 | endif 6 | redir => scriptnames 7 | silent! scriptnames 8 | redir END 9 | for line in split(scriptnames, '\n') 10 | if line =~# a:path 11 | let sid = matchstr(line, '\v^\s*\zs\d+\ze') 12 | let s:sids[a:path] = sid 13 | return sid 14 | endif 15 | endfor 16 | endfunction 17 | 18 | function! SID(name) abort 19 | return function(printf("\%d_%s", s:sid('autoload/lightline.vim'), a:name)) 20 | endfunction 21 | 22 | filetype plugin on 23 | 24 | call lightline#init() 25 | -------------------------------------------------------------------------------- /sources_non_forked/lightline.vim/autoload/lightline/colorscheme/PaperColor.vim: -------------------------------------------------------------------------------- 1 | " ============================================================================= 2 | " Filename: autoload/lightline/colorscheme/PaperColor.vim 3 | " Author: TKNGUE 4 | " License: MIT License 5 | " Last Change: 2017/11/25 11:13:35. 6 | " ============================================================================= 7 | 8 | if lightline#colorscheme#background() ==# 'light' 9 | let g:lightline#colorscheme#PaperColor#palette = g:lightline#colorscheme#PaperColor_light#palette 10 | else 11 | let g:lightline#colorscheme#PaperColor#palette = g:lightline#colorscheme#PaperColor_dark#palette 12 | endif 13 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/snippets/kotlin.snippets: -------------------------------------------------------------------------------- 1 | snippet fun 2 | fun ${1:name}(${2}): ${3:String} { 3 | ${4} 4 | } 5 | snippet pfun 6 | private fun ${1:name}(${2}): ${3:String} { 7 | ${4} 8 | } 9 | snippet ret 10 | return ${0} 11 | snippet whe 12 | when (${1:${VISUAL}}) { 13 | ${2} -> ${3} 14 | } 15 | snippet cla 16 | class ${1} { 17 | ${0:${VISUAL}} 18 | } 19 | snippet cobj 20 | companion object { 21 | ${0:${VISUAL}} 22 | } 23 | snippet obj 24 | object ${1} { 25 | ${0:${VISUAL}} 26 | } 27 | snippet if 28 | if (${1}) { 29 | ${0:${VISUAL}} 30 | } 31 | snippet ife 32 | if (${1}) { 33 | ${2:${VISUAL}} 34 | } else { 35 | ${0} 36 | } 37 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/uncrustify.vim: -------------------------------------------------------------------------------- 1 | " Author: Derek P Sifford 2 | " Description: Fixer for C, C++, C#, ObjectiveC, D, Java, Pawn, and VALA. 3 | 4 | call ale#Set('c_uncrustify_executable', 'uncrustify') 5 | call ale#Set('c_uncrustify_options', '') 6 | 7 | function! ale#fixers#uncrustify#Fix(buffer) abort 8 | let l:executable = ale#Var(a:buffer, 'c_uncrustify_executable') 9 | let l:options = ale#Var(a:buffer, 'c_uncrustify_options') 10 | 11 | return { 12 | \ 'command': ale#Escape(l:executable) 13 | \ . ' --no-backup' 14 | \ . (empty(l:options) ? '' : ' ' . l:options) 15 | \} 16 | endfunction 17 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/snippets/ocaml.snippets: -------------------------------------------------------------------------------- 1 | snippet doc 2 | (** ${0} *) 3 | snippet comment 4 | (* ${0} *) 5 | snippet let 6 | let ${1} = ${2} in 7 | ${0} 8 | snippet fn 9 | let ${1} = 10 | ${0} 11 | snippet fun 12 | type ${1} = ${0} 13 | snippet mod 14 | module ${1} = struct 15 | ${0} 16 | end 17 | snippet modty 18 | module type ${1} = sig 19 | ${0} 20 | end 21 | snippet sw 22 | match ${1} with 23 | | ${2} -> ${0} 24 | snippet | 25 | | ${1} -> ${0} 26 | snippet p 27 | |> ${0} 28 | snippet if 29 | if ${1} then 30 | ${2} 31 | else 32 | ${0} 33 | snippet fnr 34 | let rec ${1} = 35 | ${0} 36 | snippet try 37 | try 38 | ${1} 39 | with ${0} 40 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/snippets/scheme.snippets: -------------------------------------------------------------------------------- 1 | snippet + 2 | (+ ${1} 3 | ${0}) 4 | 5 | snippet - 6 | (- ${1} 7 | ${0}) 8 | 9 | snippet / 10 | (/ ${1} 11 | ${0}) 12 | 13 | snippet * 14 | (* ${1} 15 | ${0}) 16 | 17 | # Definition 18 | snippet def 19 | (define (${1:name}) 20 | (${0:definition})) 21 | 22 | # Definition with lambda 23 | snippet defl 24 | (define ${1:name} 25 | (lambda (x)(${0:definition}))) 26 | 27 | # Condition 28 | snippet cond 29 | (cond ((${1:predicate}) (${2:action})) 30 | ((${3:predicate}) (${0:action}))) 31 | 32 | # If statement 33 | snippet if 34 | (if (${1:predicate}) 35 | (${2:true-action}) 36 | (${0:false-action})) 37 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/ocamlformat.vim: -------------------------------------------------------------------------------- 1 | " Author: Stephen Lumenta <@sbl> 2 | " Description: Integration of ocamlformat with ALE. 3 | 4 | call ale#Set('ocaml_ocamlformat_executable', 'ocamlformat') 5 | call ale#Set('ocaml_ocamlformat_options', '') 6 | 7 | function! ale#fixers#ocamlformat#Fix(buffer) abort 8 | let l:executable = ale#Var(a:buffer, 'ocaml_ocamlformat_executable') 9 | let l:options = ale#Var(a:buffer, 'ocaml_ocamlformat_options') 10 | 11 | return { 12 | \ 'command': ale#Escape(l:executable) 13 | \ . (empty(l:options) ? '' : ' ' . l:options) 14 | \ . ' --name=%s' 15 | \ . ' -' 16 | \} 17 | endfunction 18 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/c/ccls.vim: -------------------------------------------------------------------------------- 1 | " Author: Ye Jingchen , Ben Falconer , jtalowell 2 | " Description: A language server for C 3 | 4 | call ale#Set('c_ccls_executable', 'ccls') 5 | call ale#Set('c_ccls_init_options', {}) 6 | call ale#Set('c_build_dir', '') 7 | 8 | call ale#linter#Define('c', { 9 | \ 'name': 'ccls', 10 | \ 'lsp': 'stdio', 11 | \ 'executable': {b -> ale#Var(b, 'c_ccls_executable')}, 12 | \ 'command': '%e', 13 | \ 'project_root': function('ale#handlers#ccls#GetProjectRoot'), 14 | \ 'initialization_options': {b -> ale#handlers#ccls#GetInitOpts(b, 'c_ccls_init_options')}, 15 | \}) 16 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/dartfmt.vim: -------------------------------------------------------------------------------- 1 | " Author: reisub0 2 | " Description: Integration of dartfmt with ALE. 3 | 4 | call ale#Set('dart_dartfmt_executable', 'dartfmt') 5 | call ale#Set('dart_dartfmt_options', '') 6 | 7 | function! ale#fixers#dartfmt#Fix(buffer) abort 8 | let l:executable = ale#Var(a:buffer, 'dart_dartfmt_executable') 9 | let l:options = ale#Var(a:buffer, 'dart_dartfmt_options') 10 | 11 | return { 12 | \ 'command': ale#Escape(l:executable) 13 | \ . ' -w' 14 | \ . (empty(l:options) ? '' : ' ' . l:options) 15 | \ . ' %t', 16 | \ 'read_temporary_file': 1, 17 | \} 18 | endfunction 19 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/hackfmt.vim: -------------------------------------------------------------------------------- 1 | " Author: Sam Howie 2 | " Description: Integration of hackfmt with ALE. 3 | 4 | call ale#Set('hack_hackfmt_executable', 'hackfmt') 5 | call ale#Set('hack_hackfmt_options', '') 6 | 7 | function! ale#fixers#hackfmt#Fix(buffer) abort 8 | let l:executable = ale#Var(a:buffer, 'hack_hackfmt_executable') 9 | let l:options = ale#Var(a:buffer, 'hack_hackfmt_options') 10 | 11 | return { 12 | \ 'command': ale#Escape(l:executable) 13 | \ . ' -i' 14 | \ . (empty(l:options) ? '' : ' ' . l:options) 15 | \ . ' %t', 16 | \ 'read_temporary_file': 1, 17 | \} 18 | endfunction 19 | -------------------------------------------------------------------------------- /sources_non_forked/vim-ruby/Gemfile.lock: -------------------------------------------------------------------------------- 1 | GEM 2 | remote: http://rubygems.org/ 3 | specs: 4 | diff-lcs (1.3) 5 | rspec (3.5.0) 6 | rspec-core (~> 3.5.0) 7 | rspec-expectations (~> 3.5.0) 8 | rspec-mocks (~> 3.5.0) 9 | rspec-core (3.5.4) 10 | rspec-support (~> 3.5.0) 11 | rspec-expectations (3.5.0) 12 | diff-lcs (>= 1.2.0, < 2.0) 13 | rspec-support (~> 3.5.0) 14 | rspec-mocks (3.5.0) 15 | diff-lcs (>= 1.2.0, < 2.0) 16 | rspec-support (~> 3.5.0) 17 | rspec-support (3.5.0) 18 | vimrunner (0.3.0) 19 | 20 | PLATFORMS 21 | ruby 22 | 23 | DEPENDENCIES 24 | rspec 25 | vimrunner 26 | 27 | BUNDLED WITH 28 | 1.13.7 29 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snipmate/ftplugin/snippets.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin for SnipMate snippets (.snippets and .snippet files) 2 | 3 | if exists("b:did_ftplugin") 4 | finish 5 | endif 6 | let b:did_ftplugin = 1 7 | 8 | let b:undo_ftplugin = "setl et< sts< cms< fdm< fde<" 9 | 10 | " Use hard tabs 11 | setlocal noexpandtab softtabstop=0 12 | 13 | setlocal foldmethod=expr foldexpr=getline(v:lnum)!~'^\\t\\\\|^$'?'>1':1 14 | 15 | setlocal commentstring=#\ %s 16 | setlocal nospell 17 | 18 | command! -buffer -range=% RetabSnip 19 | \ echom "This command is deprecated. Use :retab and = instead. Doing that now." 20 | \ | ,retab! | ,normal = 21 | -------------------------------------------------------------------------------- /sources_non_forked/ack.vim/doc/ack_quick_help.txt: -------------------------------------------------------------------------------- 1 | ==== ack.vim quick help =============== 2 | 3 | *?:* a quick summary of these keys, repeat to close 4 | *o:* to open (same as Enter) 5 | *O:* to open and close the quickfix window 6 | *go:* to preview file, open but maintain focus on ack.vim results 7 | *t:* to open in new tab 8 | *T:* to open in new tab without moving to it 9 | *h:* to open in horizontal split 10 | *H:* to open in horizontal split, keeping focus on the results 11 | *v:* to open in vertical split 12 | *gv:* to open in vertical split, keeping focus on the results 13 | *q:* to close the quickfix window 14 | 15 | ======================================== 16 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/cpp/ccls.vim: -------------------------------------------------------------------------------- 1 | " Author: Ye Jingchen , Ben Falconer , jtalowell 2 | " Description: A language server for C++ 3 | 4 | call ale#Set('cpp_ccls_executable', 'ccls') 5 | call ale#Set('cpp_ccls_init_options', {}) 6 | call ale#Set('c_build_dir', '') 7 | 8 | call ale#linter#Define('cpp', { 9 | \ 'name': 'ccls', 10 | \ 'lsp': 'stdio', 11 | \ 'executable': {b -> ale#Var(b, 'cpp_ccls_executable')}, 12 | \ 'command': '%e', 13 | \ 'project_root': function('ale#handlers#ccls#GetProjectRoot'), 14 | \ 'initialization_options': {b -> ale#handlers#ccls#GetInitOpts(b, 'cpp_ccls_init_options')}, 15 | \}) 16 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/dart_format.vim: -------------------------------------------------------------------------------- 1 | " Author: ghsang 2 | " Description: Integration of dart format with ALE. 3 | 4 | call ale#Set('dart_format_executable', 'dart') 5 | call ale#Set('dart_format_options', '') 6 | 7 | function! ale#fixers#dart_format#Fix(buffer) abort 8 | let l:executable = ale#Var(a:buffer, 'dart_format_executable') 9 | let l:options = ale#Var(a:buffer, 'dart_format_options') 10 | 11 | return { 12 | \ 'command': ale#Escape(l:executable) 13 | \ . ' format' 14 | \ . (empty(l:options) ? '' : ' ' . l:options) 15 | \ . ' %t', 16 | \ 'read_temporary_file': 1, 17 | \} 18 | endfunction 19 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/perltidy.vim: -------------------------------------------------------------------------------- 1 | " Author: kfly8 2 | " Description: Integration of perltidy with ALE. 3 | 4 | call ale#Set('perl_perltidy_executable', 'perltidy') 5 | call ale#Set('perl_perltidy_options', '') 6 | 7 | function! ale#fixers#perltidy#Fix(buffer) abort 8 | let l:executable = ale#Var(a:buffer, 'perl_perltidy_executable') 9 | let l:options = ale#Var(a:buffer, 'perl_perltidy_options') 10 | 11 | return { 12 | \ 'command': ale#Escape(l:executable) 13 | \ . ' -b' 14 | \ . (empty(l:options) ? '' : ' ' . l:options) 15 | \ . ' %t', 16 | \ 'read_temporary_file': 1, 17 | \} 18 | endfunction 19 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/refmt.vim: -------------------------------------------------------------------------------- 1 | " Author: Ahmed El Gabri <@ahmedelgabri> 2 | " Description: Integration of refmt with ALE. 3 | 4 | call ale#Set('reasonml_refmt_executable', 'refmt') 5 | call ale#Set('reasonml_refmt_options', '') 6 | 7 | function! ale#fixers#refmt#Fix(buffer) abort 8 | let l:executable = ale#Var(a:buffer, 'reasonml_refmt_executable') 9 | let l:options = ale#Var(a:buffer, 'reasonml_refmt_options') 10 | 11 | return { 12 | \ 'command': ale#Escape(l:executable) 13 | \ . (empty(l:options) ? '' : ' ' . l:options) 14 | \ . ' --in-place' 15 | \ . ' %t', 16 | \ 'read_temporary_file': 1, 17 | \} 18 | endfunction 19 | -------------------------------------------------------------------------------- /sources_non_forked/vim-bundle-mako/ftdetect/mako.vim: -------------------------------------------------------------------------------- 1 | if !exists("g:mako_detect_lang_from_ext") 2 | let g:mako_detect_lang_from_ext = 1 3 | endif 4 | if g:mako_detect_lang_from_ext 5 | au BufNewFile *.*.mako execute "do BufNewFile filetypedetect " . expand(":r") | let b:mako_outer_lang = &filetype 6 | " it's important to get this before any of the normal BufRead autocmds execute 7 | " for this file, otherwise a mako tag at the start of the file can cause the 8 | " filetype to be set to mason 9 | au BufReadPre *.*.mako execute "do BufRead filetypedetect " . expand(":r") | let b:mako_outer_lang = &filetype 10 | endif 11 | au BufRead,BufNewFile *.mako set filetype=mako 12 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/objc/clangd.vim: -------------------------------------------------------------------------------- 1 | " Author: Andrey Melentyev 2 | " Description: Clangd language server 3 | 4 | call ale#Set('objc_clangd_executable', 'clangd') 5 | call ale#Set('objc_clangd_options', '') 6 | 7 | function! ale_linters#objc#clangd#GetCommand(buffer) abort 8 | return '%e' . ale#Pad(ale#Var(a:buffer, 'objc_clangd_options')) 9 | endfunction 10 | 11 | call ale#linter#Define('objc', { 12 | \ 'name': 'clangd', 13 | \ 'lsp': 'stdio', 14 | \ 'executable': {b -> ale#Var(b, 'objc_clangd_executable')}, 15 | \ 'command': function('ale_linters#objc#clangd#GetCommand'), 16 | \ 'project_root': function('ale#c#FindProjectRoot'), 17 | \}) 18 | -------------------------------------------------------------------------------- /sources_non_forked/vim-coffee-script/Makefile: -------------------------------------------------------------------------------- 1 | REF = HEAD 2 | VERSION = $(shell git describe --always $(REF)) 3 | 4 | ARCHIVE = vim-coffee-script-$(VERSION).zip 5 | ARCHIVE_DIRS = after autoload compiler doc ftdetect ftplugin indent syntax 6 | 7 | # Don't do anything by default. 8 | all: 9 | 10 | # Make vim.org zipball. 11 | archive: 12 | git archive $(REF) -o $(ARCHIVE) -- $(ARCHIVE_DIRS) 13 | 14 | # Remove zipball. 15 | clean: 16 | -rm -f $(ARCHIVE) 17 | 18 | # Build the list of syntaxes for @coffeeAll. 19 | coffeeAll: 20 | @grep -E 'syn (match|region)' syntax/coffee.vim |\ 21 | grep -v 'contained' |\ 22 | awk '{print $$3}' |\ 23 | uniq 24 | 25 | .PHONY: all archive clean hash coffeeAll 26 | -------------------------------------------------------------------------------- /sources_non_forked/ale/doc/ale-json5.txt: -------------------------------------------------------------------------------- 1 | =============================================================================== 2 | ALE JSON5 Integration *ale-json5-options* 3 | 4 | 5 | =============================================================================== 6 | eslint *ale-json5-eslint* 7 | 8 | The `eslint` linter for JSON uses the JavaScript options for `eslint`; see: 9 | |ale-javascript-eslint|. 10 | 11 | You will need a JSON5 ESLint plugin installed for this to work. 12 | 13 | 14 | =============================================================================== 15 | vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: 16 | -------------------------------------------------------------------------------- /sources_non_forked/ale/doc/ale-jsonc.txt: -------------------------------------------------------------------------------- 1 | =============================================================================== 2 | ALE JSONC Integration *ale-jsonc-options* 3 | 4 | 5 | =============================================================================== 6 | eslint *ale-jsonc-eslint* 7 | 8 | The `eslint` linter for JSON uses the JavaScript options for `eslint`; see: 9 | |ale-javascript-eslint|. 10 | 11 | You will need a JSONC ESLint plugin installed for this to work. 12 | 13 | 14 | =============================================================================== 15 | vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: 16 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/objc/ccls.vim: -------------------------------------------------------------------------------- 1 | " Author: Ye Jingchen , Ben Falconer , jtalowell 2 | " Description: A language server for Objective-C 3 | 4 | call ale#Set('objc_ccls_executable', 'ccls') 5 | call ale#Set('objc_ccls_init_options', {}) 6 | call ale#Set('c_build_dir', '') 7 | 8 | call ale#linter#Define('objc', { 9 | \ 'name': 'ccls', 10 | \ 'lsp': 'stdio', 11 | \ 'executable': {b -> ale#Var(b, 'objc_ccls_executable')}, 12 | \ 'command': '%e', 13 | \ 'project_root': function('ale#handlers#ccls#GetProjectRoot'), 14 | \ 'initialization_options': {b -> ale#handlers#ccls#GetInitOpts(b, 'objc_ccls_init_options')}, 15 | \}) 16 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/systemd/systemd_analyze.vim: -------------------------------------------------------------------------------- 1 | function! ale_linters#systemd#systemd_analyze#Handle(buffer, lines) abort 2 | return ale#util#MapMatches(a:lines, '\v(.+):([0-9]+): (.+)', {match -> { 3 | \ 'lnum': str2nr(match[2]), 4 | \ 'col': 1, 5 | \ 'type': 'W', 6 | \ 'text': match[3], 7 | \}}) 8 | endfunction 9 | 10 | call ale#linter#Define('systemd', { 11 | \ 'name': 'systemd_analyze', 12 | \ 'aliases': ['systemd-analyze'], 13 | \ 'executable': 'systemd-analyze', 14 | \ 'command': 'SYSTEMD_LOG_COLOR=0 %e --user verify %s', 15 | \ 'callback': 'ale_linters#systemd#systemd_analyze#Handle', 16 | \ 'output_stream': 'both', 17 | \ 'lint_file': 1, 18 | \}) 19 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/purty.vim: -------------------------------------------------------------------------------- 1 | " Author: iclanzan 2 | " Description: Integration of purty with ALE. 3 | 4 | call ale#Set('purescript_purty_executable', 'purty') 5 | 6 | function! ale#fixers#purty#GetExecutable(buffer) abort 7 | let l:executable = ale#Var(a:buffer, 'purescript_purty_executable') 8 | 9 | return ale#Escape(l:executable) 10 | endfunction 11 | 12 | function! ale#fixers#purty#Fix(buffer) abort 13 | let l:executable = ale#fixers#purty#GetExecutable(a:buffer) 14 | 15 | return { 16 | \ 'command': l:executable 17 | \ . ' --write' 18 | \ . ' %t', 19 | \ 'read_temporary_file': 1, 20 | \} 21 | endfunction 22 | 23 | -------------------------------------------------------------------------------- /sources_non_forked/ale/doc/ale-dafny.txt: -------------------------------------------------------------------------------- 1 | =============================================================================== 2 | ALE Dafny Integration *ale-dafny-options* 3 | 4 | 5 | =============================================================================== 6 | dafny *ale-dafny-dafny* 7 | 8 | g:ale_dafny_dafny_timelimit *g:ale_dafny_dafny_timelimit* 9 | *b:ale_dafny_dafny_timelimit* 10 | Type: |Number| 11 | Default: `10` 12 | 13 | This variable sets the `/timeLimit` used for dafny. 14 | 15 | 16 | vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: 17 | -------------------------------------------------------------------------------- /sources_non_forked/vim-python-pep8-indent/spec/vimrc: -------------------------------------------------------------------------------- 1 | " vint: -ProhibitSetNoCompatible 2 | set nocompatible 3 | 4 | filetype plugin on 5 | filetype indent on 6 | syntax on 7 | 8 | set noswapfile nobackup 9 | 10 | " remove default ~/.vim directories to avoid loading plugins 11 | set runtimepath-=~/.vim 12 | set runtimepath-=~/.vim/after 13 | 14 | let sfile = expand('') 15 | let plugin_path = fnamemodify(sfile, ':p:h:h') 16 | exe 'set runtimepath^='.plugin_path 17 | 18 | if !empty($PYTHON_PEP8_INDENT_TEST_PROFILE_BASE) 19 | execute printf('profile start %s.%s', 20 | \ $PYTHON_PEP8_INDENT_TEST_PROFILE_BASE, getpid()) 21 | execute 'profile! file '. plugin_path . '/indent/python.vim' 22 | endif 23 | -------------------------------------------------------------------------------- /sources_non_forked/ale/ale_linters/objcpp/clangd.vim: -------------------------------------------------------------------------------- 1 | " Author: Andrey Melentyev 2 | " Description: Clangd language server 3 | 4 | call ale#Set('objcpp_clangd_executable', 'clangd') 5 | call ale#Set('objcpp_clangd_options', '') 6 | 7 | function! ale_linters#objcpp#clangd#GetCommand(buffer) abort 8 | return '%e' . ale#Pad(ale#Var(a:buffer, 'objcpp_clangd_options')) 9 | endfunction 10 | 11 | call ale#linter#Define('objcpp', { 12 | \ 'name': 'clangd', 13 | \ 'lsp': 'stdio', 14 | \ 'executable': {b -> ale#Var(b, 'objcpp_clangd_executable')}, 15 | \ 'command': function('ale_linters#objcpp#clangd#GetCommand'), 16 | \ 'project_root': function('ale#c#FindProjectRoot'), 17 | \}) 18 | -------------------------------------------------------------------------------- /sources_non_forked/ale/autoload/ale/fixers/rufo.vim: -------------------------------------------------------------------------------- 1 | " Author: Fohte (Hayato Kawai) https://github.com/fohte 2 | " Description: Integration of Rufo with ALE. 3 | 4 | call ale#Set('ruby_rufo_executable', 'rufo') 5 | 6 | function! ale#fixers#rufo#GetCommand(buffer) abort 7 | let l:executable = ale#Var(a:buffer, 'ruby_rufo_executable') 8 | let l:exec_args = l:executable =~? 'bundle$' 9 | \ ? ' exec rufo' 10 | \ : '' 11 | 12 | return ale#Escape(l:executable) . l:exec_args . ' %t' 13 | endfunction 14 | 15 | function! ale#fixers#rufo#Fix(buffer) abort 16 | return { 17 | \ 'command': ale#fixers#rufo#GetCommand(a:buffer), 18 | \ 'read_temporary_file': 1, 19 | \} 20 | endfunction 21 | -------------------------------------------------------------------------------- /sources_non_forked/dracula/after/syntax/typescriptreact.vim: -------------------------------------------------------------------------------- 1 | if dracula#should_abort('typescriptreact', 'typescript.tsx') 2 | finish 3 | endif 4 | 5 | runtime! syntax/typescript.vim 6 | 7 | hi! link tsxAttrib DraculaGreenItalic 8 | hi! link tsxEqual Operator 9 | hi! link tsxIntrinsicTagName Keyword 10 | hi! link tsxTagName Type 11 | 12 | " maxmellon/vim-jsx-pretty {{{ 13 | 14 | hi! link jsxTag Keyword 15 | hi! link jsxTagName Keyword 16 | hi! link jsxComponentName Type 17 | hi! link jsxCloseTag Type 18 | hi! link jsxAttrib DraculaGreenItalic 19 | hi! link jsxCloseString Identifier 20 | hi! link jsxOpenPunct Identifier 21 | 22 | " }}} 23 | -------------------------------------------------------------------------------- /sources_non_forked/nerdtree/.github/ISSUE_TEMPLATE/question.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: "General Question" 3 | about: "Having trouble setting up NERDTree? Need clarification on a setting? Ask your question here." 4 | labels: "general question" 5 | --- 6 | Before creating an issue, take some time to search these resources. It's possible that someone else has already asked your question and gotten an answer. 7 | - [old NERDTree issues](https://github.com/preservim/nerdtree/issues?q=is%3Aissue) 8 | - NERDTree documentation - `:h NERDTree` 9 | - [NERDTree Wiki](https://github.com/preservim/nerdtree/wiki) 10 | - Other resource: , , etc. 11 | 12 | #### State Your Question 13 | 14 | -------------------------------------------------------------------------------- /sources_non_forked/vim-ruby/spec/syntax/line_continuations_spec.rb: -------------------------------------------------------------------------------- 1 | require 'spec_helper' 2 | 3 | describe "Syntax highlighting" do 4 | specify "useless line continuations" do 5 | str = <<~'EOF' 6 | foo = \ 7 | if true 8 | 42 9 | end 10 | EOF 11 | assert_correct_highlighting str, '\\', 'rubyUselessLineContinuation' 12 | assert_correct_highlighting str, 'if', 'rubyConditional' 13 | end 14 | 15 | specify "line continuations" do 16 | str = <<~'EOF' 17 | foo = 42 \ 18 | if true 19 | EOF 20 | assert_correct_highlighting str, '\\', 'rubyLineContinuation' 21 | assert_correct_highlighting str, 'if', 'rubyConditionalModifier' 22 | end 23 | end 24 | -------------------------------------------------------------------------------- /sources_non_forked/vim-snippets/UltiSnips/README: -------------------------------------------------------------------------------- 1 | This directory contains the snippets for UltiSnips. 2 | https://github.com/sirver/ultisnips 3 | 4 | Standing On The Shoulders of Giants 5 | =================================== 6 | 7 | The snippets have been collected from various other project which I want to 8 | express my gratitude for. My main source for inspiration where the following 9 | two projects: 10 | 11 | TextMate: http://svn.textmate.org/trunk/Bundles/ 12 | SnipMate: http://code.google.com/p/snipmate/ 13 | 14 | UltiSnips has seen contributions by many individuals. Those contributions have 15 | been merged into this collection seamlessly and without further comments. 16 | 17 | -- vim:ft=rst:nospell: 18 | -------------------------------------------------------------------------------- /sources_non_forked/editorconfig-vim/.travis.yml: -------------------------------------------------------------------------------- 1 | # Make sure xvfb works - https://docs.travis-ci.com/user/gui-and-headless-browsers/#using-xvfb-directly 2 | dist: trusty 3 | 4 | matrix: 5 | include: 6 | - name: "plugin" 7 | env: TEST_WHICH=plugin 8 | language: ruby 9 | rvm: 10 | - 2.2.4 11 | gemfile: tests/plugin/Gemfile 12 | - name: "core" 13 | env: TEST_WHICH=core 14 | 15 | addons: 16 | apt: 17 | packages: 18 | - vim-gtk 19 | 20 | before_script: 21 | - "export DISPLAY=:99.0" 22 | - "sh -e /etc/init.d/xvfb start" 23 | 24 | script: 25 | ./tests/travis-test.sh 26 | 27 | notifications: 28 | email: 29 | on_success: change 30 | on_failure: always 31 | -------------------------------------------------------------------------------- /sources_non_forked/vim-ruby/spec/syntax/maxmempattern_limit_spec.rb: -------------------------------------------------------------------------------- 1 | require 'spec_helper' 2 | 3 | describe "Maxmempattern limit" do 4 | specify "maxmempattern=1000 is enough even for long strings" do 5 | str = <<~'EOF' 6 | hash = { 7 | "A-NOT-Managed-Strings" => "ABCDEfghe910dmckamks019292djdjOOOjjjd/cr3wdCA+1n/xHfHMgG+cC0EoUNngcBjgWvBMEF1CurBwTtDswJjQYa5wYRAQEBAQECCwGwAQEvI50CnwMNAwRrAQYBr9PPAoK7sQMBAQMCBAkICAQIAwEBAwYBAQQFFQEBAhQDAwMDCwEBAQUBAQHGAQEWBAEBDecBfS8CHQEKkAEMMxcMCQoUDwYHIjd3DQ4MFk0JWGYALSKLAQOLAYEBFBAjCBGDAQICAgMANjsZAg9fCxkCgLZKAwSEAQIBiwEZGAsrBCgFMmUEJShyFSfRBQEOSQY62AG0AVlCrQ", 8 | } 9 | EOF 10 | assert_correct_highlighting str, %w[ABCDE], 'rubyString' 11 | end 12 | end 13 | -------------------------------------------------------------------------------- /sources_non_forked/vim-addon-mw-utils/doc/tiny_cmd.txt: -------------------------------------------------------------------------------- 1 | *tiny-cmd* make long commands short so that they hopefully no longer trigger "press Enter .. [ok]" 2 | Author: Marc Weber, marco-oweber@gmx.de 3 | 4 | ----------------------------------------------------------------------- 5 | HOWTO~ 6 | 7 | Problem: > 8 | exec 'map :silent! let g:g="'.repeat('foobar ',200).'"' 9 | Now run the mapping by pressing and you notice what I'm talking about 10 | 11 | Solution (Example): 12 | 13 | 14 | Example usage: > 15 | let nr = tiny_cmd#Put('let g:g="'.repeat('foobar ',200).'"') 16 | exec 'map :exec tiny_cmd#Get('.nr.')' 17 | < 18 | Use Pop instead of Get if you use this command once only 19 | -------------------------------------------------------------------------------- /sources_non_forked/vim-coffee-script/ftdetect/coffee.vim: -------------------------------------------------------------------------------- 1 | " Language: CoffeeScript 2 | " Maintainer: Mick Koch 3 | " URL: http://github.com/kchmck/vim-coffee-script 4 | " License: WTFPL 5 | 6 | autocmd BufNewFile,BufRead *.coffee set filetype=coffee 7 | autocmd BufNewFile,BufRead *Cakefile set filetype=coffee 8 | autocmd BufNewFile,BufRead *.coffeekup,*.ck set filetype=coffee 9 | autocmd BufNewFile,BufRead *._coffee set filetype=coffee 10 | autocmd BufNewFile,BufRead *.cson set filetype=coffee 11 | 12 | function! s:DetectCoffee() 13 | if getline(1) =~ '^#!.*\' 14 | set filetype=coffee 15 | endif 16 | endfunction 17 | 18 | autocmd BufNewFile,BufRead * call s:DetectCoffee() 19 | --------------------------------------------------------------------------------