├── .exrc ├── .gitignore ├── LICENSE ├── README.md ├── backup └── .createme ├── get-plugins.go ├── minisnip ├── _go_bench ├── _go_case ├── _go_con ├── _go_dfn ├── _go_dfnr ├── _go_el ├── _go_err ├── _go_errl ├── _go_fn ├── _go_fo ├── _go_fr ├── _go_ie ├── _go_if ├── _go_im ├── _go_in ├── _go_main ├── _go_mr ├── _go_prl ├── _go_sl ├── _go_st ├── _go_sw ├── _go_test └── _go_var ├── pack ├── colors │ └── start │ │ ├── cormacrelf-vim-colors-github │ │ ├── README.md │ │ ├── autoload │ │ │ ├── airline │ │ │ │ └── themes │ │ │ │ │ └── github.vim │ │ │ ├── github_colors.vim │ │ │ └── lightline │ │ │ │ └── colorscheme │ │ │ │ └── github.vim │ │ ├── colors │ │ │ └── github.vim │ │ ├── convert.py │ │ ├── doc │ │ │ └── github_colors.txt │ │ └── shots │ │ │ ├── dark-diff.png │ │ │ ├── dark-ui-elements.png │ │ │ ├── dark.png │ │ │ ├── light-diff.png │ │ │ ├── light-ui-elements.png │ │ │ ├── light.png │ │ │ ├── soft-diff.png │ │ │ ├── soft-ui-elements.png │ │ │ └── soft.png │ │ ├── robertmeta-nofrils │ │ ├── LICENSE │ │ ├── README.md │ │ ├── colors │ │ │ ├── nofrils-acme.vim │ │ │ ├── nofrils-dark.vim │ │ │ ├── nofrils-light.vim │ │ │ └── nofrils-sepia.vim │ │ ├── generate_colors.go │ │ └── schemes.tmpl │ │ ├── romainl-apprentice │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ └── colors │ │ │ ├── apprentice.erb │ │ │ └── apprentice.vim │ │ └── romainl-disciple │ │ ├── README.md │ │ ├── colors │ │ └── disciple.vim │ │ └── screenshots │ │ ├── disciple_js.png │ │ ├── disciple_py.png │ │ └── disciple_vim.png └── plugins │ └── start │ ├── airblade-vim-gitgutter │ ├── .github │ │ └── issue_template.md │ ├── LICENCE │ ├── README.mkd │ ├── autoload │ │ ├── gitgutter.vim │ │ └── gitgutter │ │ │ ├── async.vim │ │ │ ├── debug.vim │ │ │ ├── diff.vim │ │ │ ├── diff_highlight.vim │ │ │ ├── fold.vim │ │ │ ├── highlight.vim │ │ │ ├── hunk.vim │ │ │ ├── sign.vim │ │ │ └── utility.vim │ ├── doc │ │ ├── gitgutter.txt │ │ └── tags │ ├── plugin │ │ └── gitgutter.vim │ ├── screenshot.png │ └── test │ │ ├── cp932.txt │ │ ├── fixture.txt │ │ ├── fixture_dos.txt │ │ ├── runner.vim │ │ ├── test │ │ └── test_gitgutter.vim │ ├── fatih-vim-go │ ├── .codecov.yml │ ├── .coveragerc │ ├── .dockerignore │ ├── .editorconfig │ ├── .github │ │ ├── CONTRIBUTING.md │ │ ├── FUNDING.yml │ │ ├── ISSUE_TEMPLATE.md │ │ └── workflows │ │ │ └── test.yml │ ├── .vintrc.yaml │ ├── CHANGELOG.md │ ├── Dockerfile │ ├── LICENSE │ ├── Makefile │ ├── README.md │ ├── addon-info.json │ ├── assets │ │ ├── vim-go.png │ │ └── vim-go.svg │ ├── autoload │ │ ├── ctrlp │ │ │ └── decls.vim │ │ ├── fzf │ │ │ └── decls.vim │ │ ├── go │ │ │ ├── alternate.vim │ │ │ ├── asmfmt.vim │ │ │ ├── auto.vim │ │ │ ├── calls.vim │ │ │ ├── calls_test.vim │ │ │ ├── cmd.vim │ │ │ ├── cmd_test.vim │ │ │ ├── complete.vim │ │ │ ├── complete_test.vim │ │ │ ├── config.vim │ │ │ ├── config_test.vim │ │ │ ├── coverage.vim │ │ │ ├── debug.vim │ │ │ ├── debug_test.vim │ │ │ ├── decls.vim │ │ │ ├── def.vim │ │ │ ├── def_test.vim │ │ │ ├── doc.vim │ │ │ ├── fillstruct.vim │ │ │ ├── fillstruct_test.vim │ │ │ ├── fmt.vim │ │ │ ├── fmt_test.vim │ │ │ ├── guru.vim │ │ │ ├── guru_test.vim │ │ │ ├── highlight_test.vim │ │ │ ├── iferr.vim │ │ │ ├── impl.vim │ │ │ ├── impl_test.vim │ │ │ ├── implements.vim │ │ │ ├── import.vim │ │ │ ├── import_test.vim │ │ │ ├── indent_test.vim │ │ │ ├── issue.vim │ │ │ ├── job.vim │ │ │ ├── job_test.vim │ │ │ ├── keyify.vim │ │ │ ├── lint.vim │ │ │ ├── lint_test.vim │ │ │ ├── list.vim │ │ │ ├── lsp.vim │ │ │ ├── lsp │ │ │ │ ├── completionitemkind.vim │ │ │ │ ├── lsp.vim │ │ │ │ ├── lsp_test.vim │ │ │ │ └── message.vim │ │ │ ├── lsp_test.vim │ │ │ ├── mod.vim │ │ │ ├── package.vim │ │ │ ├── package_test.vim │ │ │ ├── path.vim │ │ │ ├── play.vim │ │ │ ├── promise.vim │ │ │ ├── promise_test.vim │ │ │ ├── referrers.vim │ │ │ ├── rename.vim │ │ │ ├── statusline.vim │ │ │ ├── tags.vim │ │ │ ├── tags_test.vim │ │ │ ├── template.vim │ │ │ ├── template_test.vim │ │ │ ├── term.vim │ │ │ ├── term_test.vim │ │ │ ├── test-fixtures │ │ │ │ ├── cmd │ │ │ │ │ └── bad.go │ │ │ │ ├── complete │ │ │ │ │ └── complete.go │ │ │ │ ├── config │ │ │ │ │ └── buildtags │ │ │ │ │ │ ├── buildtags.go │ │ │ │ │ │ ├── constrainedfoo.go │ │ │ │ │ │ ├── foo.go │ │ │ │ │ │ └── go.mod │ │ │ │ ├── debug │ │ │ │ │ ├── compilerror │ │ │ │ │ │ └── main.go │ │ │ │ │ └── debugmain │ │ │ │ │ │ └── debugmain.go │ │ │ │ ├── def │ │ │ │ │ └── jump.go │ │ │ │ ├── fmt │ │ │ │ │ ├── hello.go │ │ │ │ │ ├── hello_golden.go │ │ │ │ │ └── src │ │ │ │ │ │ └── imports │ │ │ │ │ │ ├── goimports.go │ │ │ │ │ │ ├── goimports_golden.go │ │ │ │ │ │ └── vendor │ │ │ │ │ │ └── gh.com │ │ │ │ │ │ └── gi │ │ │ │ │ │ └── foo-logging │ │ │ │ │ │ └── logger.go │ │ │ │ ├── job │ │ │ │ │ └── dir has spaces │ │ │ │ │ │ └── main.go │ │ │ │ ├── lint │ │ │ │ │ └── src │ │ │ │ │ │ ├── errcheck │ │ │ │ │ │ ├── compilererror │ │ │ │ │ │ │ └── compilererror.go │ │ │ │ │ │ ├── errcheck.go │ │ │ │ │ │ └── errcheck_test.go │ │ │ │ │ │ ├── foo │ │ │ │ │ │ └── foo.go │ │ │ │ │ │ ├── lint │ │ │ │ │ │ ├── baz.go │ │ │ │ │ │ ├── golangci-lint │ │ │ │ │ │ │ └── problems │ │ │ │ │ │ │ │ ├── importabs │ │ │ │ │ │ │ │ ├── ok.go │ │ │ │ │ │ │ │ └── problems.go │ │ │ │ │ │ │ │ ├── multiple │ │ │ │ │ │ │ │ └── problems.go │ │ │ │ │ │ │ │ └── shadow │ │ │ │ │ │ │ │ └── problems.go │ │ │ │ │ │ ├── lint.go │ │ │ │ │ │ └── quux.go │ │ │ │ │ │ └── vet │ │ │ │ │ │ ├── compilererror │ │ │ │ │ │ └── compilererror.go │ │ │ │ │ │ └── vet.go │ │ │ │ ├── lsp │ │ │ │ │ ├── fmt │ │ │ │ │ │ ├── format.go │ │ │ │ │ │ ├── format_golden.go │ │ │ │ │ │ └── newline.go │ │ │ │ │ └── imports │ │ │ │ │ │ ├── imports.go │ │ │ │ │ │ └── imports_golden.go │ │ │ │ ├── package │ │ │ │ │ └── src │ │ │ │ │ │ └── package │ │ │ │ │ │ ├── bar │ │ │ │ │ │ └── .gitkeep │ │ │ │ │ │ ├── baz │ │ │ │ │ │ └── .gitkeep │ │ │ │ │ │ ├── go.mod │ │ │ │ │ │ ├── package.go │ │ │ │ │ │ └── vendor │ │ │ │ │ │ └── foo │ │ │ │ │ │ └── .gitkeep │ │ │ │ ├── tags │ │ │ │ │ ├── add_all_golden.go │ │ │ │ │ ├── add_all_input.go │ │ │ │ │ ├── remove_all_golden.go │ │ │ │ │ └── remove_all_input.go │ │ │ │ ├── term │ │ │ │ │ └── term.go │ │ │ │ └── test │ │ │ │ │ ├── .gitignore │ │ │ │ │ └── src │ │ │ │ │ ├── compilerror │ │ │ │ │ └── compilerror.go │ │ │ │ │ ├── example │ │ │ │ │ └── example_test.go │ │ │ │ │ ├── play │ │ │ │ │ ├── mock │ │ │ │ │ │ └── controller.go │ │ │ │ │ └── play_test.go │ │ │ │ │ ├── showname │ │ │ │ │ └── showname_test.go │ │ │ │ │ ├── testcompilerror │ │ │ │ │ └── testcompilerror_test.go │ │ │ │ │ ├── timeout │ │ │ │ │ └── timeout_test.go │ │ │ │ │ └── veterror │ │ │ │ │ └── veterror.go │ │ │ ├── test.vim │ │ │ ├── test_test.vim │ │ │ ├── textobj.vim │ │ │ ├── tool.vim │ │ │ ├── tool_test.vim │ │ │ ├── ui.vim │ │ │ ├── uri.vim │ │ │ ├── uri_test.vim │ │ │ └── util.vim │ │ ├── gotest.vim │ │ └── unite │ │ │ └── sources │ │ │ └── decls.vim │ ├── compiler │ │ └── go.vim │ ├── doc │ │ ├── tags │ │ └── vim-go.txt │ ├── ftdetect │ │ └── gofiletype.vim │ ├── ftplugin │ │ ├── asm.vim │ │ ├── go.vim │ │ ├── go │ │ │ ├── commands.vim │ │ │ ├── mappings.vim │ │ │ ├── snippets.vim │ │ │ └── tagbar.vim │ │ ├── gohtmltmpl.vim │ │ ├── gomod.vim │ │ └── gomod │ │ │ ├── commands.vim │ │ │ └── mappings.vim │ ├── gosnippets │ │ ├── UltiSnips │ │ │ └── go.snippets │ │ ├── minisnip │ │ │ ├── _go_eq │ │ │ ├── _go_err │ │ │ ├── _go_errt │ │ │ ├── _go_errw │ │ │ ├── _go_f │ │ │ ├── _go_ff │ │ │ ├── _go_fori │ │ │ ├── _go_pkg │ │ │ ├── _go_sp │ │ │ └── _go_tt │ │ └── snippets │ │ │ └── go.snip │ ├── indent │ │ ├── go.vim │ │ └── gohtmltmpl.vim │ ├── plugin │ │ └── go.vim │ ├── rplugin │ │ └── python3 │ │ │ └── denite │ │ │ └── source │ │ │ └── decls.py │ ├── scripts │ │ ├── bench-syntax │ │ ├── docker-test │ │ ├── install-tools │ │ ├── install-vim │ │ ├── lint │ │ ├── run-vim │ │ ├── runbench.vim │ │ ├── runtest.vim │ │ └── test │ ├── syntax │ │ ├── go.vim │ │ ├── godebugoutput.vim │ │ ├── godebugstacktrace.vim │ │ ├── godebugvariables.vim │ │ ├── godefstack.vim │ │ ├── gohtmltmpl.vim │ │ ├── gomod.vim │ │ ├── gosum.vim │ │ ├── gotexttmpl.vim │ │ └── vimgo.vim │ ├── templates │ │ ├── hello_world.go │ │ └── hello_world_test.go │ └── test │ │ └── parse.go │ ├── hauleth-asyncdo-vim │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── README.md │ ├── autoload │ │ └── asyncdo.vim │ ├── doc │ │ ├── asyncdo.txt │ │ └── tags │ └── plugin │ │ └── asyncdo.vim │ ├── joereynolds-vim-minisnip │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── autoload │ │ └── minisnip.vim │ ├── doc │ │ ├── minisnip.txt │ │ └── tags │ ├── examples │ │ ├── _gitcommit_commit │ │ ├── _javascript_function │ │ ├── _javascript_import │ │ ├── _javascript_log │ │ ├── _javascript_module │ │ └── _javascript_test │ ├── ftdetect │ │ └── minisnip.vim │ ├── plugin │ │ └── minisnip.vim │ ├── snippets │ │ ├── _php_placeholder │ │ ├── backref │ │ ├── multilinetest │ │ ├── namedplaceholder │ │ ├── order │ │ ├── skipme │ │ └── test │ ├── syntax │ │ └── minisnip.vim │ └── test │ │ └── minisnip.vader │ ├── kopischke-vim-fetch │ ├── .travis.yml │ ├── CODE_OF_CONDUCT.md │ ├── LICENSE.md │ ├── README.md │ ├── autoload │ │ ├── fetch.vim │ │ └── stay │ │ │ └── integrate │ │ │ └── fetch.vim │ ├── doc │ │ ├── tags │ │ └── vim-fetch.txt │ ├── img │ │ └── vim-fetch.gif │ ├── plugin │ │ └── fetch.vim │ └── test │ │ ├── init.vader │ │ └── vimrc │ ├── ludovicchabant-vim-gutentags │ ├── .github │ │ └── ISSUE_TEMPLATE │ │ │ └── bug_report.md │ ├── .hgignore │ ├── .hgtags │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── README.md │ ├── autoload │ │ ├── gutentags.vim │ │ └── gutentags │ │ │ ├── cscope.vim │ │ │ ├── ctags.vim │ │ │ └── gtags_cscope.vim │ ├── doc │ │ ├── gutentags.txt │ │ └── tags │ ├── plat │ │ ├── unix │ │ │ ├── update_scopedb.sh │ │ │ └── update_tags.sh │ │ └── win32 │ │ │ ├── update_scopedb.cmd │ │ │ └── update_tags.cmd │ ├── plugin │ │ └── gutentags.vim │ └── res │ │ └── ctags_recursive.options │ ├── machakann-vim-sandwich │ ├── .travis.yml │ ├── README.md │ ├── after │ │ └── ftplugin │ │ │ ├── initex │ │ │ └── sandwich.vim │ │ │ ├── julia │ │ │ └── sandwich.vim │ │ │ ├── plaintex │ │ │ └── sandwich.vim │ │ │ ├── tex │ │ │ └── sandwich.vim │ │ │ └── vim │ │ │ └── sandwich.vim │ ├── autoload │ │ ├── operator │ │ │ ├── sandwich.vim │ │ │ └── sandwich │ │ │ │ ├── act.vim │ │ │ │ ├── lib.vim │ │ │ │ ├── operator.vim │ │ │ │ └── stuff.vim │ │ ├── sandwich.vim │ │ ├── sandwich │ │ │ ├── clock.vim │ │ │ ├── constants.vim │ │ │ ├── filetype │ │ │ │ └── tex.vim │ │ │ ├── highlight.vim │ │ │ ├── magicchar │ │ │ │ ├── f.vim │ │ │ │ ├── i.vim │ │ │ │ └── t.vim │ │ │ ├── messenger.vim │ │ │ ├── opt.vim │ │ │ └── util.vim │ │ └── textobj │ │ │ ├── sandwich.vim │ │ │ └── sandwich │ │ │ ├── lib.vim │ │ │ ├── recipes.vim │ │ │ ├── sandwich.vim │ │ │ └── textobj.vim │ ├── doc │ │ ├── operator-sandwich.jax │ │ ├── operator-sandwich.txt │ │ ├── sandwich.jax │ │ ├── sandwich.txt │ │ ├── tags │ │ ├── tags-ja │ │ ├── textobj-sandwich.jax │ │ └── textobj-sandwich.txt │ ├── macros │ │ └── sandwich │ │ │ ├── ftplugin │ │ │ └── tex.vim │ │ │ └── keymap │ │ │ └── surround.vim │ ├── plugin │ │ ├── operator │ │ │ └── sandwich.vim │ │ ├── sandwich.vim │ │ └── textobj │ │ │ └── sandwich.vim │ └── test │ │ ├── .themisrc │ │ ├── README │ │ ├── dot-repeat │ │ ├── test_dot.bat │ │ ├── test_dot.sh │ │ └── test_dot.vim │ │ ├── operator-add.vim │ │ ├── operator-delete.vim │ │ ├── operator-replace.vim │ │ ├── test-magicchar-f.vim │ │ ├── test-magicchar-t-emmet.vim │ │ ├── test-magicchar-t.vim │ │ ├── textobj-auto.vim │ │ └── textobj-query.vim │ ├── olical-vim-enmasse │ ├── .travis.yml │ ├── README.md │ ├── UNLICENSE │ ├── autoload │ │ └── enmasse.vim │ ├── doc │ │ ├── enmasse.txt │ │ └── tags │ ├── images │ │ └── example.gif │ ├── plugin │ │ └── enmasse.vim │ └── test │ │ ├── clearing.vader │ │ ├── enmasse.vader │ │ ├── grepable.txt │ │ ├── hints.vader │ │ ├── preview.vader │ │ ├── run │ │ ├── version.vader │ │ └── writing.vader │ ├── prettier-vim-prettier │ ├── .github │ │ ├── ISSUE_TEMPLATE.md │ │ └── PULL_REQUEST_TEMPLATE.md │ ├── CHANGELOG.md │ ├── Dockerfile │ ├── LICENSE │ ├── Makefile │ ├── README.md │ ├── autoload │ │ ├── prettier.vim │ │ └── prettier │ │ │ ├── bridge │ │ │ └── parser.vim │ │ │ ├── job │ │ │ ├── async │ │ │ │ ├── neovim.vim │ │ │ │ └── vim.vim │ │ │ └── runner.vim │ │ │ ├── logging │ │ │ └── error.vim │ │ │ ├── presets │ │ │ └── fb.vim │ │ │ ├── resolver │ │ │ ├── config.vim │ │ │ ├── executable.vim │ │ │ └── preset.vim │ │ │ └── utils │ │ │ ├── buffer.vim │ │ │ ├── quickfix.vim │ │ │ └── shim.vim │ ├── doc │ │ ├── prettier.txt │ │ └── tags │ ├── ftdetect │ │ ├── css.vim │ │ ├── graphql.vim │ │ ├── html.vim │ │ ├── javascript.vim │ │ ├── json.vim │ │ ├── less.vim │ │ ├── lua.vim │ │ ├── markdown.vim │ │ ├── php.vim │ │ ├── ruby.vim │ │ ├── scss.vim │ │ ├── typescript.vim │ │ ├── vue.vim │ │ ├── xml.vim │ │ └── yaml.vim │ ├── ftplugin │ │ ├── css.vim │ │ ├── graphql.vim │ │ ├── html.vim │ │ ├── javascript.vim │ │ ├── json.vim │ │ ├── less.vim │ │ ├── lua.vim │ │ ├── markdown.vim │ │ ├── php.vim │ │ ├── ruby.vim │ │ ├── scss.vim │ │ ├── typescript.vim │ │ ├── vue.vim │ │ ├── xml.vim │ │ └── yaml.vim │ ├── media │ │ └── vim-prettier.gif │ ├── package.json │ ├── plugin │ │ └── prettier.vim │ ├── tests │ │ ├── __snapshots__ │ │ │ └── formatting.test.js.snap │ │ ├── fixtures │ │ │ ├── foo.css │ │ │ ├── foo.graphql │ │ │ ├── foo.html │ │ │ ├── foo.js │ │ │ ├── foo.json │ │ │ ├── foo.less │ │ │ ├── foo.lua │ │ │ ├── foo.md │ │ │ ├── foo.php │ │ │ ├── foo.rb │ │ │ ├── foo.scss │ │ │ ├── foo.ts │ │ │ ├── foo.vue │ │ │ ├── foo.xml │ │ │ └── foo.yaml │ │ ├── formatting.test.js │ │ └── vimrc │ └── yarn.lock │ ├── romainl-vim-qf │ ├── LICENSE │ ├── README.md │ ├── after │ │ └── ftplugin │ │ │ └── qf.vim │ ├── autoload │ │ ├── qf.vim │ │ └── qf │ │ │ ├── do.vim │ │ │ ├── filegroup.vim │ │ │ ├── filter.vim │ │ │ ├── history.vim │ │ │ ├── namedlist.vim │ │ │ ├── preview.vim │ │ │ ├── statusline.vim │ │ │ ├── toggle.vim │ │ │ └── wrap.vim │ ├── doc │ │ ├── qf.txt │ │ └── tags │ └── plugin │ │ └── qf.vim │ ├── romainl-vim-qlist │ ├── LICENSE │ ├── README.md │ ├── autoload │ │ └── qlist.vim │ ├── doc │ │ ├── qlist.txt │ │ └── tags │ └── plugin │ │ └── qlist.vim │ ├── scrooloose-nerdtree │ ├── .github │ │ ├── ISSUE_TEMPLATE │ │ │ ├── bug.md │ │ │ ├── feature_request.md │ │ │ └── question.md │ │ ├── PULL_REQUEST_TEMPLATE.md │ │ └── workflows │ │ │ └── vint.yml │ ├── .vintrc.yaml │ ├── CHANGELOG.md │ ├── LICENCE │ ├── README.markdown │ ├── _config.yml │ ├── autoload │ │ ├── nerdtree.vim │ │ └── nerdtree │ │ │ └── ui_glue.vim │ ├── doc │ │ ├── NERDTree.txt │ │ └── tags │ ├── lib │ │ └── nerdtree │ │ │ ├── bookmark.vim │ │ │ ├── creator.vim │ │ │ ├── event.vim │ │ │ ├── flag_set.vim │ │ │ ├── key_map.vim │ │ │ ├── menu_controller.vim │ │ │ ├── menu_item.vim │ │ │ ├── nerdtree.vim │ │ │ ├── notifier.vim │ │ │ ├── opener.vim │ │ │ ├── path.vim │ │ │ ├── tree_dir_node.vim │ │ │ ├── tree_file_node.vim │ │ │ └── ui.vim │ ├── nerdtree_plugin │ │ ├── exec_menuitem.vim │ │ ├── fs_menu.vim │ │ └── vcs.vim │ ├── plugin │ │ └── NERD_tree.vim │ ├── screenshot.png │ └── syntax │ │ └── nerdtree.vim │ ├── t9md-vim-quickhl │ ├── README.md │ ├── Rakefile │ ├── VERSION │ ├── autoload │ │ ├── quickhl.vim │ │ └── quickhl │ │ │ ├── cword.vim │ │ │ ├── manual.vim │ │ │ └── tag.vim │ ├── doc │ │ ├── quickhl.txt │ │ └── tags │ └── plugin │ │ └── quickhl.vim │ ├── tpope-vim-abolish │ ├── .github │ │ └── FUNDING.yml │ ├── CONTRIBUTING.markdown │ ├── README.markdown │ ├── doc │ │ ├── abolish.txt │ │ └── tags │ └── plugin │ │ └── abolish.vim │ ├── tpope-vim-commentary │ ├── .github │ │ └── FUNDING.yml │ ├── CONTRIBUTING.markdown │ ├── README.markdown │ ├── doc │ │ ├── commentary.txt │ │ └── tags │ └── plugin │ │ └── commentary.vim │ ├── tpope-vim-eunuch │ ├── .github │ │ └── FUNDING.yml │ ├── README.markdown │ ├── doc │ │ ├── eunuch.txt │ │ └── tags │ └── plugin │ │ └── eunuch.vim │ ├── tpope-vim-fugitive │ ├── autoload │ │ └── fugitive.vim │ ├── doc │ │ ├── fugitive.txt │ │ └── tags │ ├── ftdetect │ │ └── fugitive.vim │ ├── plugin │ │ └── fugitive.vim │ └── syntax │ │ ├── fugitive.vim │ │ └── fugitiveblame.vim │ ├── tpope-vim-repeat │ ├── .github │ │ └── FUNDING.yml │ ├── README.markdown │ └── autoload │ │ └── repeat.vim │ ├── tpope-vim-rsi │ ├── .github │ │ └── FUNDING.yml │ ├── README.markdown │ ├── doc │ │ ├── rsi.txt │ │ └── tags │ └── plugin │ │ └── rsi.vim │ ├── tpope-vim-unimpaired │ ├── .github │ │ └── FUNDING.yml │ ├── README.markdown │ ├── doc │ │ ├── tags │ │ └── unimpaired.txt │ └── plugin │ │ └── unimpaired.vim │ ├── w0rp-ale │ ├── LICENSE │ ├── ale_linters │ │ ├── ada │ │ │ ├── adals.vim │ │ │ └── gcc.vim │ │ ├── ansible │ │ │ └── ansible_lint.vim │ │ ├── apiblueprint │ │ │ └── drafter.vim │ │ ├── apkbuild │ │ │ ├── apkbuild_lint.vim │ │ │ └── secfixes_check.vim │ │ ├── asciidoc │ │ │ ├── alex.vim │ │ │ ├── languagetool.vim │ │ │ ├── proselint.vim │ │ │ ├── redpen.vim │ │ │ ├── textlint.vim │ │ │ ├── vale.vim │ │ │ └── writegood.vim │ │ ├── asm │ │ │ └── gcc.vim │ │ ├── awk │ │ │ └── gawk.vim │ │ ├── bats │ │ │ └── shellcheck.vim │ │ ├── bib │ │ │ └── bibclean.vim │ │ ├── c │ │ │ ├── cc.vim │ │ │ ├── ccls.vim │ │ │ ├── clangd.vim │ │ │ ├── clangtidy.vim │ │ │ ├── cppcheck.vim │ │ │ ├── cquery.vim │ │ │ └── flawfinder.vim │ │ ├── chef │ │ │ ├── cookstyle.vim │ │ │ └── foodcritic.vim │ │ ├── clojure │ │ │ ├── clj_kondo.vim │ │ │ └── joker.vim │ │ ├── cloudformation │ │ │ └── cfn_python_lint.vim │ │ ├── cmake │ │ │ └── cmakelint.vim │ │ ├── coffee │ │ │ ├── coffee.vim │ │ │ └── coffeelint.vim │ │ ├── cpp │ │ │ ├── cc.vim │ │ │ ├── ccls.vim │ │ │ ├── clangcheck.vim │ │ │ ├── clangd.vim │ │ │ ├── clangtidy.vim │ │ │ ├── clazy.vim │ │ │ ├── cppcheck.vim │ │ │ ├── cpplint.vim │ │ │ ├── cquery.vim │ │ │ └── flawfinder.vim │ │ ├── crystal │ │ │ ├── ameba.vim │ │ │ └── crystal.vim │ │ ├── cs │ │ │ ├── csc.vim │ │ │ ├── mcs.vim │ │ │ └── mcsc.vim │ │ ├── css │ │ │ ├── csslint.vim │ │ │ ├── fecs.vim │ │ │ └── stylelint.vim │ │ ├── cucumber │ │ │ └── cucumber.vim │ │ ├── cuda │ │ │ └── nvcc.vim │ │ ├── cypher │ │ │ └── cypher_lint.vim │ │ ├── d │ │ │ ├── dls.vim │ │ │ └── dmd.vim │ │ ├── dafny │ │ │ └── dafny.vim │ │ ├── dart │ │ │ ├── analysis_server.vim │ │ │ ├── dartanalyzer.vim │ │ │ └── language_server.vim │ │ ├── dockerfile │ │ │ ├── dockerfile_lint.vim │ │ │ └── hadolint.vim │ │ ├── elixir │ │ │ ├── credo.vim │ │ │ ├── dialyxir.vim │ │ │ ├── dogma.vim │ │ │ ├── elixir_ls.vim │ │ │ └── mix.vim │ │ ├── elm │ │ │ ├── elm_ls.vim │ │ │ └── make.vim │ │ ├── erlang │ │ │ ├── dialyzer.vim │ │ │ ├── elvis.vim │ │ │ ├── erlc.vim │ │ │ └── syntaxerl.vim │ │ ├── eruby │ │ │ ├── erb.vim │ │ │ ├── erubi.vim │ │ │ ├── erubis.vim │ │ │ └── ruumba.vim │ │ ├── fish │ │ │ └── fish.vim │ │ ├── fortran │ │ │ ├── gcc.vim │ │ │ └── language_server.vim │ │ ├── fountain │ │ │ └── proselint.vim │ │ ├── fuse │ │ │ └── fusionlint.vim │ │ ├── gitcommit │ │ │ └── gitlint.vim │ │ ├── glsl │ │ │ ├── glslang.vim │ │ │ └── glslls.vim │ │ ├── go │ │ │ ├── bingo.vim │ │ │ ├── gobuild.vim │ │ │ ├── gofmt.vim │ │ │ ├── golangci_lint.vim │ │ │ ├── golint.vim │ │ │ ├── gometalinter.vim │ │ │ ├── gopls.vim │ │ │ ├── gosimple.vim │ │ │ ├── gotype.vim │ │ │ ├── govet.vim │ │ │ ├── langserver.vim │ │ │ ├── revive.vim │ │ │ └── staticcheck.vim │ │ ├── graphql │ │ │ ├── eslint.vim │ │ │ └── gqlint.vim │ │ ├── hack │ │ │ ├── hack.vim │ │ │ └── hhast.vim │ │ ├── haml │ │ │ └── hamllint.vim │ │ ├── handlebars │ │ │ └── embertemplatelint.vim │ │ ├── haskell │ │ │ ├── cabal_ghc.vim │ │ │ ├── ghc.vim │ │ │ ├── ghc_mod.vim │ │ │ ├── hdevtools.vim │ │ │ ├── hie.vim │ │ │ ├── hlint.vim │ │ │ ├── hls.vim │ │ │ ├── stack_build.vim │ │ │ └── stack_ghc.vim │ │ ├── help │ │ │ ├── alex.vim │ │ │ ├── proselint.vim │ │ │ └── writegood.vim │ │ ├── html │ │ │ ├── alex.vim │ │ │ ├── fecs.vim │ │ │ ├── htmlhint.vim │ │ │ ├── proselint.vim │ │ │ ├── stylelint.vim │ │ │ ├── tidy.vim │ │ │ └── writegood.vim │ │ ├── idris │ │ │ └── idris.vim │ │ ├── ink │ │ │ └── ls.vim │ │ ├── inko │ │ │ └── inko.vim │ │ ├── ispc │ │ │ └── ispc.vim │ │ ├── java │ │ │ ├── checkstyle.vim │ │ │ ├── eclipselsp.vim │ │ │ ├── javac.vim │ │ │ ├── javalsp.vim │ │ │ └── pmd.vim │ │ ├── javascript │ │ │ ├── eslint.vim │ │ │ ├── fecs.vim │ │ │ ├── flow.vim │ │ │ ├── flow_ls.vim │ │ │ ├── jscs.vim │ │ │ ├── jshint.vim │ │ │ ├── standard.vim │ │ │ ├── tsserver.vim │ │ │ └── xo.vim │ │ ├── json │ │ │ ├── jq.vim │ │ │ ├── jsonlint.vim │ │ │ └── spectral.vim │ │ ├── julia │ │ │ └── languageserver.vim │ │ ├── kotlin │ │ │ ├── kotlinc.vim │ │ │ ├── ktlint.vim │ │ │ └── languageserver.vim │ │ ├── less │ │ │ ├── lessc.vim │ │ │ └── stylelint.vim │ │ ├── llvm │ │ │ └── llc.vim │ │ ├── lua │ │ │ ├── luac.vim │ │ │ └── luacheck.vim │ │ ├── mail │ │ │ ├── alex.vim │ │ │ ├── languagetool.vim │ │ │ ├── proselint.vim │ │ │ └── vale.vim │ │ ├── make │ │ │ └── checkmake.vim │ │ ├── markdown │ │ │ ├── alex.vim │ │ │ ├── languagetool.vim │ │ │ ├── markdownlint.vim │ │ │ ├── mdl.vim │ │ │ ├── proselint.vim │ │ │ ├── redpen.vim │ │ │ ├── remark_lint.vim │ │ │ ├── textlint.vim │ │ │ ├── vale.vim │ │ │ └── writegood.vim │ │ ├── matlab │ │ │ └── mlint.vim │ │ ├── mercury │ │ │ └── mmc.vim │ │ ├── nasm │ │ │ └── nasm.vim │ │ ├── nim │ │ │ ├── nimcheck.vim │ │ │ └── nimlsp.vim │ │ ├── nix │ │ │ ├── nix.vim │ │ │ └── rnix_lsp.vim │ │ ├── nroff │ │ │ ├── alex.vim │ │ │ ├── proselint.vim │ │ │ └── writegood.vim │ │ ├── objc │ │ │ ├── ccls.vim │ │ │ ├── clang.vim │ │ │ └── clangd.vim │ │ ├── objcpp │ │ │ ├── clang.vim │ │ │ └── clangd.vim │ │ ├── ocaml │ │ │ ├── merlin.vim │ │ │ └── ols.vim │ │ ├── openapi │ │ │ ├── ibm_validator.vim │ │ │ └── yamllint.vim │ │ ├── perl │ │ │ ├── perl.vim │ │ │ └── perlcritic.vim │ │ ├── perl6 │ │ │ └── perl6.vim │ │ ├── php │ │ │ ├── intelephense.vim │ │ │ ├── langserver.vim │ │ │ ├── phan.vim │ │ │ ├── php.vim │ │ │ ├── phpcs.vim │ │ │ ├── phpmd.vim │ │ │ ├── phpstan.vim │ │ │ ├── psalm.vim │ │ │ └── tlint.vim │ │ ├── po │ │ │ ├── alex.vim │ │ │ ├── msgfmt.vim │ │ │ ├── proselint.vim │ │ │ └── writegood.vim │ │ ├── pod │ │ │ ├── alex.vim │ │ │ ├── proselint.vim │ │ │ └── writegood.vim │ │ ├── pony │ │ │ └── ponyc.vim │ │ ├── powershell │ │ │ ├── powershell.vim │ │ │ └── psscriptanalyzer.vim │ │ ├── prolog │ │ │ └── swipl.vim │ │ ├── proto │ │ │ └── protoc_gen_lint.vim │ │ ├── pug │ │ │ └── puglint.vim │ │ ├── puppet │ │ │ ├── languageserver.vim │ │ │ ├── puppet.vim │ │ │ └── puppetlint.vim │ │ ├── purescript │ │ │ └── ls.vim │ │ ├── pyrex │ │ │ └── cython.vim │ │ ├── python │ │ │ ├── bandit.vim │ │ │ ├── flake8.vim │ │ │ ├── jedils.vim │ │ │ ├── mypy.vim │ │ │ ├── prospector.vim │ │ │ ├── pycodestyle.vim │ │ │ ├── pydocstyle.vim │ │ │ ├── pyflakes.vim │ │ │ ├── pylama.vim │ │ │ ├── pylint.vim │ │ │ ├── pyls.vim │ │ │ ├── pyre.vim │ │ │ ├── pyright.vim │ │ │ └── vulture.vim │ │ ├── qml │ │ │ ├── qmlfmt.vim │ │ │ └── qmllint.vim │ │ ├── r │ │ │ ├── languageserver.vim │ │ │ └── lintr.vim │ │ ├── racket │ │ │ └── raco.vim │ │ ├── reason │ │ │ ├── ls.vim │ │ │ ├── merlin.vim │ │ │ └── ols.vim │ │ ├── review │ │ │ └── redpen.vim │ │ ├── rst │ │ │ ├── alex.vim │ │ │ ├── proselint.vim │ │ │ ├── redpen.vim │ │ │ ├── rstcheck.vim │ │ │ ├── textlint.vim │ │ │ ├── vale.vim │ │ │ └── writegood.vim │ │ ├── ruby │ │ │ ├── brakeman.vim │ │ │ ├── debride.vim │ │ │ ├── rails_best_practices.vim │ │ │ ├── reek.vim │ │ │ ├── rubocop.vim │ │ │ ├── ruby.vim │ │ │ ├── solargraph.vim │ │ │ ├── sorbet.vim │ │ │ └── standardrb.vim │ │ ├── rust │ │ │ ├── analyzer.vim │ │ │ ├── cargo.vim │ │ │ ├── rls.vim │ │ │ └── rustc.vim │ │ ├── salt │ │ │ └── salt_lint.vim │ │ ├── sass │ │ │ ├── sasslint.vim │ │ │ └── stylelint.vim │ │ ├── scala │ │ │ ├── fsc.vim │ │ │ ├── metals.vim │ │ │ ├── sbtserver.vim │ │ │ ├── scalac.vim │ │ │ └── scalastyle.vim │ │ ├── scss │ │ │ ├── sasslint.vim │ │ │ ├── scsslint.vim │ │ │ └── stylelint.vim │ │ ├── sh │ │ │ ├── bashate.vim │ │ │ ├── language_server.vim │ │ │ ├── shell.vim │ │ │ └── shellcheck.vim │ │ ├── slim │ │ │ └── slimlint.vim │ │ ├── sml │ │ │ ├── smlnj.vim │ │ │ └── smlnj_cm.vim │ │ ├── solidity │ │ │ ├── solc.vim │ │ │ ├── solhint.vim │ │ │ └── solium.vim │ │ ├── spec │ │ │ └── rpmlint.vim │ │ ├── sql │ │ │ ├── sqlint.vim │ │ │ └── sqllint.vim │ │ ├── stylus │ │ │ └── stylelint.vim │ │ ├── sugarss │ │ │ └── stylelint.vim │ │ ├── swift │ │ │ ├── sourcekitlsp.vim │ │ │ ├── swiftformat.vim │ │ │ └── swiftlint.vim │ │ ├── tcl │ │ │ └── nagelfar.vim │ │ ├── terraform │ │ │ ├── terraform.vim │ │ │ ├── terraform_ls.vim │ │ │ ├── terraform_lsp.vim │ │ │ └── tflint.vim │ │ ├── testft │ │ │ └── testlinter.vim │ │ ├── tex │ │ │ ├── alex.vim │ │ │ ├── chktex.vim │ │ │ ├── lacheck.vim │ │ │ ├── proselint.vim │ │ │ ├── redpen.vim │ │ │ ├── texlab.vim │ │ │ ├── textlint.vim │ │ │ ├── vale.vim │ │ │ └── writegood.vim │ │ ├── texinfo │ │ │ ├── alex.vim │ │ │ ├── proselint.vim │ │ │ └── writegood.vim │ │ ├── text │ │ │ ├── alex.vim │ │ │ ├── languagetool.vim │ │ │ ├── proselint.vim │ │ │ ├── redpen.vim │ │ │ ├── textlint.vim │ │ │ ├── vale.vim │ │ │ └── writegood.vim │ │ ├── thrift │ │ │ └── thrift.vim │ │ ├── typescript │ │ │ ├── deno.vim │ │ │ ├── eslint.vim │ │ │ ├── standard.vim │ │ │ ├── tslint.vim │ │ │ ├── tsserver.vim │ │ │ ├── typecheck.vim │ │ │ └── xo.vim │ │ ├── vala │ │ │ └── vala_lint.vim │ │ ├── verilog │ │ │ ├── hdl_checker.vim │ │ │ ├── iverilog.vim │ │ │ ├── verilator.vim │ │ │ ├── vlog.vim │ │ │ └── xvlog.vim │ │ ├── vhdl │ │ │ ├── ghdl.vim │ │ │ ├── hdl_checker.vim │ │ │ ├── vcom.vim │ │ │ └── xvhdl.vim │ │ ├── vim │ │ │ ├── ale_custom_linting_rules.vim │ │ │ ├── vimls.vim │ │ │ └── vint.vim │ │ ├── vue │ │ │ └── vls.vim │ │ ├── xhtml │ │ │ ├── alex.vim │ │ │ ├── proselint.vim │ │ │ └── writegood.vim │ │ ├── xml │ │ │ └── xmllint.vim │ │ ├── yaml │ │ │ ├── spectral.vim │ │ │ ├── swaglint.vim │ │ │ └── yamllint.vim │ │ ├── yang │ │ │ └── yang_lsp.vim │ │ └── zig │ │ │ └── zls.vim │ ├── autoload │ │ ├── ale.vim │ │ ├── ale │ │ │ ├── ant.vim │ │ │ ├── args.vim │ │ │ ├── assert.vim │ │ │ ├── balloon.vim │ │ │ ├── c.vim │ │ │ ├── code_action.vim │ │ │ ├── codefix.vim │ │ │ ├── command.vim │ │ │ ├── completion.vim │ │ │ ├── completion │ │ │ │ └── python.vim │ │ │ ├── cursor.vim │ │ │ ├── d.vim │ │ │ ├── debugging.vim │ │ │ ├── definition.vim │ │ │ ├── dhall.vim │ │ │ ├── engine.vim │ │ │ ├── engine │ │ │ │ └── ignore.vim │ │ │ ├── events.vim │ │ │ ├── filename_mapping.vim │ │ │ ├── filetypes.vim │ │ │ ├── fix.vim │ │ │ ├── fix │ │ │ │ └── registry.vim │ │ │ ├── fixers │ │ │ │ ├── astyle.vim │ │ │ │ ├── autoimport.vim │ │ │ │ ├── autopep8.vim │ │ │ │ ├── bibclean.vim │ │ │ │ ├── black.vim │ │ │ │ ├── brittany.vim │ │ │ │ ├── clangformat.vim │ │ │ │ ├── clangtidy.vim │ │ │ │ ├── cmakeformat.vim │ │ │ │ ├── dartfmt.vim │ │ │ │ ├── deno.vim │ │ │ │ ├── dfmt.vim │ │ │ │ ├── dhall_format.vim │ │ │ │ ├── dhall_freeze.vim │ │ │ │ ├── dhall_lint.vim │ │ │ │ ├── elm_format.vim │ │ │ │ ├── eslint.vim │ │ │ │ ├── fecs.vim │ │ │ │ ├── fish_indent.vim │ │ │ │ ├── fixjson.vim │ │ │ │ ├── floskell.vim │ │ │ │ ├── generic.vim │ │ │ │ ├── generic_python.vim │ │ │ │ ├── gnatpp.vim │ │ │ │ ├── gofmt.vim │ │ │ │ ├── goimports.vim │ │ │ │ ├── gomod.vim │ │ │ │ ├── google_java_format.vim │ │ │ │ ├── hackfmt.vim │ │ │ │ ├── help.vim │ │ │ │ ├── hfmt.vim │ │ │ │ ├── hindent.vim │ │ │ │ ├── hlint.vim │ │ │ │ ├── html_beautify.vim │ │ │ │ ├── importjs.vim │ │ │ │ ├── isort.vim │ │ │ │ ├── jq.vim │ │ │ │ ├── ktlint.vim │ │ │ │ ├── latexindent.vim │ │ │ │ ├── luafmt.vim │ │ │ │ ├── mix_format.vim │ │ │ │ ├── nimpretty.vim │ │ │ │ ├── nixpkgsfmt.vim │ │ │ │ ├── ocamlformat.vim │ │ │ │ ├── ocp_indent.vim │ │ │ │ ├── ormolu.vim │ │ │ │ ├── perltidy.vim │ │ │ │ ├── pgformatter.vim │ │ │ │ ├── php_cs_fixer.vim │ │ │ │ ├── phpcbf.vim │ │ │ │ ├── prettier.vim │ │ │ │ ├── prettier_eslint.vim │ │ │ │ ├── prettier_standard.vim │ │ │ │ ├── puppetlint.vim │ │ │ │ ├── purty.vim │ │ │ │ ├── qmlfmt.vim │ │ │ │ ├── refmt.vim │ │ │ │ ├── remark_lint.vim │ │ │ │ ├── reorder_python_imports.vim │ │ │ │ ├── rubocop.vim │ │ │ │ ├── rufo.vim │ │ │ │ ├── rustfmt.vim │ │ │ │ ├── scalafmt.vim │ │ │ │ ├── shfmt.vim │ │ │ │ ├── sorbet.vim │ │ │ │ ├── sqlfmt.vim │ │ │ │ ├── sqlformat.vim │ │ │ │ ├── standard.vim │ │ │ │ ├── standardrb.vim │ │ │ │ ├── stylelint.vim │ │ │ │ ├── styler.vim │ │ │ │ ├── stylish_haskell.vim │ │ │ │ ├── swiftformat.vim │ │ │ │ ├── terraform.vim │ │ │ │ ├── textlint.vim │ │ │ │ ├── tidy.vim │ │ │ │ ├── tslint.vim │ │ │ │ ├── uncrustify.vim │ │ │ │ ├── xmllint.vim │ │ │ │ ├── xo.vim │ │ │ │ ├── yamlfix.vim │ │ │ │ └── yapf.vim │ │ │ ├── floating_preview.vim │ │ │ ├── go.vim │ │ │ ├── gradle.vim │ │ │ ├── gradle │ │ │ │ └── init.gradle │ │ │ ├── handlers │ │ │ │ ├── alex.vim │ │ │ │ ├── atools.vim │ │ │ │ ├── ccls.vim │ │ │ │ ├── cppcheck.vim │ │ │ │ ├── cpplint.vim │ │ │ │ ├── css.vim │ │ │ │ ├── deno.vim │ │ │ │ ├── elixir.vim │ │ │ │ ├── eslint.vim │ │ │ │ ├── fecs.vim │ │ │ │ ├── flawfinder.vim │ │ │ │ ├── gawk.vim │ │ │ │ ├── gcc.vim │ │ │ │ ├── go.vim │ │ │ │ ├── haskell.vim │ │ │ │ ├── haskell_stack.vim │ │ │ │ ├── hdl_checker.vim │ │ │ │ ├── hlint.vim │ │ │ │ ├── inko.vim │ │ │ │ ├── ktlint.vim │ │ │ │ ├── languagetool.vim │ │ │ │ ├── markdownlint.vim │ │ │ │ ├── ols.vim │ │ │ │ ├── pony.vim │ │ │ │ ├── redpen.vim │ │ │ │ ├── ruby.vim │ │ │ │ ├── rust.vim │ │ │ │ ├── scala.vim │ │ │ │ ├── sh.vim │ │ │ │ ├── shellcheck.vim │ │ │ │ ├── sml.vim │ │ │ │ ├── spectral.vim │ │ │ │ ├── textlint.vim │ │ │ │ ├── tslint.vim │ │ │ │ ├── tsserver.vim │ │ │ │ ├── unix.vim │ │ │ │ ├── vale.vim │ │ │ │ ├── writegood.vim │ │ │ │ ├── xo.vim │ │ │ │ └── yamllint.vim │ │ │ ├── highlight.vim │ │ │ ├── history.vim │ │ │ ├── hover.vim │ │ │ ├── java.vim │ │ │ ├── job.vim │ │ │ ├── julia.vim │ │ │ ├── linter.vim │ │ │ ├── list.vim │ │ │ ├── loclist_jumping.vim │ │ │ ├── lsp.vim │ │ │ ├── lsp │ │ │ │ ├── message.vim │ │ │ │ ├── reset.vim │ │ │ │ ├── response.vim │ │ │ │ └── tsserver_message.vim │ │ │ ├── lsp_linter.vim │ │ │ ├── lsp_window.vim │ │ │ ├── maven.vim │ │ │ ├── node.vim │ │ │ ├── organize_imports.vim │ │ │ ├── other_source.vim │ │ │ ├── path.vim │ │ │ ├── pattern_options.vim │ │ │ ├── powershell.vim │ │ │ ├── preview.vim │ │ │ ├── python.vim │ │ │ ├── references.vim │ │ │ ├── rename.vim │ │ │ ├── ruby.vim │ │ │ ├── semver.vim │ │ │ ├── sign.vim │ │ │ ├── socket.vim │ │ │ ├── statusline.vim │ │ │ ├── swift.vim │ │ │ ├── symbol.vim │ │ │ ├── test.vim │ │ │ ├── toggle.vim │ │ │ ├── uri.vim │ │ │ ├── util.vim │ │ │ └── virtualtext.vim │ │ └── asyncomplete │ │ │ └── sources │ │ │ └── ale.vim │ ├── doc │ │ ├── ale-ada.txt │ │ ├── ale-ansible.txt │ │ ├── ale-apkbuild.txt │ │ ├── ale-asciidoc.txt │ │ ├── ale-asm.txt │ │ ├── ale-awk.txt │ │ ├── ale-bats.txt │ │ ├── ale-bib.txt │ │ ├── ale-c.txt │ │ ├── ale-chef.txt │ │ ├── ale-clojure.txt │ │ ├── ale-cloudformation.txt │ │ ├── ale-cmake.txt │ │ ├── ale-cpp.txt │ │ ├── ale-cs.txt │ │ ├── ale-css.txt │ │ ├── ale-cuda.txt │ │ ├── ale-d.txt │ │ ├── ale-dafny.txt │ │ ├── ale-dart.txt │ │ ├── ale-development.txt │ │ ├── ale-dhall.txt │ │ ├── ale-dockerfile.txt │ │ ├── ale-elixir.txt │ │ ├── ale-elm.txt │ │ ├── ale-erlang.txt │ │ ├── ale-eruby.txt │ │ ├── ale-fish.txt │ │ ├── ale-fortran.txt │ │ ├── ale-fountain.txt │ │ ├── ale-fuse.txt │ │ ├── ale-gitcommit.txt │ │ ├── ale-glsl.txt │ │ ├── ale-go.txt │ │ ├── ale-graphql.txt │ │ ├── ale-hack.txt │ │ ├── ale-handlebars.txt │ │ ├── ale-haskell.txt │ │ ├── ale-hcl.txt │ │ ├── ale-html.txt │ │ ├── ale-idris.txt │ │ ├── ale-ink.txt │ │ ├── ale-inko.txt │ │ ├── ale-ispc.txt │ │ ├── ale-java.txt │ │ ├── ale-javascript.txt │ │ ├── ale-json.txt │ │ ├── ale-julia.txt │ │ ├── ale-kotlin.txt │ │ ├── ale-latex.txt │ │ ├── ale-less.txt │ │ ├── ale-llvm.txt │ │ ├── ale-lua.txt │ │ ├── ale-markdown.txt │ │ ├── ale-mercury.txt │ │ ├── ale-nasm.txt │ │ ├── ale-nim.txt │ │ ├── ale-nix.txt │ │ ├── ale-nroff.txt │ │ ├── ale-objc.txt │ │ ├── ale-objcpp.txt │ │ ├── ale-ocaml.txt │ │ ├── ale-openapi.txt │ │ ├── ale-pawn.txt │ │ ├── ale-perl.txt │ │ ├── ale-perl6.txt │ │ ├── ale-php.txt │ │ ├── ale-po.txt │ │ ├── ale-pod.txt │ │ ├── ale-pony.txt │ │ ├── ale-powershell.txt │ │ ├── ale-prolog.txt │ │ ├── ale-proto.txt │ │ ├── ale-pug.txt │ │ ├── ale-puppet.txt │ │ ├── ale-purescript.txt │ │ ├── ale-pyrex.txt │ │ ├── ale-python.txt │ │ ├── ale-qml.txt │ │ ├── ale-r.txt │ │ ├── ale-reasonml.txt │ │ ├── ale-restructuredtext.txt │ │ ├── ale-ruby.txt │ │ ├── ale-rust.txt │ │ ├── ale-salt.tmt │ │ ├── ale-sass.txt │ │ ├── ale-scala.txt │ │ ├── ale-scss.txt │ │ ├── ale-sh.txt │ │ ├── ale-sml.txt │ │ ├── ale-solidity.txt │ │ ├── ale-spec.txt │ │ ├── ale-sql.txt │ │ ├── ale-stylus.txt │ │ ├── ale-sugarss.txt │ │ ├── ale-supported-languages-and-tools.txt │ │ ├── ale-swift.txt │ │ ├── ale-tcl.txt │ │ ├── ale-terraform.txt │ │ ├── ale-tex.txt │ │ ├── ale-texinfo.txt │ │ ├── ale-text.txt │ │ ├── ale-thrift.txt │ │ ├── ale-typescript.txt │ │ ├── ale-vala.txt │ │ ├── ale-verilog.txt │ │ ├── ale-vhdl.txt │ │ ├── ale-vim-help.txt │ │ ├── ale-vim.txt │ │ ├── ale-vue.txt │ │ ├── ale-xhtml.txt │ │ ├── ale-xml.txt │ │ ├── ale-yaml.txt │ │ ├── ale-yang.txt │ │ ├── ale-zig.txt │ │ ├── ale.txt │ │ └── tags │ ├── ftplugin │ │ ├── ale-fix-suggest.vim │ │ ├── ale-preview-selection.vim │ │ └── ale-preview.vim │ ├── plugin │ │ └── ale.vim │ ├── rplugin │ │ └── python3 │ │ │ └── deoplete │ │ │ └── sources │ │ │ └── ale.py │ ├── supported-tools.md │ └── syntax │ │ ├── ale-fix-suggest.vim │ │ └── ale-preview-selection.vim │ ├── wellle-tmux-complete-vim │ ├── MIT-LICENSE │ ├── README.md │ ├── autoload │ │ ├── asyncomplete │ │ │ └── sources │ │ │ │ └── tmuxcomplete.vim │ │ ├── coc │ │ │ └── source │ │ │ │ └── tmuxcomplete.vim │ │ ├── ncm2 │ │ │ └── sources │ │ │ │ └── tmuxcomplete.vim │ │ ├── neocomplcache │ │ │ └── sources │ │ │ │ └── tmuxcomplete.vim │ │ ├── neocomplete │ │ │ └── sources │ │ │ │ └── tmuxcomplete.vim │ │ ├── tmuxcomplete.vim │ │ ├── tmuxcomplete │ │ │ └── async.vim │ │ └── unite │ │ │ └── sources │ │ │ └── tmuxcomplete.vim │ ├── plugin │ │ └── tmuxcomplete.vim │ ├── pythonx │ │ └── ncm2_tmux_complete.py │ ├── rplugin │ │ └── python3 │ │ │ └── deoplete │ │ │ └── sources │ │ │ └── tmuxcomplete.py │ └── sh │ │ └── tmuxcomplete │ ├── wincent-terminus │ ├── .watchmanconfig │ ├── LICENSE.txt │ ├── README.md │ ├── autoload │ │ └── terminus │ │ │ └── private.vim │ ├── doc │ │ ├── .gitignore │ │ └── terminus.txt │ └── plugin │ │ └── terminus.vim │ └── xtal8-traces-vim │ ├── LICENSE │ ├── README.md │ ├── autoload │ └── traces.vim │ ├── doc │ ├── tags │ └── traces.txt │ ├── img │ └── traces_example.gif │ ├── plugin │ └── traces.vim │ └── test │ └── traces.vader ├── tags ├── temp └── .createme ├── undo └── .createme └── vimrc /.exrc: -------------------------------------------------------------------------------- 1 | set makeprg=go\ run\ get-plugins.go 2 | set path=. 3 | nmap M :AsyncRun go run get-plugins.go 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | temp/* 2 | backup/* 3 | undo/* 4 | ctrlp_cache/* 5 | view/* 6 | spell/* 7 | .netrwhist 8 | ./tags 9 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # robertmeta's vimrc 2 | 3 | Don't copy this wholesale, pick and choose the pieces you want, I try to keep it well commented. 4 | 5 | Now using the vim8 pack format, to update use 'go run get-plugins.go' 6 | 7 | ... Seriously, don't fork this. 8 | -------------------------------------------------------------------------------- /backup/.createme: -------------------------------------------------------------------------------- 1 | createme 2 | -------------------------------------------------------------------------------- /minisnip/_go_bench: -------------------------------------------------------------------------------- 1 | func Benchmark{{++}} (b *testing.B) { 2 | for i := 0; i < b.N; i++ { 3 | {{++}} 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /minisnip/_go_case: -------------------------------------------------------------------------------- 1 | case {{++}}: 2 | {{++}} 3 | -------------------------------------------------------------------------------- /minisnip/_go_con: -------------------------------------------------------------------------------- 1 | const ( 2 | {{++}} 3 | ) 4 | -------------------------------------------------------------------------------- /minisnip/_go_dfn: -------------------------------------------------------------------------------- 1 | defer func() { 2 | {{++}} 3 | }() 4 | -------------------------------------------------------------------------------- /minisnip/_go_dfnr: -------------------------------------------------------------------------------- 1 | defer func() { 2 | err := recover() 3 | if err != nil { 4 | {{++}} 5 | } 6 | }() 7 | -------------------------------------------------------------------------------- /minisnip/_go_el: -------------------------------------------------------------------------------- 1 | else {{++}} { 2 | {{++}} 3 | } 4 | -------------------------------------------------------------------------------- /minisnip/_go_err: -------------------------------------------------------------------------------- 1 | if err != nil { 2 | {{++}} 3 | } 4 | -------------------------------------------------------------------------------- /minisnip/_go_errl: -------------------------------------------------------------------------------- 1 | if err != nil { 2 | log.Println("{{++}}") 3 | log.Fatal(err) 4 | } 5 | -------------------------------------------------------------------------------- /minisnip/_go_fn: -------------------------------------------------------------------------------- 1 | func {{++}}() {{++}} { 2 | {{++}} 3 | } 4 | -------------------------------------------------------------------------------- /minisnip/_go_fo: -------------------------------------------------------------------------------- 1 | for {{++}}, {{++}}, {{++}} { 2 | {{++}} 3 | } 4 | -------------------------------------------------------------------------------- /minisnip/_go_fr: -------------------------------------------------------------------------------- 1 | for {{++}}, {{++}} := range {{++}} { 2 | {{++}} 3 | } 4 | -------------------------------------------------------------------------------- /minisnip/_go_ie: -------------------------------------------------------------------------------- 1 | if {{++}} { 2 | {{++}} 3 | } else { 4 | {{++}} 5 | } 6 | -------------------------------------------------------------------------------- /minisnip/_go_if: -------------------------------------------------------------------------------- 1 | if {{++}} { 2 | {{++}} 3 | } 4 | -------------------------------------------------------------------------------- /minisnip/_go_im: -------------------------------------------------------------------------------- 1 | import ( 2 | {{++}} 3 | ) 4 | -------------------------------------------------------------------------------- /minisnip/_go_in: -------------------------------------------------------------------------------- 1 | interface {{++}} { 2 | {{++}} 3 | } 4 | -------------------------------------------------------------------------------- /minisnip/_go_main: -------------------------------------------------------------------------------- 1 | func main() {{++}} { 2 | {{++}} 3 | } 4 | -------------------------------------------------------------------------------- /minisnip/_go_mr: -------------------------------------------------------------------------------- 1 | func ({{++}}) {{++}}() {{++}} { 2 | {{++}} 3 | } 4 | -------------------------------------------------------------------------------- /minisnip/_go_prl: -------------------------------------------------------------------------------- 1 | log.Println("{{++}}") 2 | -------------------------------------------------------------------------------- /minisnip/_go_sl: -------------------------------------------------------------------------------- 1 | select { 2 | case {{++}}: 3 | {{++}} 4 | } 5 | -------------------------------------------------------------------------------- /minisnip/_go_st: -------------------------------------------------------------------------------- 1 | struct {{++}} { 2 | {{++}} 3 | } 4 | -------------------------------------------------------------------------------- /minisnip/_go_sw: -------------------------------------------------------------------------------- 1 | switch {{++}} { 2 | case {{++}}: 3 | {{++}} 4 | default: 5 | {{++}} 6 | } 7 | -------------------------------------------------------------------------------- /minisnip/_go_test: -------------------------------------------------------------------------------- 1 | func Test{{++}} (t *testing.T) { 2 | {{++}} 3 | } 4 | -------------------------------------------------------------------------------- /minisnip/_go_var: -------------------------------------------------------------------------------- 1 | var ( 2 | {{++}} 3 | ) 4 | -------------------------------------------------------------------------------- /pack/colors/start/cormacrelf-vim-colors-github/shots/dark-diff.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robertmeta/vimfiles/d4870ff659d0b7db72eb6000a86d15348f9b8c0d/pack/colors/start/cormacrelf-vim-colors-github/shots/dark-diff.png -------------------------------------------------------------------------------- /pack/colors/start/cormacrelf-vim-colors-github/shots/dark-ui-elements.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robertmeta/vimfiles/d4870ff659d0b7db72eb6000a86d15348f9b8c0d/pack/colors/start/cormacrelf-vim-colors-github/shots/dark-ui-elements.png -------------------------------------------------------------------------------- /pack/colors/start/cormacrelf-vim-colors-github/shots/dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robertmeta/vimfiles/d4870ff659d0b7db72eb6000a86d15348f9b8c0d/pack/colors/start/cormacrelf-vim-colors-github/shots/dark.png -------------------------------------------------------------------------------- /pack/colors/start/cormacrelf-vim-colors-github/shots/light-diff.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robertmeta/vimfiles/d4870ff659d0b7db72eb6000a86d15348f9b8c0d/pack/colors/start/cormacrelf-vim-colors-github/shots/light-diff.png -------------------------------------------------------------------------------- /pack/colors/start/cormacrelf-vim-colors-github/shots/light-ui-elements.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robertmeta/vimfiles/d4870ff659d0b7db72eb6000a86d15348f9b8c0d/pack/colors/start/cormacrelf-vim-colors-github/shots/light-ui-elements.png -------------------------------------------------------------------------------- /pack/colors/start/cormacrelf-vim-colors-github/shots/light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robertmeta/vimfiles/d4870ff659d0b7db72eb6000a86d15348f9b8c0d/pack/colors/start/cormacrelf-vim-colors-github/shots/light.png -------------------------------------------------------------------------------- /pack/colors/start/cormacrelf-vim-colors-github/shots/soft-diff.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robertmeta/vimfiles/d4870ff659d0b7db72eb6000a86d15348f9b8c0d/pack/colors/start/cormacrelf-vim-colors-github/shots/soft-diff.png -------------------------------------------------------------------------------- /pack/colors/start/cormacrelf-vim-colors-github/shots/soft-ui-elements.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robertmeta/vimfiles/d4870ff659d0b7db72eb6000a86d15348f9b8c0d/pack/colors/start/cormacrelf-vim-colors-github/shots/soft-ui-elements.png -------------------------------------------------------------------------------- /pack/colors/start/cormacrelf-vim-colors-github/shots/soft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robertmeta/vimfiles/d4870ff659d0b7db72eb6000a86d15348f9b8c0d/pack/colors/start/cormacrelf-vim-colors-github/shots/soft.png -------------------------------------------------------------------------------- /pack/colors/start/romainl-apprentice/Makefile: -------------------------------------------------------------------------------- 1 | ####### ## ## ####### 2 | ## ## ### ## ## ## 3 | ## ## #### ## ## ## 4 | ####### ## ## ## ####### 5 | ## ## ## #### ## ## 6 | ## ## ## ### ## ## 7 | ## ## ## ## ####### 8 | 9 | VIM_OUTPUTS = $(patsubst %.erb,%.vim,$(wildcard colors/*.erb)) 10 | 11 | .PHONY: all 12 | 13 | all: $(VIM_OUTPUTS) 14 | 15 | %.vim: %.erb 16 | erb -T - $< > $@ 17 | -------------------------------------------------------------------------------- /pack/colors/start/romainl-disciple/screenshots/disciple_js.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robertmeta/vimfiles/d4870ff659d0b7db72eb6000a86d15348f9b8c0d/pack/colors/start/romainl-disciple/screenshots/disciple_js.png -------------------------------------------------------------------------------- /pack/colors/start/romainl-disciple/screenshots/disciple_py.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robertmeta/vimfiles/d4870ff659d0b7db72eb6000a86d15348f9b8c0d/pack/colors/start/romainl-disciple/screenshots/disciple_py.png -------------------------------------------------------------------------------- /pack/colors/start/romainl-disciple/screenshots/disciple_vim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robertmeta/vimfiles/d4870ff659d0b7db72eb6000a86d15348f9b8c0d/pack/colors/start/romainl-disciple/screenshots/disciple_vim.png -------------------------------------------------------------------------------- /pack/plugins/start/airblade-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 | -------------------------------------------------------------------------------- /pack/plugins/start/airblade-vim-gitgutter/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robertmeta/vimfiles/d4870ff659d0b7db72eb6000a86d15348f9b8c0d/pack/plugins/start/airblade-vim-gitgutter/screenshot.png -------------------------------------------------------------------------------- /pack/plugins/start/airblade-vim-gitgutter/test/cp932.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robertmeta/vimfiles/d4870ff659d0b7db72eb6000a86d15348f9b8c0d/pack/plugins/start/airblade-vim-gitgutter/test/cp932.txt -------------------------------------------------------------------------------- /pack/plugins/start/airblade-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 | -------------------------------------------------------------------------------- /pack/plugins/start/airblade-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 | -------------------------------------------------------------------------------- /pack/plugins/start/airblade-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 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/.codecov.yml: -------------------------------------------------------------------------------- 1 | --- 2 | coverage: 3 | status: 4 | project: 5 | default: 6 | target: auto 7 | threshold: 1 8 | base: auto 9 | patch: off 10 | comment: false 11 | ignore: 12 | - "!autoload/go/*.vim$" 13 | - "autoload/go/*_test.vim$" 14 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/.coveragerc: -------------------------------------------------------------------------------- 1 | [run] 2 | plugins = covimerage 3 | data_file = .coverage_covimerage 4 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/.dockerignore: -------------------------------------------------------------------------------- 1 | .local/ 2 | .config/ 3 | .cache/ 4 | .dlv/ 5 | .git/ 6 | .viminfo 7 | issues/ 8 | autoload/go/**/pkg/ 9 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/.editorconfig: -------------------------------------------------------------------------------- 1 | # http://EditorConfig.org 2 | 3 | root = true 4 | 5 | [*] 6 | charset = utf-8 7 | indent_style = space 8 | indent_size = 2 9 | trim_trailing_whitespace = true 10 | 11 | [*.go] 12 | indent_style = tab 13 | indent_size = 4 14 | 15 | [Makefile] 16 | indent_style = tab 17 | indent_size = 8 18 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Thanks for improving vim-go! Before you dive in please read the following: 2 | 3 | 1. Please read our 4 | [Documentation](https://github.com/fatih/vim-go/blob/master/doc/vim-go.txt), 5 | it might have a solution to your problem. 6 | 2. If you add a new feature then please don't forget to update the documentation: 7 | [doc/vim-go.txt](https://github.com/fatih/vim-go/blob/master/doc/vim-go.txt). 8 | 3. If it's a breaking change or exceeds 100 lines of code then please open an 9 | issue first and describe the changes you want to make. 10 | 4. See `:help go-development` for instructions on how to run and write tests. If 11 | you add a new feature be sure you also include a test if feasible. 12 | 13 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | patreon: bhcleek 2 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/.vintrc.yaml: -------------------------------------------------------------------------------- 1 | policies: 2 | ProhibitUnnecessaryDoubleQuote: 3 | enabled: false 4 | ProhibitEqualTildeOperator: 5 | enabled: false 6 | ProhibitNoAbortFunction: 7 | enabled: false 8 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM golang:1.15.1 2 | 3 | RUN apt-get update -y --allow-insecure-repositories && \ 4 | apt-get install -y build-essential curl git libncurses5-dev python3-pip && \ 5 | apt-get clean && \ 6 | rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* 7 | 8 | RUN pip3 install vim-vint 9 | 10 | RUN useradd -ms /bin/bash -d /vim-go vim-go 11 | USER vim-go 12 | 13 | COPY scripts/install-vim /vim-go/scripts/install-vim 14 | WORKDIR /vim-go 15 | 16 | RUN scripts/install-vim vim-8.0 17 | RUN scripts/install-vim vim-8.2 18 | RUN scripts/install-vim nvim 19 | 20 | COPY . /vim-go/ 21 | WORKDIR /vim-go 22 | 23 | RUN scripts/install-tools vim-8.0 24 | RUN scripts/install-tools vim-8.2 25 | RUN scripts/install-tools nvim 26 | 27 | ENTRYPOINT ["make"] 28 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/Makefile: -------------------------------------------------------------------------------- 1 | VIMS ?= vim-8.0 vim-8.2 nvim 2 | TEST_FLAGS ?= 3 | 4 | all: install lint test 5 | 6 | install: 7 | @echo "==> Installing Vims: $(VIMS)" 8 | @for vim in $(VIMS); do \ 9 | ./scripts/install-vim $$vim; \ 10 | ./scripts/install-tools $$vim; \ 11 | done 12 | 13 | test: 14 | @echo "==> Running tests for $(VIMS)" 15 | @for vim in $(VIMS); do \ 16 | ./scripts/test $(TEST_FLAGS) $$vim; \ 17 | done 18 | 19 | lint: 20 | @echo "==> Running linting tools" 21 | @./scripts/lint vim-8.2 22 | 23 | docker: 24 | @echo "==> Building/starting Docker container" 25 | @./scripts/docker-test 26 | 27 | clean: 28 | @echo "==> Cleaning /tmp/vim-go-test" 29 | @rm -rf /tmp/vim-go-test 30 | 31 | .PHONY: all test install clean lint docker 32 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/addon-info.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vim-go", 3 | "description": "Full featured Go (golang) support for Vim.", 4 | "author": "Fatih Arslan ", 5 | "repository" : {"type": "git", "url": "https://github.com/fatih/vim-go.git"} 6 | } 7 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/assets/vim-go.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robertmeta/vimfiles/d4870ff659d0b7db72eb6000a86d15348f9b8c0d/pack/plugins/start/fatih-vim-go/assets/vim-go.png -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/complete_test.vim: -------------------------------------------------------------------------------- 1 | " don't spam the user when Vim is started in Vi compatibility mode 2 | let s:cpo_save = &cpo 3 | set cpo&vim 4 | 5 | func! Test_GetInfo_gopls() 6 | let g:go_info_mode = 'gopls' 7 | call s:getinfo() 8 | unlet g:go_info_mode 9 | endfunction 10 | 11 | func! s:getinfo() 12 | let l:filename = 'complete/complete.go' 13 | let l:tmp = gotest#load_fixture(l:filename) 14 | try 15 | call cursor(8, 3) 16 | 17 | let expected = 'func Example(s string)' 18 | let actual = go#complete#GetInfo() 19 | call assert_equal(expected, actual) 20 | finally 21 | call delete(l:tmp, 'rf') 22 | endtry 23 | endfunction 24 | 25 | " restore Vi compatibility settings 26 | let &cpo = s:cpo_save 27 | unlet s:cpo_save 28 | 29 | " vim: sw=2 ts=2 et 30 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/guru_test.vim: -------------------------------------------------------------------------------- 1 | " don't spam the user when Vim is started in Vi compatibility mode 2 | let s:cpo_save = &cpo 3 | set cpo&vim 4 | 5 | function Test_GuruScope_Set() abort 6 | silent call go#guru#Scope("example.com/foo/bar") 7 | let actual = go#config#GuruScope() 8 | call assert_equal(["example.com/foo/bar"], actual) 9 | 10 | silent call go#guru#Scope('""') 11 | silent let actual = go#config#GuruScope() 12 | call assert_equal([], actual, "setting scope to empty string should clear") 13 | 14 | if exists('g:go_guru_scope') 15 | unlet g:go_guru_scope 16 | endif 17 | endfunction 18 | 19 | " restore Vi compatibility settings 20 | let &cpo = s:cpo_save 21 | unlet s:cpo_save 22 | 23 | " vim: sw=2 ts=2 et 24 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/iferr.vim: -------------------------------------------------------------------------------- 1 | " don't spam the user when Vim is started in Vi compatibility mode 2 | let s:cpo_save = &cpo 3 | set cpo&vim 4 | 5 | function! go#iferr#Generate() 6 | let [l:out, l:err] = go#util#Exec(['iferr', 7 | \ '-pos=' . go#util#OffsetCursor()], go#util#GetLines()) 8 | if len(l:out) == 1 9 | return 10 | endif 11 | if getline('.') =~ '^\s*$' 12 | silent delete _ 13 | silent normal! k 14 | endif 15 | let l:pos = getcurpos() 16 | call append(l:pos[1], split(l:out, "\n")) 17 | silent normal! j=2j 18 | call setpos('.', l:pos) 19 | silent normal! 4j 20 | endfunction 21 | 22 | " restore Vi compatibility settings 23 | let &cpo = s:cpo_save 24 | unlet s:cpo_save 25 | 26 | " vim: sw=2 ts=2 et 27 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/cmd/bad.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | func main() { 4 | notafunc() 5 | } 6 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/complete/complete.go: -------------------------------------------------------------------------------- 1 | package complete 2 | 3 | type T struct { 4 | V string 5 | } 6 | 7 | func Example(s string) { 8 | Example("") 9 | } 10 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/config/buildtags/buildtags.go: -------------------------------------------------------------------------------- 1 | package config 2 | 3 | func Example() { 4 | foo() 5 | } 6 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/config/buildtags/constrainedfoo.go: -------------------------------------------------------------------------------- 1 | // +build constrained 2 | 3 | package config 4 | 5 | // foo is constrained and this comment exists to make the line numbers different than foo.go 6 | func foo() { 7 | println("foo") 8 | } 9 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/config/buildtags/foo.go: -------------------------------------------------------------------------------- 1 | // +build !constrained 2 | 3 | package config 4 | 5 | func foo() { 6 | println("foo") 7 | } 8 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/config/buildtags/go.mod: -------------------------------------------------------------------------------- 1 | module config 2 | 3 | go 1.13 4 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/debug/compilerror/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func main() { 6 | fmt.Println("vim-go" 7 | } 8 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/debug/debugmain/debugmain.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func main() { 6 | fmt.Println("vim-go") 7 | } 8 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/def/jump.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func main() { 6 | fmt.Println("vim-go") 7 | } 8 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/fmt/hello.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func main() { 6 | fmt.Println("vim-go") 7 | } 8 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/fmt/hello_golden.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func main() { 6 | fmt.Println("vim-go") 7 | } 8 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/fmt/src/imports/goimports.go: -------------------------------------------------------------------------------- 1 | package main 2 | func Foo(log *logging.TestLogger) { 3 | log.Debug("vim-go") 4 | } 5 | 6 | func main() { 7 | fmt.Println("vim-go") 8 | } 9 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/fmt/src/imports/goimports_golden.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | 6 | logging "gh.com/gi/foo-logging" 7 | ) 8 | 9 | func Foo(log *logging.TestLogger) { 10 | log.Debug("vim-go") 11 | } 12 | 13 | func main() { 14 | fmt.Println("vim-go") 15 | } 16 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/fmt/src/imports/vendor/gh.com/gi/foo-logging/logger.go: -------------------------------------------------------------------------------- 1 | package logging 2 | 3 | import "fmt" 4 | 5 | type TestLogger struct { 6 | Value string 7 | } 8 | 9 | func (l *TestLogger) Debug(msg string) { 10 | fmt.Println(msg) 11 | fmt.Println(l.Value) 12 | } 13 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/job/dir has spaces/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | func main() { 4 | notafunc() 5 | println("vim-go") 6 | } 7 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/lint/src/errcheck/compilererror/compilererror.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func main() { 6 | fmt.Println("vim-go" 7 | } 8 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/lint/src/errcheck/errcheck.go: -------------------------------------------------------------------------------- 1 | package errcheck 2 | 3 | import ( 4 | "io" 5 | "os" 6 | ) 7 | 8 | func foo() { 9 | io.Copy(os.Stdout, os.Stdin) 10 | } 11 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/lint/src/errcheck/errcheck_test.go: -------------------------------------------------------------------------------- 1 | package errcheck 2 | 3 | import ( 4 | "io" 5 | "os" 6 | "testing" 7 | ) 8 | 9 | func TestFoo(t *testing.T) { 10 | io.Copy(os.Stdout, os.Stdin) 11 | } 12 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/lint/src/foo/foo.go: -------------------------------------------------------------------------------- 1 | package foo 2 | 3 | import "fmt" 4 | 5 | func MissingFooDoc() { 6 | fmt.Println("missing doc") 7 | } 8 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/lint/src/lint/baz.go: -------------------------------------------------------------------------------- 1 | package lint 2 | 3 | func baz() {} 4 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/lint/src/lint/golangci-lint/problems/importabs/ok.go: -------------------------------------------------------------------------------- 1 | package problems 2 | 3 | func bar() {} 4 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/lint/src/lint/golangci-lint/problems/importabs/problems.go: -------------------------------------------------------------------------------- 1 | package problems 2 | 3 | import "/quux" 4 | 5 | func baz() {} 6 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/lint/src/lint/golangci-lint/problems/multiple/problems.go: -------------------------------------------------------------------------------- 1 | package problems 2 | 3 | import ( 4 | "time" 5 | ) 6 | 7 | func mySleep(time int) { 8 | time.Sleep(500 * time.Millisecond) 9 | } 10 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/lint/src/lint/golangci-lint/problems/shadow/problems.go: -------------------------------------------------------------------------------- 1 | package problems 2 | 3 | func mySleep(time int) { 4 | time.Sleep(500 * time.Millisecond) 5 | } 6 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/lint/src/lint/lint.go: -------------------------------------------------------------------------------- 1 | package lint 2 | 3 | import "fmt" 4 | 5 | func MissingDoc() { 6 | fmt.Println("missing doc") 7 | } 8 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/lint/src/lint/quux.go: -------------------------------------------------------------------------------- 1 | package lint 2 | 3 | import "fmt" 4 | 5 | func AlsoMissingDoc() { 6 | fmt.Println("missing doc") 7 | } 8 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/lint/src/vet/compilererror/compilererror.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func main() { 6 | fmt.Println("vim-go" 7 | } 8 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/lint/src/vet/vet.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func main() { 6 | str := "hello world!" 7 | fmt.Printf("%d\n", str) 8 | } 9 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/lsp/fmt/format.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func main() { 6 | fmt.Println("vim-go") 7 | } 8 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/lsp/fmt/format_golden.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func main() { 6 | fmt.Println("vim-go") 7 | } 8 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/lsp/fmt/newline.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | func main() { 5 | fmt.Println("vim-go") 6 | } 7 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/lsp/imports/imports.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | ) 6 | 7 | func main() { 8 | io.Copy(ioutil.Discard, os.Stdin) 9 | fmt.Println("vim-go") 10 | } 11 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/lsp/imports/imports_golden.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | "io" 6 | "io/ioutil" 7 | "os" 8 | ) 9 | 10 | func main() { 11 | io.Copy(ioutil.Discard, os.Stdin) 12 | fmt.Println("vim-go") 13 | } 14 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/package/src/package/bar/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robertmeta/vimfiles/d4870ff659d0b7db72eb6000a86d15348f9b8c0d/pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/package/src/package/bar/.gitkeep -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/package/src/package/baz/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robertmeta/vimfiles/d4870ff659d0b7db72eb6000a86d15348f9b8c0d/pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/package/src/package/baz/.gitkeep -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/package/src/package/go.mod: -------------------------------------------------------------------------------- 1 | module package 2 | 3 | go 1.12 4 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/package/src/package/package.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func main() { 6 | fmt.Println("vim-go") 7 | } 8 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/package/src/package/vendor/foo/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robertmeta/vimfiles/d4870ff659d0b7db72eb6000a86d15348f9b8c0d/pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/package/src/package/vendor/foo/.gitkeep -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/tags/add_all_golden.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | type Server struct { 4 | Name string `json:"name"` 5 | ID int `json:"id"` 6 | MyHomeAddress string `json:"my_home_address"` 7 | SubDomains []string `json:"sub_domains"` 8 | Empty string `json:"empty"` 9 | Example int64 `json:"example"` 10 | Example2 string `json:"example_2"` 11 | Bar struct { 12 | Four string `json:"four"` 13 | Five string `json:"five"` 14 | } `json:"bar"` 15 | Lala interface{} `json:"lala"` 16 | } 17 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/tags/add_all_input.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | type Server struct { 4 | Name string 5 | ID int 6 | MyHomeAddress string 7 | SubDomains []string 8 | Empty string 9 | Example int64 10 | Example2 string 11 | Bar struct { 12 | Four string 13 | Five string 14 | } 15 | Lala interface{} 16 | } 17 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/tags/remove_all_golden.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | type Server struct { 4 | Name string 5 | ID int 6 | MyHomeAddress string 7 | SubDomains []string 8 | Empty string 9 | Example int64 10 | Example2 string 11 | Bar struct { 12 | Four string 13 | Five string 14 | } 15 | Lala interface{} 16 | } 17 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/tags/remove_all_input.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | type Server struct { 4 | Name string `json:"name"` 5 | ID int `json:"id"` 6 | MyHomeAddress string `json:"my_home_address"` 7 | SubDomains []string `json:"sub_domains"` 8 | Empty string `json:"empty"` 9 | Example int64 `json:"example"` 10 | Example2 string `json:"example_2"` 11 | Bar struct { 12 | Four string `json:"four"` 13 | Five string `json:"five"` 14 | } `json:"bar"` 15 | Lala interface{} `json:"lala"` 16 | } 17 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/term/term.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | func main() { 4 | println("hello, world") 5 | } 6 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/test/.gitignore: -------------------------------------------------------------------------------- 1 | /pkg 2 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/test/src/compilerror/compilerror.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func main() { 6 | fmt.Println("vim-go" 7 | } 8 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/test/src/example/example_test.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | ) 6 | 7 | func ExampleHelloWorld() { 8 | fmt.Println("Hello, World") 9 | // Output: What's shakin 10 | } 11 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/test/src/play/mock/controller.go: -------------------------------------------------------------------------------- 1 | package mock 2 | 3 | import "testing" 4 | 5 | func Fail(t *testing.T) { 6 | t.Fatal("another package badness") 7 | } 8 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/test/src/showname/showname_test.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "testing" 4 | 5 | func TestHelloWorld(t *testing.T) { 6 | t.Error("so long") 7 | 8 | t.Run("sub", func(t *testing.T) { 9 | t.Error("thanks for all the fish") 10 | }) 11 | } 12 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/test/src/testcompilerror/testcompilerror_test.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "io/ioutil" 5 | "testing" 6 | ) 7 | 8 | func TestSomething(t *testing.T) { 9 | r := struct{}{} 10 | ioutil.ReadAll(r) 11 | } 12 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/autoload/go/test-fixtures/test/src/veterror/veterror.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func main() { 6 | fmt.Errorf("%v") 7 | } 8 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/ftplugin/gohtmltmpl.vim: -------------------------------------------------------------------------------- 1 | if exists("b:did_ftplugin") 2 | finish 3 | endif 4 | 5 | runtime! ftplugin/html.vim 6 | 7 | " vim: sw=2 ts=2 et 8 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/ftplugin/gomod/commands.vim: -------------------------------------------------------------------------------- 1 | command! -nargs=0 -range GoModFmt call go#mod#Format() 2 | 3 | command! -nargs=0 GoModFmtAutoSaveToggle call go#mod#ToggleModFmtAutoSave() 4 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/ftplugin/gomod/mappings.vim: -------------------------------------------------------------------------------- 1 | nnoremap (go-mod-fmt) :call go#mod#Format() 2 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/gosnippets/minisnip/_go_eq: -------------------------------------------------------------------------------- 1 | if !reflect.DeepEqual({{+got+}}, {{+want+}}) { 2 | t.Errorf("\ngot: %#v\nwant: %#v\n", {{+~\~2+}}, {{+~\~2+}}) 3 | } 4 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/gosnippets/minisnip/_go_err: -------------------------------------------------------------------------------- 1 | if err != nil { 2 | return {{+err+}} 3 | } 4 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/gosnippets/minisnip/_go_errt: -------------------------------------------------------------------------------- 1 | if err != nil { 2 | t.Fatal(err) 3 | } 4 | {{++}} 5 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/gosnippets/minisnip/_go_errw: -------------------------------------------------------------------------------- 1 | if err != nil { 2 | return errors.Wrap(err, "{{++}}") 3 | } 4 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/gosnippets/minisnip/_go_f: -------------------------------------------------------------------------------- 1 | // {{++}} 2 | func {{+~\~1+}}() { 3 | } 4 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/gosnippets/minisnip/_go_ff: -------------------------------------------------------------------------------- 1 | fmt.Printf("%#v\n", {{++}}) 2 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/gosnippets/minisnip/_go_fori: -------------------------------------------------------------------------------- 1 | for i := 0; i < {{++}}; i++ { 2 | {{++}} 3 | } 4 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/gosnippets/minisnip/_go_pkg: -------------------------------------------------------------------------------- 1 | // Package {{+~expand('%:p:h:t')+}} {{++}} 2 | package {{+~\~2+}} 3 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/gosnippets/minisnip/_go_sp: -------------------------------------------------------------------------------- 1 | fmt.Sprintf("{{++}}", {{++}}) 2 | 3 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/gosnippets/minisnip/_go_tt: -------------------------------------------------------------------------------- 1 | var tests = []struct { 2 | name string 3 | expected string 4 | given string 5 | }{ 6 | {"", "", "",}, 7 | } 8 | for _, tt := range tests { 9 | tt := tt 10 | t.Run(tt.name, func(t *testing.T){ 11 | actual := {{++}}(tt.given) 12 | if actual != tt.expected { 13 | t.Errorf("{{+~\~1+}}(%s): expected %s, actual %s", tt.given, tt.expected, actual) 14 | } 15 | 16 | }) 17 | } 18 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/scripts/docker-test: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Run all tests inside a Docker container 4 | # 5 | 6 | set -euC 7 | vimgodir=$(cd -P "$(dirname "$0")/.." > /dev/null && pwd) 8 | cd "$vimgodir" 9 | 10 | docker build --tag vim-go-test . 11 | # seccomp=confined is required for dlv to run in a container, hence it's 12 | # required for vim-go's debug tests. 13 | docker run -e VIMS --rm --security-opt="seccomp=unconfined" vim-go-test 14 | 15 | # vim:ts=2:sts=2:sw=2:et 16 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/syntax/godebugoutput.vim: -------------------------------------------------------------------------------- 1 | if exists("b:current_syntax") 2 | finish 3 | endif 4 | 5 | syn match godebugOutputErr '^ERR:.*' 6 | syn match godebugOutputOut '^OUT:.*' 7 | 8 | let b:current_syntax = "godebugoutput" 9 | 10 | hi def link godebugOutputErr Comment 11 | hi def link godebugOutputOut Normal 12 | 13 | " vim: sw=2 ts=2 et 14 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/syntax/godebugstacktrace.vim: -------------------------------------------------------------------------------- 1 | if exists("b:current_syntax") 2 | finish 3 | endif 4 | 5 | syn match godebugStacktrace '^\S\+' 6 | 7 | let b:current_syntax = "godebugoutput" 8 | 9 | hi def link godebugStacktrace SpecialKey 10 | 11 | " vim: sw=2 ts=2 et 12 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/syntax/godebugvariables.vim: -------------------------------------------------------------------------------- 1 | if exists("b:current_syntax") 2 | finish 3 | endif 4 | 5 | syn match godebugTitle '^#.*' 6 | syn match godebugVariables '^\s*\S\+\ze:' 7 | 8 | syn keyword goType chan map bool string error 9 | syn keyword goSignedInts int int8 int16 int32 int64 rune 10 | syn keyword goUnsignedInts byte uint uint8 uint16 uint32 uint64 uintptr 11 | syn keyword goFloats float32 float64 12 | syn keyword goComplexes complex64 complex128 13 | 14 | syn keyword goBoolean true false 15 | 16 | let b:current_syntax = "godebugvariables" 17 | 18 | hi def link godebugTitle Underlined 19 | hi def link godebugVariables Statement 20 | hi def link goType Type 21 | hi def link goBoolean Boolean 22 | 23 | " vim: sw=2 ts=2 et 24 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/syntax/gohtmltmpl.vim: -------------------------------------------------------------------------------- 1 | if exists("b:current_syntax") 2 | finish 3 | endif 4 | 5 | if !exists("g:main_syntax") 6 | let g:main_syntax = 'html' 7 | endif 8 | 9 | runtime! syntax/gotexttmpl.vim 10 | runtime! syntax/html.vim 11 | unlet b:current_syntax 12 | 13 | syn cluster htmlPreproc add=gotplAction,goTplComment 14 | 15 | let b:current_syntax = "gohtmltmpl" 16 | 17 | " vim: sw=2 ts=2 et 18 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/syntax/vimgo.vim: -------------------------------------------------------------------------------- 1 | if exists("b:current_syntax") 2 | finish 3 | endif 4 | 5 | let b:current_syntax = "vimgo" 6 | 7 | syn match goInterface /^\S*/ 8 | syn region goTitle start="\%1l" end=":" 9 | 10 | hi def link goInterface Type 11 | hi def link goTitle Label 12 | 13 | " vim: sw=2 ts=2 et 14 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/templates/hello_world.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func main() { 6 | fmt.Println("vim-go") 7 | } 8 | -------------------------------------------------------------------------------- /pack/plugins/start/fatih-vim-go/templates/hello_world_test.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "testing" 4 | 5 | func TestHelloWorld(t *testing.T) { 6 | // t.Fatal("not implemented") 7 | } 8 | -------------------------------------------------------------------------------- /pack/plugins/start/hauleth-asyncdo-vim/plugin/asyncdo.vim: -------------------------------------------------------------------------------- 1 | " asyncdo.vim - minimal async runner for Vim 8 and NeoVim 2 | " Maintainer: Hauleth 3 | 4 | if exists('g:loaded_asyncdo_vim') | finish | endif 5 | if !(has('job') || has('nvim')) || &cp 6 | echoerr "Here's a nickel, Kid. Buy a real editor." 7 | finish 8 | endif 9 | 10 | let g:loaded_asyncdo_vim = 1 11 | let s:save_cpo = &cpo 12 | set cpo&vim 13 | 14 | command! -bang -nargs=+ -complete=file AsyncDo call asyncdo#run(0, ) 15 | command! -nargs=0 -complete=file AsyncStop call asyncdo#stop() 16 | 17 | command! -bang -nargs=+ -complete=file LAsyncDo call asyncdo#lrun(0, ) 18 | command! -nargs=0 -complete=file LAsyncStop call asyncdo#lstop() 19 | 20 | let &cpo = s:save_cpo 21 | -------------------------------------------------------------------------------- /pack/plugins/start/joereynolds-vim-minisnip/.travis.yml: -------------------------------------------------------------------------------- 1 | language: vim 2 | 3 | before_script: | 4 | git clone --depth 1 https://github.com/junegunn/vader.vim.git 5 | 6 | git clone --depth 1 https://github.com/vim/vim 7 | cd vim 8 | ./configure --with-features=huge 9 | sudo make install 10 | cd - 11 | 12 | script: | 13 | vim -Nu <(cat << VIMRC 14 | filetype off 15 | set rtp+=vader.vim 16 | set rtp+=. 17 | filetype plugin indent on 18 | syntax enable 19 | VIMRC) -c 'Vader! test/*' > /dev/null 20 | -------------------------------------------------------------------------------- /pack/plugins/start/joereynolds-vim-minisnip/examples/_gitcommit_commit: -------------------------------------------------------------------------------- 1 | {{++}} (close #{{++}}) 2 | -------------------------------------------------------------------------------- /pack/plugins/start/joereynolds-vim-minisnip/examples/_javascript_function: -------------------------------------------------------------------------------- 1 | ({{++}}) => {{++}} 2 | -------------------------------------------------------------------------------- /pack/plugins/start/joereynolds-vim-minisnip/examples/_javascript_import: -------------------------------------------------------------------------------- 1 | import {{++}} from {{++}} 2 | -------------------------------------------------------------------------------- /pack/plugins/start/joereynolds-vim-minisnip/examples/_javascript_log: -------------------------------------------------------------------------------- 1 | console.log({{++}}) 2 | -------------------------------------------------------------------------------- /pack/plugins/start/joereynolds-vim-minisnip/examples/_javascript_module: -------------------------------------------------------------------------------- 1 | const {{+~expand('%:t:r')+}} = {{++}} 2 | 3 | export default {{+~\~2+}} 4 | -------------------------------------------------------------------------------- /pack/plugins/start/joereynolds-vim-minisnip/examples/_javascript_test: -------------------------------------------------------------------------------- 1 | import {{++}} from './{{+~expand('%:t:r:r')+}}' 2 | 3 | test('{{++}}', () => { 4 | expect({{++}}).{{+toBe+}}({{++}}) 5 | }) 6 | -------------------------------------------------------------------------------- /pack/plugins/start/joereynolds-vim-minisnip/ftdetect/minisnip.vim: -------------------------------------------------------------------------------- 1 | " Assume that everything in a "minisnip" directory is a snippet. 2 | autocmd BufRead,BufNewFile */minisnip/* setlocal filetype=minisnip 3 | -------------------------------------------------------------------------------- /pack/plugins/start/joereynolds-vim-minisnip/snippets/_php_placeholder: -------------------------------------------------------------------------------- 1 | I am in php! 2 | -------------------------------------------------------------------------------- /pack/plugins/start/joereynolds-vim-minisnip/snippets/backref: -------------------------------------------------------------------------------- 1 | {{++}} is {{+~\~1+}} if backref markers are working correctly 2 | 3 | -------------------------------------------------------------------------------- /pack/plugins/start/joereynolds-vim-minisnip/snippets/multilinetest: -------------------------------------------------------------------------------- 1 | This is a multiline 2 | test snippet! 3 | -------------------------------------------------------------------------------- /pack/plugins/start/joereynolds-vim-minisnip/snippets/namedplaceholder: -------------------------------------------------------------------------------- 1 | {{+This is a test+}} 2 | -------------------------------------------------------------------------------- /pack/plugins/start/joereynolds-vim-minisnip/snippets/order: -------------------------------------------------------------------------------- 1 | {{-second-}} {{+first+}} 2 | -------------------------------------------------------------------------------- /pack/plugins/start/joereynolds-vim-minisnip/snippets/skipme: -------------------------------------------------------------------------------- 1 | {{+first+}} {{+~\~1+}} {{+`~\~2+}} 2 | -------------------------------------------------------------------------------- /pack/plugins/start/joereynolds-vim-minisnip/snippets/test: -------------------------------------------------------------------------------- 1 | This is a test snippet 2 | -------------------------------------------------------------------------------- /pack/plugins/start/kopischke-vim-fetch/autoload/stay/integrate/fetch.vim: -------------------------------------------------------------------------------- 1 | " VIM-STAY INTEGRATION MODULE 2 | " https://github.com/kopischke/vim-stay 3 | let s:cpoptions = &cpoptions 4 | set cpoptions&vim 5 | 6 | " - register integration autocommands 7 | function! stay#integrate#fetch#setup() abort 8 | autocmd User BufFetchPosPost let b:stay_atpos = b:fetch_lastpos 9 | endfunction 10 | 11 | let &cpoptions = s:cpoptions 12 | unlet! s:cpoptions 13 | 14 | " vim:set sw=2 sts=2 ts=2 et fdm=marker fmr={{{,}}}: 15 | -------------------------------------------------------------------------------- /pack/plugins/start/kopischke-vim-fetch/doc/tags: -------------------------------------------------------------------------------- 1 | BufFetchPosPost vim-fetch.txt /*BufFetchPosPost* 2 | BufFetchPosPre vim-fetch.txt /*BufFetchPosPre* 3 | b:fetch_lastpos vim-fetch.txt /*b:fetch_lastpos* 4 | vim-fetch vim-fetch.txt /*vim-fetch* 5 | vim-fetch-autocommands vim-fetch.txt /*vim-fetch-autocommands* 6 | vim-fetch-bugs vim-fetch.txt /*vim-fetch-bugs* 7 | vim-fetch-credits-license vim-fetch.txt /*vim-fetch-credits-license* 8 | vim-fetch-introduction vim-fetch.txt /*vim-fetch-introduction* 9 | vim-fetch-specs vim-fetch.txt /*vim-fetch-specs* 10 | vim-fetch-troubleshooting vim-fetch.txt /*vim-fetch-troubleshooting* 11 | vim-fetch-usage vim-fetch.txt /*vim-fetch-usage* 12 | vim-fetch.txt vim-fetch.txt /*vim-fetch.txt* 13 | -------------------------------------------------------------------------------- /pack/plugins/start/kopischke-vim-fetch/img/vim-fetch.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robertmeta/vimfiles/d4870ff659d0b7db72eb6000a86d15348f9b8c0d/pack/plugins/start/kopischke-vim-fetch/img/vim-fetch.gif -------------------------------------------------------------------------------- /pack/plugins/start/kopischke-vim-fetch/test/init.vader: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robertmeta/vimfiles/d4870ff659d0b7db72eb6000a86d15348f9b8c0d/pack/plugins/start/kopischke-vim-fetch/test/init.vader -------------------------------------------------------------------------------- /pack/plugins/start/kopischke-vim-fetch/test/vimrc: -------------------------------------------------------------------------------- 1 | filetype off 2 | set rtp+=build/vader 3 | set rtp+=. 4 | set rtp+=after 5 | filetype plugin indent on 6 | syntax enable 7 | -------------------------------------------------------------------------------- /pack/plugins/start/ludovicchabant-vim-gutentags/.hgignore: -------------------------------------------------------------------------------- 1 | syntax:regexp 2 | (^|/)tags$ 3 | 4 | -------------------------------------------------------------------------------- /pack/plugins/start/ludovicchabant-vim-gutentags/.hgtags: -------------------------------------------------------------------------------- 1 | 06c496e010b403703643284b12893c1f92b3e756 v1.0.0 2 | -------------------------------------------------------------------------------- /pack/plugins/start/ludovicchabant-vim-gutentags/res/ctags_recursive.options: -------------------------------------------------------------------------------- 1 | --recurse=yes 2 | 3 | -------------------------------------------------------------------------------- /pack/plugins/start/machakann-vim-sandwich/.travis.yml: -------------------------------------------------------------------------------- 1 | language: generic 2 | 3 | env: 4 | - PPA=yes 5 | 6 | install: 7 | - if [ x"$PPA" == "xyes" ] ; then sudo add-apt-repository ppa:pi-rho/dev -y; fi 8 | - sudo apt-get update -q 9 | - sudo apt-get install vim-nox 10 | - git clone https://github.com/thinca/vim-themis 11 | 12 | before_script: 13 | - vim --version 14 | - chmod +x ./test/dot-repeat/test_dot.sh 15 | 16 | script: 17 | - ./vim-themis/bin/themis && ./test/dot-repeat/test_dot.sh 18 | -------------------------------------------------------------------------------- /pack/plugins/start/machakann-vim-sandwich/after/ftplugin/initex/sandwich.vim: -------------------------------------------------------------------------------- 1 | if &compatible || exists('b:did_sandwich_initex_ftplugin') || get(g:, 'sandwich_no_initex_ftplugin', 0) 2 | finish 3 | endif 4 | 5 | runtime macros/sandwich/ftplugin/tex.vim 6 | 7 | augroup sandwich-event-FileType 8 | autocmd! 9 | execute 'autocmd FileType initex source ' . fnameescape(expand('')) 10 | augroup END 11 | 12 | let b:did_sandwich_initex_ftplugin = 1 13 | if !exists('b:undo_ftplugin') 14 | let b:undo_ftplugin = '' 15 | else 16 | let b:undo_ftplugin .= ' | ' 17 | endif 18 | let b:undo_ftplugin .= 'unlet b:did_sandwich_initex_ftplugin | call sandwich#util#ftrevert("tex")' 19 | -------------------------------------------------------------------------------- /pack/plugins/start/machakann-vim-sandwich/after/ftplugin/julia/sandwich.vim: -------------------------------------------------------------------------------- 1 | if &compatible || exists('b:did_sandwich_julia_ftplugin') || get(g:, 'sandwich_no_julia_ftplugin', 0) 2 | finish 3 | endif 4 | 5 | " To include multibyte characters 6 | let b:sandwich_magicchar_f_patterns = [ 7 | \ { 8 | \ 'header' : '\%#=2\<[[:upper:][:lower:]_]\k*!\?', 9 | \ 'bra' : '(', 10 | \ 'ket' : ')', 11 | \ 'footer' : '', 12 | \ }, 13 | \ ] 14 | 15 | let b:did_sandwich_julia_ftplugin = 1 16 | if !exists('b:undo_ftplugin') 17 | let b:undo_ftplugin = '' 18 | else 19 | let b:undo_ftplugin .= ' | ' 20 | endif 21 | let b:undo_ftplugin .= 'unlet! b:did_sandwich_julia_ftplugin b:sandwich_magicchar_f_patterns' 22 | -------------------------------------------------------------------------------- /pack/plugins/start/machakann-vim-sandwich/after/ftplugin/plaintex/sandwich.vim: -------------------------------------------------------------------------------- 1 | if &compatible || exists('b:did_sandwich_plaintex_ftplugin') || get(g:, 'sandwich_no_plaintex_ftplugin', 0) 2 | finish 3 | endif 4 | 5 | runtime macros/sandwich/ftplugin/tex.vim 6 | 7 | augroup sandwich-event-FileType 8 | autocmd! 9 | execute 'autocmd FileType plaintex source ' . fnameescape(expand('')) 10 | augroup END 11 | 12 | let b:did_sandwich_plaintex_ftplugin = 1 13 | if !exists('b:undo_ftplugin') 14 | let b:undo_ftplugin = '' 15 | else 16 | let b:undo_ftplugin .= ' | ' 17 | endif 18 | let b:undo_ftplugin .= 'unlet b:did_sandwich_plaintex_ftplugin | call sandwich#util#ftrevert("tex")' 19 | -------------------------------------------------------------------------------- /pack/plugins/start/machakann-vim-sandwich/after/ftplugin/tex/sandwich.vim: -------------------------------------------------------------------------------- 1 | if &compatible || exists('b:did_sandwich_tex_ftplugin') || get(g:, 'sandwich_no_tex_ftplugin', 0) 2 | finish 3 | endif 4 | 5 | runtime macros/sandwich/ftplugin/tex.vim 6 | 7 | augroup sandwich-event-FileType 8 | autocmd! 9 | execute 'autocmd FileType tex source ' . fnameescape(expand('')) 10 | augroup END 11 | 12 | let b:did_sandwich_tex_ftplugin = 1 13 | if !exists('b:undo_ftplugin') 14 | let b:undo_ftplugin = '' 15 | else 16 | let b:undo_ftplugin .= ' | ' 17 | endif 18 | let b:undo_ftplugin .= 'unlet b:did_sandwich_tex_ftplugin | call sandwich#util#ftrevert("tex")' 19 | -------------------------------------------------------------------------------- /pack/plugins/start/machakann-vim-sandwich/after/ftplugin/vim/sandwich.vim: -------------------------------------------------------------------------------- 1 | if &compatible || exists('b:did_sandwich_vim_ftplugin') || get(g:, 'sandwich_no_vim_ftplugin', 0) 2 | finish 3 | endif 4 | 5 | let b:sandwich_magicchar_f_patterns = [ 6 | \ { 7 | \ 'header' : '\C\<\%(\h\|[sa]:\h\|g:[A-Z]\)\k*', 8 | \ 'bra' : '(', 9 | \ 'ket' : ')', 10 | \ 'footer' : '', 11 | \ }, 12 | \ ] 13 | 14 | let b:did_sandwich_vim_ftplugin = 1 15 | if !exists('b:undo_ftplugin') 16 | let b:undo_ftplugin = '' 17 | else 18 | let b:undo_ftplugin .= ' | ' 19 | endif 20 | let b:undo_ftplugin .= 'unlet! b:did_sandwich_vim_ftplugin b:sandwich_magicchar_f_patterns' 21 | -------------------------------------------------------------------------------- /pack/plugins/start/machakann-vim-sandwich/test/README: -------------------------------------------------------------------------------- 1 | Use themis.vim (https://github.com/thinca/vim-themis) 2 | 3 | 1. git clone https://github.com/thinca/vim-themis.git 4 | 2. cd path/to/vim-sandwich 5 | 3. path/to/vim-themis/bin/themis (Linux) 6 | path/to/vim-themis/bin/themis.bat (Windows) 7 | -------------------------------------------------------------------------------- /pack/plugins/start/machakann-vim-sandwich/test/dot-repeat/test_dot.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set VIM=vim 3 | if defined THEMIS_VIM set VIM=%THEMIS_VIM% 4 | 5 | %VIM% -u NONE -i NONE -N -n -e -s -S %~dp0\test_dot.vim 6 | if %errorlevel% neq 0 goto ERROR 7 | echo Succeeded. 8 | exit /b 0 9 | 10 | :ERROR 11 | exit /b 1 12 | -------------------------------------------------------------------------------- /pack/plugins/start/machakann-vim-sandwich/test/dot-repeat/test_dot.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | SCRIPT_HOME=$0 4 | if [ -n "`readlink $SCRIPT_HOME`" ] ; then 5 | SCRIPT_HOME="`readlink $SCRIPT_HOME`" 6 | fi 7 | SCRIPT_HOME="`dirname $SCRIPT_HOME`" 8 | 9 | VIM=vim 10 | if [ -n "$THEMIS_VIM" ] ; then 11 | VIM="$THEMIS_VIM" 12 | fi 13 | 14 | $VIM -u NONE -i NONE -N -n -e -s -S $SCRIPT_HOME/test_dot.vim || exit 1 15 | echo "Succeeded." 16 | -------------------------------------------------------------------------------- /pack/plugins/start/olical-vim-enmasse/.travis.yml: -------------------------------------------------------------------------------- 1 | language: vim 2 | 3 | before_script: | 4 | git clone https://github.com/junegunn/vader.vim.git 5 | 6 | script: | 7 | vim -Nu <(cat << VIMRC 8 | filetype off 9 | set rtp+=vader.vim 10 | set rtp+=. 11 | set rtp+=after 12 | filetype plugin indent on 13 | VIMRC) -c 'Vader! test/*.vader' > /dev/null -------------------------------------------------------------------------------- /pack/plugins/start/olical-vim-enmasse/doc/tags: -------------------------------------------------------------------------------- 1 | enmasse enmasse.txt /*enmasse* 2 | enmasse-author enmasse.txt /*enmasse-author* 3 | enmasse-autocommands enmasse.txt /*enmasse-autocommands* 4 | enmasse-introduction enmasse.txt /*enmasse-introduction* 5 | enmasse-quickfix-hints enmasse.txt /*enmasse-quickfix-hints* 6 | enmasse-unlicence enmasse.txt /*enmasse-unlicence* 7 | enmasse-usage enmasse.txt /*enmasse-usage* 8 | enmasse.txt enmasse.txt /*enmasse.txt* 9 | -------------------------------------------------------------------------------- /pack/plugins/start/olical-vim-enmasse/images/example.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robertmeta/vimfiles/d4870ff659d0b7db72eb6000a86d15348f9b8c0d/pack/plugins/start/olical-vim-enmasse/images/example.gif -------------------------------------------------------------------------------- /pack/plugins/start/olical-vim-enmasse/plugin/enmasse.vim: -------------------------------------------------------------------------------- 1 | command! EnMasse :call enmasse#Open() 2 | command! EnMasseVersion :echo enmasse#GetVersion() 3 | 4 | augroup EnMasseDefault 5 | autocmd! 6 | autocmd WinLeave __EnMasse__ wincmd p 7 | autocmd BufWriteCmd __EnMasse__ call enmasse#WriteCurrentBuffer() 8 | autocmd CursorMoved __EnMasse__ call enmasse#DisplayQuickfixEntryForCurrentLine() 9 | augroup END 10 | -------------------------------------------------------------------------------- /pack/plugins/start/olical-vim-enmasse/test/clearing.vader: -------------------------------------------------------------------------------- 1 | Execute (the line counts are correct): 2 | silent grep! -i a test/grepable.txt 3 | EnMasse 4 | let before = line("$") 5 | normal G 6 | quit 7 | silent grep! -i b test/grepable.txt 8 | EnMasse 9 | let after = line("$") 10 | 11 | AssertEqual 5, before 12 | AssertEqual 2, after 13 | -------------------------------------------------------------------------------- /pack/plugins/start/olical-vim-enmasse/test/grepable.txt: -------------------------------------------------------------------------------- 1 | This is an example file. 2 | It should be loaded into the quickfix list. 3 | Then you can run :EnMasse 4 | And edit that quickfix list. 5 | And this line is way too long so it will truncated. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin et ornare libero, quis vulputate odio. In luctus id velit sed gravida. Cras turpis nibh, luctus a lorem non, sollicitudin auctor justo. Vivamus tristique dolor a lectus gravida molestie. Nunc varius mi ante, vitae bibendum quam ultricies vitae. 6 | Dupe! 7 | -------------------------------------------------------------------------------- /pack/plugins/start/olical-vim-enmasse/test/preview.vader: -------------------------------------------------------------------------------- 1 | Before (set up an EnMasse buffer): 2 | let lines = readfile("test/grepable.txt", "b") 3 | silent grep! quickfix test/grepable.txt 4 | EnMasse 5 | 6 | Execute (hitting enter on a line opens it in the preview window): 7 | let before = getline(".") 8 | execute "normal \\k" 9 | let after = getline(".") 10 | let bufferName = expand("%") 11 | AssertEqual "test/grepable.txt", bufferName 12 | AssertEqual before, after 13 | pclose -------------------------------------------------------------------------------- /pack/plugins/start/olical-vim-enmasse/test/run: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | if [[ ! -d test/vader ]]; then 4 | git clone https://github.com/junegunn/vader.vim.git test/vader 5 | else 6 | pushd test/vader 7 | git pull 8 | popd 9 | fi 10 | 11 | vim -Nu <(cat << VIMRC 12 | filetype off 13 | set rtp=. 14 | set rtp+=test/vader 15 | filetype plugin indent on 16 | VIMRC 17 | ) -c 'Vader! test/*.vader' > /dev/null -------------------------------------------------------------------------------- /pack/plugins/start/olical-vim-enmasse/test/version.vader: -------------------------------------------------------------------------------- 1 | Before (set up regular expression): 2 | let versionRegExp = '\v\d+\.\d+\.\d+' 3 | 4 | Execute (can print the version number with the command): 5 | redir => messages 6 | EnMasseVersion 7 | redir END 8 | 9 | let result = get(split(messages, "\n"), -1, "") 10 | 11 | Assert result =~# versionRegExp 12 | 13 | Execute (can get the version number with the function): 14 | Assert enmasse#GetVersion() =~# versionRegExp -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | **Do you want to request a *feature* or report a *bug*?** 2 | 3 | **What is the current/expected behavior?** 4 | 5 | **What version of `vim-prettier` are you using - (output of `:PrettierVersion`) ?** 6 | 7 | **What version of `prettier` are you using - (output of `:PrettierCliVersion`) ?** 8 | 9 | **What is your `prettier` executable path - (output of `:PrettierCliPath`) ?** 10 | 11 | **Did this work in previous versions of vim-prettier and/or prettier ?** 12 | 13 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | *Before* submitting a pull request, please make sure the following is done... 2 | 3 | 1. Fork the repo and create your branch from `master`. 4 | 2. If you've added code that should be tested, do a sanity check on `vim8` and `neovim` 5 | 3. If you've changed APIs, update the README and documentation `./doc/prettier.txt` 6 | 7 | Please use the simple form below as a guideline for describing your pull request. 8 | 9 | Thanks for contributing to vim-prettier 10 | 11 | * * * 12 | 13 | **Summary** 14 | 15 | [...] 16 | 17 | **Test Plan** 18 | 19 | [...] 20 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/autoload/prettier/logging/error.vim: -------------------------------------------------------------------------------- 1 | let s:PREFIX_MSG = 'Prettier: ' 2 | let s:ERRORS = { 3 | \ 'EXECUTABLE_NOT_FOUND_ERROR': 'no prettier executable installation found', 4 | \ 'PARSING_ERROR': 'failed to parse buffer', 5 | \ } 6 | let s:DEFAULT_ERROR = get(s:, 'PARSING_ERROR') 7 | 8 | function! prettier#logging#error#log(...) abort 9 | let l:error = a:0 > 0 ? a:1 : s:DEFAULT_ERROR 10 | let l:msg = a:0 > 1 ? ': ' . a:2 : '' 11 | echohl WarningMsg | echom s:PREFIX_MSG . get(s:ERRORS, l:error, s:DEFAULT_ERROR) . l:msg | echohl NONE 12 | endfunction 13 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/autoload/prettier/presets/fb.vim: -------------------------------------------------------------------------------- 1 | " Return facebook style config overwrite presets 2 | function! prettier#presets#fb#config() abort 3 | return { 4 | \ 'bracketSpacing': 'false', 5 | \ 'jsxBracketSameLine': 'true', 6 | \ 'printWidth': 80, 7 | \ 'parser': 'flow', 8 | \ 'singleQuote': 'true', 9 | \ 'tabWidth': 2, 10 | \ 'trailingComma': 'all', 11 | \ 'useTabs': 'false', 12 | \ } 13 | endfunction 14 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/autoload/prettier/resolver/preset.vim: -------------------------------------------------------------------------------- 1 | " Build config using predefined preset 2 | function! prettier#resolver#preset#resolve(fileTypeConfigOverwrites) abort 3 | if ( g:prettier#preset#config ==# 'fb' ) 4 | return extend(prettier#presets#fb#config(), a:fileTypeConfigOverwrites) 5 | endif 6 | 7 | return a:fileTypeConfigOverwrites 8 | endfunction 9 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/autoload/prettier/utils/quickfix.vim: -------------------------------------------------------------------------------- 1 | " We use this flag so that we ensure only clearing quickfix if it was created by prettier itself 2 | let s:prettier_quickfix_open = 0 3 | 4 | function! prettier#utils#quickfix#close() abort 5 | " close quickfix if it is opened 6 | if s:prettier_quickfix_open 7 | call setqflist([], 'r') 8 | cclose 9 | let s:prettier_quickfix_open = 0 10 | endif 11 | endfunction 12 | 13 | function! prettier#utils#quickfix#open(errors, focus) abort 14 | let s:prettier_quickfix_open = 1 15 | let l:winnr = winnr() 16 | call setqflist(a:errors, 'r') 17 | botright copen 18 | if !a:focus 19 | " Return the cursor back to the main buffer. 20 | exe l:winnr . 'wincmd w' 21 | endif 22 | endfunction 23 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/autoload/prettier/utils/shim.vim: -------------------------------------------------------------------------------- 1 | " Backwards compatable version of shiftwidth() 2 | function! prettier#utils#shim#shiftwidth() abort 3 | if exists('*shiftwidth') 4 | return shiftwidth() 5 | else 6 | return &shiftwidth 7 | endif 8 | endfunction 9 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/doc/tags: -------------------------------------------------------------------------------- 1 | vim-prettier-configuration prettier.txt /*vim-prettier-configuration* 2 | vim-prettier-contents prettier.txt /*vim-prettier-contents* 3 | vim-prettier-install prettier.txt /*vim-prettier-install* 4 | vim-prettier-introduction prettier.txt /*vim-prettier-introduction* 5 | vim-prettier-requirements prettier.txt /*vim-prettier-requirements* 6 | vim-prettier-usage prettier.txt /*vim-prettier-usage* 7 | vim-prettier.txt prettier.txt /*vim-prettier.txt* 8 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/ftdetect/css.vim: -------------------------------------------------------------------------------- 1 | augroup PrettierFileDetect 2 | autocmd BufNewFile,BufReadPost *.css setfiletype css 3 | augroup end 4 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/ftdetect/graphql.vim: -------------------------------------------------------------------------------- 1 | augroup PrettierFileDetect 2 | autocmd BufNewFile,BufReadPost *.graphql,*.gql setfiletype graphql 3 | augroup end 4 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/ftdetect/html.vim: -------------------------------------------------------------------------------- 1 | augroup PrettierFileDetect 2 | autocmd BufNewFile,BufReadPost *.html setfiletype html 3 | augroup end 4 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/ftdetect/javascript.vim: -------------------------------------------------------------------------------- 1 | augroup PrettierFileDetect 2 | autocmd BufNewFile,BufReadPost *.js,*jsx setfiletype javascript 3 | augroup end 4 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/ftdetect/json.vim: -------------------------------------------------------------------------------- 1 | augroup PrettierFileDetect 2 | autocmd BufNewFile,BufReadPost *.json setfiletype json 3 | augroup end 4 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/ftdetect/less.vim: -------------------------------------------------------------------------------- 1 | augroup PrettierFileDetect 2 | autocmd BufNewFile,BufReadPost *.less setfiletype less 3 | augroup end 4 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/ftdetect/lua.vim: -------------------------------------------------------------------------------- 1 | augroup PrettierFileDetect 2 | autocmd BufNewFile,BufReadPost *.lua setfiletype lua 3 | augroup end 4 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/ftdetect/markdown.vim: -------------------------------------------------------------------------------- 1 | augroup PrettierFileDetect 2 | autocmd BufNewFile,BufReadPost *.markdown,*.md,*.mdown,*.mkd,*.mkdn setfiletype markdown 3 | augroup end 4 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/ftdetect/php.vim: -------------------------------------------------------------------------------- 1 | augroup PrettierFileDetect 2 | autocmd BufNewFile,BufReadPost *.php setfiletype php 3 | augroup end 4 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/ftdetect/ruby.vim: -------------------------------------------------------------------------------- 1 | augroup PrettierFileDetect 2 | autocmd BufNewFile,BufReadPost *.rb setfiletype ruby 3 | augroup end 4 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/ftdetect/scss.vim: -------------------------------------------------------------------------------- 1 | augroup PrettierFileDetect 2 | autocmd BufNewFile,BufReadPost *.scss setfiletype scss 3 | augroup end 4 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/ftdetect/typescript.vim: -------------------------------------------------------------------------------- 1 | augroup PrettierFileDetect 2 | autocmd BufNewFile,BufReadPost *.ts setfiletype typescript 3 | autocmd BufNewFile,BufReadPost *.tsx setfiletype typescriptreact 4 | augroup end 5 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/ftdetect/vue.vim: -------------------------------------------------------------------------------- 1 | augroup PrettierFileDetect 2 | autocmd BufNewFile,BufReadPost *.vue setfiletype vue 3 | augroup end 4 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/ftdetect/xml.vim: -------------------------------------------------------------------------------- 1 | augroup PrettierFileDetect 2 | autocmd BufNewFile,BufReadPost *.xml setfiletype xml 3 | augroup end 4 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/ftdetect/yaml.vim: -------------------------------------------------------------------------------- 1 | augroup PrettierFileDetect 2 | autocmd BufNewFile,BufReadPost *.yaml,*.yml setfiletype yaml 3 | augroup end 4 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/ftplugin/css.vim: -------------------------------------------------------------------------------- 1 | let b:prettier_ft_default_args = { 2 | \ 'parser': 'css', 3 | \ } 4 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/ftplugin/graphql.vim: -------------------------------------------------------------------------------- 1 | let b:prettier_ft_default_args = { 2 | \ 'parser': 'graphql', 3 | \ } 4 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/ftplugin/html.vim: -------------------------------------------------------------------------------- 1 | " markdown/php files run this as well 2 | " https://stackoverflow.com/questions/22839269/why-does-vim-default-markdown-ftplugin-source-html-ftplugins-is-there-any-ways 3 | if expand('%:e') ==# 'html' 4 | let b:prettier_ft_default_args = { 5 | \ 'parser': 'html', 6 | \ } 7 | endif 8 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/ftplugin/javascript.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robertmeta/vimfiles/d4870ff659d0b7db72eb6000a86d15348f9b8c0d/pack/plugins/start/prettier-vim-prettier/ftplugin/javascript.vim -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/ftplugin/json.vim: -------------------------------------------------------------------------------- 1 | let b:prettier_ft_default_args = { 2 | \ 'parser': 'json', 3 | \ } 4 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/ftplugin/less.vim: -------------------------------------------------------------------------------- 1 | let b:prettier_ft_default_args = { 2 | \ 'parser': 'less', 3 | \ } 4 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/ftplugin/lua.vim: -------------------------------------------------------------------------------- 1 | let b:prettier_ft_default_args = { 2 | \ 'parser': 'lua', 3 | \ } 4 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/ftplugin/markdown.vim: -------------------------------------------------------------------------------- 1 | let b:prettier_ft_default_args = { 2 | \ 'parser': 'markdown', 3 | \ } 4 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/ftplugin/php.vim: -------------------------------------------------------------------------------- 1 | let b:prettier_ft_default_args = { 2 | \ 'parser': 'php', 3 | \ } 4 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/ftplugin/ruby.vim: -------------------------------------------------------------------------------- 1 | let b:prettier_ft_default_args = { 2 | \ 'parser': 'ruby', 3 | \ } 4 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/ftplugin/scss.vim: -------------------------------------------------------------------------------- 1 | let b:prettier_ft_default_args = { 2 | \ 'parser': 'scss', 3 | \ } 4 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/ftplugin/typescript.vim: -------------------------------------------------------------------------------- 1 | let b:prettier_ft_default_args = { 2 | \ 'parser': 'typescript', 3 | \ } 4 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/ftplugin/vue.vim: -------------------------------------------------------------------------------- 1 | let b:prettier_ft_default_args = { 2 | \ 'parser': 'vue', 3 | \ } 4 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/ftplugin/xml.vim: -------------------------------------------------------------------------------- 1 | " markdown/php files run this as well 2 | " https://stackoverflow.com/questions/22839269/why-does-vim-default-markdown-ftplugin-source-html-ftplugins-is-there-any-ways 3 | if expand('%:e') ==# 'xml' 4 | let b:prettier_ft_default_args = { 5 | \ 'parser': 'xml', 6 | \ } 7 | endif 8 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/ftplugin/yaml.vim: -------------------------------------------------------------------------------- 1 | let b:prettier_ft_default_args = { 2 | \ 'parser': 'yaml', 3 | \ } 4 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/media/vim-prettier.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robertmeta/vimfiles/d4870ff659d0b7db72eb6000a86d15348f9b8c0d/pack/plugins/start/prettier-vim-prettier/media/vim-prettier.gif -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/tests/fixtures/foo.css: -------------------------------------------------------------------------------- 1 | .redClass { background: 'red';} 2 | #redId { 3 | background: 'red';} 4 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/tests/fixtures/foo.graphql: -------------------------------------------------------------------------------- 1 | { 2 | baz { 3 | blah, ...name } 4 | bean{foo, blah,bleh} 5 | bar { 6 | ...name 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/tests/fixtures/foo.html: -------------------------------------------------------------------------------- 1 | 2 | foo 3 |

foo

4 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/tests/fixtures/foo.js: -------------------------------------------------------------------------------- 1 | const a = () => { return 2; }; 2 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/tests/fixtures/foo.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "foo", "bar": "baz" 3 | } 4 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/tests/fixtures/foo.less: -------------------------------------------------------------------------------- 1 | .redClass { background: 'red';} 2 | #redId { 3 | background: 'red';} 4 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/tests/fixtures/foo.lua: -------------------------------------------------------------------------------- 1 | function deepcopy(orig) 2 | local orig_type = type(orig) 3 | local copy 4 | 5 | return copy 6 | end 7 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/tests/fixtures/foo.md: -------------------------------------------------------------------------------- 1 | ## foo 2 | Lorem ipsum dolor amet 3 | 4 | 5 | ### bar 6 | 7 | 8 | 9 | - a 10 | - b 11 | - c 12 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/tests/fixtures/foo.php: -------------------------------------------------------------------------------- 1 | number = () => { return 2; }; 2 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/tests/fixtures/foo.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 11 | 12 | 13 | This could be e.g. documentation for the component. 14 | 15 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/tests/fixtures/foo.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 13 | foo 14 | 15 | bar 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /pack/plugins/start/prettier-vim-prettier/tests/fixtures/foo.yaml: -------------------------------------------------------------------------------- 1 | foo: 2 | 3 | bar: 4 | 5 | baz: 6 | 7 | bleh: ./foo 8 | foobar: foobar 9 | args: 10 | 11 | buildno: 1 12 | -------------------------------------------------------------------------------- /pack/plugins/start/scrooloose-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 | -------------------------------------------------------------------------------- /pack/plugins/start/scrooloose-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 | -------------------------------------------------------------------------------- /pack/plugins/start/scrooloose-nerdtree/.vintrc.yaml: -------------------------------------------------------------------------------- 1 | cmdargs: 2 | severity: style_problem 3 | color: true 4 | env: 5 | neovim: false 6 | -------------------------------------------------------------------------------- /pack/plugins/start/scrooloose-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 | -------------------------------------------------------------------------------- /pack/plugins/start/scrooloose-nerdtree/_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-cayman -------------------------------------------------------------------------------- /pack/plugins/start/scrooloose-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 | -------------------------------------------------------------------------------- /pack/plugins/start/scrooloose-nerdtree/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robertmeta/vimfiles/d4870ff659d0b7db72eb6000a86d15348f9b8c0d/pack/plugins/start/scrooloose-nerdtree/screenshot.png -------------------------------------------------------------------------------- /pack/plugins/start/t9md-vim-quickhl/Rakefile: -------------------------------------------------------------------------------- 1 | desc "zip" 2 | task :zip do 3 | version = File.read("VERSION").chomp 4 | dirname = File.basename( File.dirname(File.expand_path(__FILE__))) 5 | zipname = "#{dirname}-#{version}.zip" 6 | sh "zip -r #{zipname} README.md autoload doc plugin -x doc/tags" 7 | end 8 | 9 | desc "versub" 10 | task :versub do 11 | version = File.read("VERSION").chomp 12 | files = Dir.glob('{doc,autoload,plugin}/**').select do |f| 13 | File.file? f 14 | end 15 | files.delete('doc/tags') 16 | files.each do |fname| 17 | lines = File.readlines(fname) 18 | lines.map! { |l| l.sub(/Version: (.*)/, "Version: #{version}") } 19 | File.open(fname,'w') {|f| f.puts lines } 20 | end 21 | end 22 | -------------------------------------------------------------------------------- /pack/plugins/start/t9md-vim-quickhl/VERSION: -------------------------------------------------------------------------------- 1 | 1.0 2 | -------------------------------------------------------------------------------- /pack/plugins/start/tpope-vim-abolish/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: tpope 2 | custom: ["https://www.paypal.me/vimpope"] 3 | -------------------------------------------------------------------------------- /pack/plugins/start/tpope-vim-abolish/CONTRIBUTING.markdown: -------------------------------------------------------------------------------- 1 | See the [contribution guidelines for pathogen.vim](https://github.com/tpope/vim-pathogen/blob/master/CONTRIBUTING.markdown). 2 | -------------------------------------------------------------------------------- /pack/plugins/start/tpope-vim-abolish/doc/tags: -------------------------------------------------------------------------------- 1 | :Abolish abolish.txt /*:Abolish* 2 | :S abolish.txt /*:S* 3 | :Subvert abolish.txt /*:Subvert* 4 | abolish abolish.txt /*abolish* 5 | abolish-abbrev abolish.txt /*abolish-abbrev* 6 | abolish-coercion abolish.txt /*abolish-coercion* 7 | abolish-coercion-reversible abolish.txt /*abolish-coercion-reversible* 8 | abolish-grep abolish.txt /*abolish-grep* 9 | abolish-patterns abolish.txt /*abolish-patterns* 10 | abolish-search abolish.txt /*abolish-search* 11 | abolish-substitute abolish.txt /*abolish-substitute* 12 | abolish.txt abolish.txt /*abolish.txt* 13 | cr abolish.txt /*cr* 14 | -------------------------------------------------------------------------------- /pack/plugins/start/tpope-vim-commentary/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: tpope 2 | custom: ["https://www.paypal.me/vimpope"] 3 | -------------------------------------------------------------------------------- /pack/plugins/start/tpope-vim-commentary/CONTRIBUTING.markdown: -------------------------------------------------------------------------------- 1 | See the [contribution guidelines for pathogen.vim](https://github.com/tpope/vim-pathogen/blob/master/CONTRIBUTING.markdown). 2 | -------------------------------------------------------------------------------- /pack/plugins/start/tpope-vim-commentary/doc/tags: -------------------------------------------------------------------------------- 1 | :Commentary commentary.txt /*:Commentary* 2 | commentary.txt commentary.txt /*commentary.txt* 3 | gc commentary.txt /*gc* 4 | gcc commentary.txt /*gcc* 5 | gcgc commentary.txt /*gcgc* 6 | gcu commentary.txt /*gcu* 7 | o_gc commentary.txt /*o_gc* 8 | v_gc commentary.txt /*v_gc* 9 | -------------------------------------------------------------------------------- /pack/plugins/start/tpope-vim-eunuch/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: tpope 2 | custom: ["https://www.paypal.me/vimpope"] 3 | -------------------------------------------------------------------------------- /pack/plugins/start/tpope-vim-fugitive/ftdetect/fugitive.vim: -------------------------------------------------------------------------------- 1 | autocmd BufReadPost *.fugitiveblame setfiletype fugitiveblame 2 | -------------------------------------------------------------------------------- /pack/plugins/start/tpope-vim-fugitive/syntax/fugitiveblame.vim: -------------------------------------------------------------------------------- 1 | if exists("b:current_syntax") 2 | finish 3 | endif 4 | 5 | call fugitive#BlameSyntax() 6 | 7 | let b:current_syntax = "fugitiveblame" 8 | -------------------------------------------------------------------------------- /pack/plugins/start/tpope-vim-repeat/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: tpope 2 | custom: ["https://www.paypal.me/vimpope"] 3 | -------------------------------------------------------------------------------- /pack/plugins/start/tpope-vim-rsi/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: tpope 2 | custom: ["https://www.paypal.me/vimpope"] 3 | -------------------------------------------------------------------------------- /pack/plugins/start/tpope-vim-rsi/doc/tags: -------------------------------------------------------------------------------- 1 | rsi rsi.txt /*rsi* 2 | rsi-CTRL-A rsi.txt /*rsi-CTRL-A* 3 | rsi-CTRL-B rsi.txt /*rsi-CTRL-B* 4 | rsi-CTRL-D rsi.txt /*rsi-CTRL-D* 5 | rsi-CTRL-E rsi.txt /*rsi-CTRL-E* 6 | rsi-CTRL-F rsi.txt /*rsi-CTRL-F* 7 | rsi-CTRL-G rsi.txt /*rsi-CTRL-G* 8 | rsi-CTRL-T rsi.txt /*rsi-CTRL-T* 9 | rsi-CTRL-X_CTRL-A rsi.txt /*rsi-CTRL-X_CTRL-A* 10 | rsi-META-BS rsi.txt /*rsi-META-BS* 11 | rsi-META-b rsi.txt /*rsi-META-b* 12 | rsi-META-d rsi.txt /*rsi-META-d* 13 | rsi-META-f rsi.txt /*rsi-META-f* 14 | rsi-META-n rsi.txt /*rsi-META-n* 15 | rsi-META-p rsi.txt /*rsi-META-p* 16 | rsi-about rsi.txt /*rsi-about* 17 | rsi-maps rsi.txt /*rsi-maps* 18 | rsi.txt rsi.txt /*rsi.txt* 19 | -------------------------------------------------------------------------------- /pack/plugins/start/tpope-vim-unimpaired/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: tpope 2 | custom: ["https://www.paypal.me/vimpope"] 3 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/ale_linters/cpp/cpplint.vim: -------------------------------------------------------------------------------- 1 | " Author: Dawid Kurek https://github.com/dawikur 2 | " Description: cpplint for cpp files 3 | 4 | call ale#Set('cpp_cpplint_executable', 'cpplint') 5 | call ale#Set('cpp_cpplint_options', '') 6 | 7 | function! ale_linters#cpp#cpplint#GetCommand(buffer) abort 8 | let l:options = ale#Var(a:buffer, 'cpp_cpplint_options') 9 | 10 | return '%e' . ale#Pad(l:options) . ' %s' 11 | endfunction 12 | 13 | call ale#linter#Define('cpp', { 14 | \ 'name': 'cpplint', 15 | \ 'output_stream': 'stderr', 16 | \ 'executable': {b -> ale#Var(b, 'cpp_cpplint_executable')}, 17 | \ 'command': function('ale_linters#cpp#cpplint#GetCommand'), 18 | \ 'callback': 'ale#handlers#cpplint#HandleCppLintFormat', 19 | \ 'lint_file': 1, 20 | \}) 21 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/ale_linters/css/csslint.vim: -------------------------------------------------------------------------------- 1 | " Author: w0rp 2 | " Description: This file adds support for checking CSS code with csslint. 3 | 4 | function! ale_linters#css#csslint#GetCommand(buffer) abort 5 | let l:csslintrc = ale#path#FindNearestFile(a:buffer, '.csslintrc') 6 | let l:config_option = !empty(l:csslintrc) 7 | \ ? '--config=' . ale#Escape(l:csslintrc) 8 | \ : '' 9 | 10 | return 'csslint --format=compact ' . l:config_option . ' %t' 11 | endfunction 12 | 13 | call ale#linter#Define('css', { 14 | \ 'name': 'csslint', 15 | \ 'executable': 'csslint', 16 | \ 'command': function('ale_linters#css#csslint#GetCommand'), 17 | \ 'callback': 'ale#handlers#css#HandleCSSLintFormat', 18 | \}) 19 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/ale_linters/css/stylelint.vim: -------------------------------------------------------------------------------- 1 | " Author: diartyz 2 | 3 | call ale#Set('css_stylelint_executable', 'stylelint') 4 | call ale#Set('css_stylelint_options', '') 5 | call ale#Set('css_stylelint_use_global', get(g:, 'ale_use_global_executables', 0)) 6 | 7 | function! ale_linters#css#stylelint#GetCommand(buffer) abort 8 | return '%e ' . ale#Pad(ale#Var(a:buffer, 'css_stylelint_options')) 9 | \ . ' --stdin-filename %s' 10 | endfunction 11 | 12 | call ale#linter#Define('css', { 13 | \ 'name': 'stylelint', 14 | \ 'executable': {b -> ale#node#FindExecutable(b, 'css_stylelint', [ 15 | \ 'node_modules/.bin/stylelint', 16 | \ ])}, 17 | \ 'command': function('ale_linters#css#stylelint#GetCommand'), 18 | \ 'callback': 'ale#handlers#css#HandleStyleLintFormat', 19 | \}) 20 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/ale_linters/go/golint.vim: -------------------------------------------------------------------------------- 1 | " Author: neersighted 2 | " Description: golint for Go files 3 | 4 | call ale#Set('go_golint_executable', 'golint') 5 | call ale#Set('go_golint_options', '') 6 | 7 | function! ale_linters#go#golint#GetCommand(buffer) abort 8 | let l:options = ale#Var(a:buffer, 'go_golint_options') 9 | 10 | return ale#go#EnvString(a:buffer) . '%e' 11 | \ . (!empty(l:options) ? ' ' . l:options : '') 12 | \ . ' %t' 13 | endfunction 14 | 15 | call ale#linter#Define('go', { 16 | \ 'name': 'golint', 17 | \ 'output_stream': 'both', 18 | \ 'executable': {b -> ale#Var(b, 'go_golint_executable')}, 19 | \ 'command': function('ale_linters#go#golint#GetCommand'), 20 | \ 'callback': 'ale#handlers#unix#HandleAsWarning', 21 | \}) 22 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/ale_linters/go/gosimple.vim: -------------------------------------------------------------------------------- 1 | " Author: Ben Reedy 2 | " Description: gosimple for Go files 3 | 4 | function! ale_linters#go#gosimple#GetCommand(buffer) abort 5 | return ale#path#BufferCdString(a:buffer) . ' ' 6 | \ . ale#go#EnvString(a:buffer) . 'gosimple .' 7 | endfunction 8 | 9 | call ale#linter#Define('go', { 10 | \ 'name': 'gosimple', 11 | \ 'executable': 'gosimple', 12 | \ 'command': function('ale_linters#go#gosimple#GetCommand'), 13 | \ 'callback': 'ale#handlers#go#Handler', 14 | \ 'output_stream': 'both', 15 | \ 'lint_file': 1, 16 | \}) 17 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/ale_linters/go/gotype.vim: -------------------------------------------------------------------------------- 1 | " Author: Jelte Fennema 2 | " Description: gotype for Go files 3 | 4 | function! ale_linters#go#gotype#GetCommand(buffer) abort 5 | if expand('#' . a:buffer . ':p') =~# '_test\.go$' 6 | return '' 7 | endif 8 | 9 | return ale#path#BufferCdString(a:buffer) . ' ' 10 | \ . ale#go#EnvString(a:buffer) . 'gotype -e .' 11 | endfunction 12 | 13 | call ale#linter#Define('go', { 14 | \ 'name': 'gotype', 15 | \ 'output_stream': 'stderr', 16 | \ 'executable': 'gotype', 17 | \ 'command': function('ale_linters#go#gotype#GetCommand'), 18 | \ 'callback': 'ale#handlers#go#Handler', 19 | \ 'lint_file': 1, 20 | \}) 21 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/ale_linters/go/revive.vim: -------------------------------------------------------------------------------- 1 | " Author: Penghui Liao 2 | " Description: Adds support for revive 3 | 4 | call ale#Set('go_revive_executable', 'revive') 5 | call ale#Set('go_revive_options', '') 6 | 7 | function! ale_linters#go#revive#GetCommand(buffer) abort 8 | let l:options = ale#Var(a:buffer, 'go_revive_options') 9 | 10 | return ale#go#EnvString(a:buffer) . '%e' 11 | \ . (!empty(l:options) ? ' ' . l:options : '') 12 | \ . ' %t' 13 | endfunction 14 | 15 | call ale#linter#Define('go', { 16 | \ 'name': 'revive', 17 | \ 'output_stream': 'both', 18 | \ 'executable': {b -> ale#Var(b, 'go_revive_executable')}, 19 | \ 'command': function('ale_linters#go#revive#GetCommand'), 20 | \ 'callback': 'ale#handlers#unix#HandleAsWarning', 21 | \}) 22 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | \ 'command': function('ale#handlers#eslint#GetCommand'), 8 | \ 'callback': 'ale#handlers#eslint#HandleJSON', 9 | \}) 10 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/ale_linters/graphql/gqlint.vim: -------------------------------------------------------------------------------- 1 | " Author: Michiel Westerbeek 2 | " Description: Linter for GraphQL Schemas 3 | 4 | function! ale_linters#graphql#gqlint#GetCommand(buffer) abort 5 | return ale#path#BufferCdString(a:buffer) 6 | \ . 'gqlint' 7 | \ . ' --reporter=simple %t' 8 | endfunction 9 | 10 | call ale#linter#Define('graphql', { 11 | \ 'name': 'gqlint', 12 | \ 'executable': 'gqlint', 13 | \ 'command': function('ale_linters#graphql#gqlint#GetCommand'), 14 | \ 'callback': 'ale#handlers#unix#HandleAsWarning', 15 | \}) 16 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/ale_linters/haskell/cabal_ghc.vim: -------------------------------------------------------------------------------- 1 | " Author: Eric Wolf 2 | " Description: ghc for Haskell files called with cabal exec 3 | 4 | call ale#Set('haskell_cabal_ghc_options', '-fno-code -v0') 5 | 6 | function! ale_linters#haskell#cabal_ghc#GetCommand(buffer) abort 7 | return ale#path#BufferCdString(a:buffer) 8 | \ . 'cabal exec -- ghc ' 9 | \ . ale#Var(a:buffer, 'haskell_cabal_ghc_options') 10 | \ . ' %t' 11 | endfunction 12 | 13 | call ale#linter#Define('haskell', { 14 | \ 'name': 'cabal_ghc', 15 | \ 'aliases': ['cabal-ghc'], 16 | \ 'output_stream': 'stderr', 17 | \ 'executable': 'cabal', 18 | \ 'command': function('ale_linters#haskell#cabal_ghc#GetCommand'), 19 | \ 'callback': 'ale#handlers#haskell#HandleGHCFormat', 20 | \}) 21 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/ale_linters/haskell/ghc_mod.vim: -------------------------------------------------------------------------------- 1 | " Author: wizzup 2 | " Description: ghc-mod for Haskell files 3 | 4 | call ale#Set('haskell_ghc_mod_executable', 'ghc-mod') 5 | 6 | function! ale_linters#haskell#ghc_mod#GetCommand (buffer) abort 7 | let l:executable = ale#Var(a:buffer, 'haskell_ghc_mod_executable') 8 | 9 | return ale#handlers#haskell_stack#EscapeExecutable(l:executable, 'ghc-mod') 10 | \ . ' --map-file %s=%t check %s' 11 | endfunction 12 | 13 | call ale#linter#Define('haskell', { 14 | \ 'name': 'ghc_mod', 15 | \ 'aliases': ['ghc-mod'], 16 | \ 'executable': {b -> ale#Var(b, 'haskell_ghc_mod_executable')}, 17 | \ 'command': function('ale_linters#haskell#ghc_mod#GetCommand'), 18 | \ 'callback': 'ale#handlers#haskell#HandleGHCFormat', 19 | \}) 20 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | \ 'command': function('ale#handlers#eslint#GetCommand'), 9 | \ 'callback': 'ale#handlers#eslint#HandleJSON', 10 | \}) 11 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/ale_linters/javascript/tsserver.vim: -------------------------------------------------------------------------------- 1 | " Author: Chaucerbao, w0rp 2 | " Description: tsserver integration for ALE 3 | 4 | call ale#Set('javascript_tsserver_executable', 'tsserver') 5 | call ale#Set('javascript_tsserver_config_path', '') 6 | call ale#Set('javascript_tsserver_use_global', get(g:, 'ale_use_global_executables', 0)) 7 | 8 | call ale#linter#Define('javascript', { 9 | \ 'name': 'tsserver', 10 | \ 'lsp': 'tsserver', 11 | \ 'executable': {b -> ale#node#FindExecutable(b, 'javascript_tsserver', [ 12 | \ 'node_modules/.bin/tsserver', 13 | \ ])}, 14 | \ 'command': '%e', 15 | \ 'project_root': function('ale#handlers#tsserver#GetProjectRoot'), 16 | \ 'language': '', 17 | \}) 18 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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#node#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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/ale_linters/mail/languagetool.vim: -------------------------------------------------------------------------------- 1 | " Author: Vincent (wahrwolf [ät] wolfpit.net) 2 | " Description: languagetool for mails 3 | 4 | 5 | call ale#handlers#languagetool#DefineLinter('mail') 6 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/ale_linters/markdown/languagetool.vim: -------------------------------------------------------------------------------- 1 | " Author: Vincent (wahrwolf [ät] wolfpit.net) 2 | " Description: languagetool for markdown files 3 | 4 | 5 | call ale#handlers#languagetool#DefineLinter('markdown') 6 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/ale_linters/markdown/vale.vim: -------------------------------------------------------------------------------- 1 | " Author: chew-z https://github.com/chew-z 2 | " Description: vale for Markdown files 3 | 4 | call ale#linter#Define('markdown', { 5 | \ 'name': 'vale', 6 | \ 'executable': 'vale', 7 | \ 'command': 'vale --output=JSON %t', 8 | \ 'callback': 'ale#handlers#vale#Handle', 9 | \}) 10 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/ale_linters/reason/ls.vim: -------------------------------------------------------------------------------- 1 | " Author: David Buchan-Swanson 2 | " Description: Integrate ALE with reason-language-server. 3 | 4 | call ale#Set('reason_ls_executable', '') 5 | 6 | function! ale_linters#reason#ls#FindProjectRoot(buffer) abort 7 | let l:reason_config = ale#path#FindNearestFile(a:buffer, 'bsconfig.json') 8 | 9 | if !empty(l:reason_config) 10 | return fnamemodify(l:reason_config, ':h') 11 | endif 12 | 13 | return '' 14 | endfunction 15 | 16 | call ale#linter#Define('reason', { 17 | \ 'name': 'reason-language-server', 18 | \ 'lsp': 'stdio', 19 | \ 'executable': {buffer -> ale#Var(buffer, 'reason_ls_executable')}, 20 | \ 'command': '%e', 21 | \ 'project_root': function('ale_linters#reason#ls#FindProjectRoot'), 22 | \ 'language': 'reason', 23 | \}) 24 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 -T1 %t', 10 | \ 'output_stream': 'stderr', 11 | \ 'callback': 'ale#handlers#ruby#HandleSyntaxErrors', 12 | \}) 13 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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#node#FindExecutable(b, 'sass_stylelint', [ 9 | \ 'node_modules/.bin/stylelint', 10 | \ ])}, 11 | \ 'command': '%e --stdin-filename %s', 12 | \ 'callback': 'ale#handlers#css#HandleStyleLintFormat', 13 | \}) 14 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/ale_linters/scss/stylelint.vim: -------------------------------------------------------------------------------- 1 | " Author: diartyz 2 | 3 | call ale#Set('scss_stylelint_executable', 'stylelint') 4 | call ale#Set('scss_stylelint_options', '') 5 | call ale#Set('scss_stylelint_use_global', get(g:, 'ale_use_global_executables', 0)) 6 | 7 | function! ale_linters#scss#stylelint#GetCommand(buffer) abort 8 | return '%e ' . ale#Pad(ale#Var(a:buffer, 'scss_stylelint_options')) 9 | \ . ' --stdin-filename %s' 10 | endfunction 11 | 12 | call ale#linter#Define('scss', { 13 | \ 'name': 'stylelint', 14 | \ 'executable': {b -> ale#node#FindExecutable(b, 'scss_stylelint', [ 15 | \ 'node_modules/.bin/stylelint', 16 | \ ])}, 17 | \ 'command': function('ale_linters#scss#stylelint#GetCommand'), 18 | \ 'callback': 'ale#handlers#css#HandleStyleLintFormat', 19 | \}) 20 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/ale_linters/sml/smlnj_cm.vim: -------------------------------------------------------------------------------- 1 | " Author: Jake Zimmerman 2 | " Description: SML checking with SML/NJ Compilation Manager 3 | 4 | function! ale_linters#sml#smlnj_cm#GetCommand(buffer) abort 5 | let l:cmfile = ale#handlers#sml#GetCmFile(a:buffer) 6 | 7 | return 'sml -m ' . l:cmfile . ' < /dev/null' 8 | endfunction 9 | 10 | " Using CM requires that we set "lint_file: 1", since it reads the files 11 | " from the disk itself. 12 | call ale#linter#Define('sml', { 13 | \ 'name': 'smlnj_cm', 14 | \ 'aliases': ['smlnj-cm'], 15 | \ 'executable': function('ale#handlers#sml#GetExecutableSmlnjCm'), 16 | \ 'lint_file': 1, 17 | \ 'command': function('ale_linters#sml#smlnj_cm#GetCommand'), 18 | \ 'callback': 'ale#handlers#sml#Handle', 19 | \}) 20 | 21 | " vim:ts=4:sts=4:sw=4 22 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/ale_linters/tex/texlab.vim: -------------------------------------------------------------------------------- 1 | " Author: Ricardo Liang 2 | " Description: Texlab language server (Rust rewrite) 3 | 4 | call ale#Set('tex_texlab_executable', 'texlab') 5 | call ale#Set('tex_texlab_options', '') 6 | 7 | function! ale_linters#tex#texlab#GetProjectRoot(buffer) abort 8 | return '' 9 | endfunction 10 | 11 | function! ale_linters#tex#texlab#GetCommand(buffer) abort 12 | return '%e' . ale#Pad(ale#Var(a:buffer, 'tex_texlab_options')) 13 | endfunction 14 | 15 | call ale#linter#Define('tex', { 16 | \ 'name': 'texlab', 17 | \ 'lsp': 'stdio', 18 | \ 'executable': {b -> ale#Var(b, 'tex_texlab_executable')}, 19 | \ 'command': function('ale_linters#tex#texlab#GetCommand'), 20 | \ 'project_root': function('ale_linters#tex#texlab#GetProjectRoot'), 21 | \}) 22 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | \ 'command': function('ale#handlers#eslint#GetCommand'), 8 | \ 'callback': 'ale#handlers#eslint#HandleJSON', 9 | \}) 10 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/ale_linters/typescript/tsserver.vim: -------------------------------------------------------------------------------- 1 | " Author: w0rp 2 | " Description: tsserver integration for ALE 3 | 4 | call ale#Set('typescript_tsserver_executable', 'tsserver') 5 | call ale#Set('typescript_tsserver_config_path', '') 6 | call ale#Set('typescript_tsserver_use_global', get(g:, 'ale_use_global_executables', 0)) 7 | 8 | call ale#linter#Define('typescript', { 9 | \ 'name': 'tsserver', 10 | \ 'lsp': 'tsserver', 11 | \ 'executable': {b -> ale#node#FindExecutable(b, 'typescript_tsserver', [ 12 | \ '.yarn/sdks/typescript/bin/tsserver', 13 | \ 'node_modules/.bin/tsserver', 14 | \ ])}, 15 | \ 'command': '%e', 16 | \ 'project_root': function('ale#handlers#tsserver#GetProjectRoot'), 17 | \ 'language': '', 18 | \}) 19 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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#node#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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/ale_linters/zig/zls.vim: -------------------------------------------------------------------------------- 1 | " Author: CherryMan 2 | " Description: A language server for Zig 3 | 4 | call ale#Set('zig_zls_executable', 'zls') 5 | call ale#Set('zig_zls_config', {}) 6 | 7 | function! ale_linters#zig#zls#GetProjectRoot(buffer) abort 8 | let l:build_rs = ale#path#FindNearestFile(a:buffer, 'build.zig') 9 | 10 | return !empty(l:build_rs) ? fnamemodify(l:build_rs, ':h') : '' 11 | endfunction 12 | 13 | call ale#linter#Define('zig', { 14 | \ 'name': 'zls', 15 | \ 'lsp': 'stdio', 16 | \ 'lsp_config': {b -> ale#Var(b, 'zig_zls_config')}, 17 | \ 'executable': {b -> ale#Var(b, 'zig_zls_executable')}, 18 | \ 'command': '%e', 19 | \ 'project_root': function('ale_linters#zig#zls#GetProjectRoot'), 20 | \}) 21 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | \ . ' -i ' 14 | \ . (empty(l:options) ? '' : ' ' . l:options) 15 | \ . ' %t', 16 | \ 'read_temporary_file': 1, 17 | \} 18 | endfunction 19 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | let l:command = l:executable 7 | \ . ' format' 8 | \ . ' --inplace %t' 9 | 10 | return { 11 | \ 'command': l:command, 12 | \ 'read_temporary_file': 1, 13 | \} 14 | endfunction 15 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | let l:command = l:executable 9 | \ . ' freeze' 10 | \ . ale#Pad(ale#Var(a:buffer, 'dhall_freeze_options')) 11 | \ . ' --inplace %t' 12 | 13 | 14 | return { 15 | \ 'command': l:command, 16 | \ 'read_temporary_file': 1, 17 | \} 18 | endfunction 19 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | let l:command = l:executable 7 | \ . ' lint' 8 | \ . ' --inplace %t' 9 | 10 | return { 11 | \ 'command': l:command, 12 | \ 'read_temporary_file': 1, 13 | \} 14 | endfunction 15 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/autoload/ale/fixers/fish_indent.vim: -------------------------------------------------------------------------------- 1 | " Author: Chen YuanYuan 2 | " Description: Integration of fish_indent with ALE. 3 | 4 | call ale#Set('fish_fish_indent_executable', 'fish_indent') 5 | call ale#Set('fish_fish_indent_options', '') 6 | 7 | function! ale#fixers#fish_indent#Fix(buffer) abort 8 | let l:executable = ale#Var(a:buffer, 'fish_fish_indent_executable') 9 | let l:options = ale#Var(a:buffer, 'fish_fish_indent_options') 10 | let l:filename = ale#Escape(bufname(a:buffer)) 11 | 12 | return { 13 | \ 'command': ale#Escape(l:executable) 14 | \ . ' -w ' 15 | \ . (empty(l:options) ? '' : ' ' . l:options) 16 | \ . ' %t', 17 | \ 'read_temporary_file': 1, 18 | \} 19 | endfunction 20 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/autoload/ale/fixers/floskell.vim: -------------------------------------------------------------------------------- 1 | " Author: robertjlooby 2 | " Description: Integration of floskell with ALE. 3 | 4 | call ale#Set('haskell_floskell_executable', 'floskell') 5 | 6 | function! ale#fixers#floskell#GetExecutable(buffer) abort 7 | let l:executable = ale#Var(a:buffer, 'haskell_floskell_executable') 8 | 9 | return ale#handlers#haskell_stack#EscapeExecutable(l:executable, 'floskell') 10 | endfunction 11 | 12 | function! ale#fixers#floskell#Fix(buffer) abort 13 | let l:executable = ale#fixers#floskell#GetExecutable(a:buffer) 14 | 15 | return { 16 | \ 'command': l:executable 17 | \ . ' %t', 18 | \ 'read_temporary_file': 1, 19 | \} 20 | endfunction 21 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/autoload/ale/fixers/help.vim: -------------------------------------------------------------------------------- 1 | " Author: w0rp 2 | " Description: Generic fixer functions for Vim help documents. 3 | 4 | function! ale#fixers#help#AlignTags(buffer, lines) abort 5 | let l:new_lines = [] 6 | 7 | for l:line in a:lines 8 | if len(l:line) != 79 9 | let l:match = matchlist(l:line, '\v +(\*[^*]+\*)$') 10 | 11 | if !empty(l:match) 12 | let l:start = l:line[:-len(l:match[0]) - 1] 13 | let l:tag = l:match[1] 14 | let l:spaces = repeat(' ', 79 - len(l:start) - len(l:tag)) 15 | 16 | let l:line = l:start . l:spaces . l:tag 17 | endif 18 | endif 19 | 20 | call add(l:new_lines, l:line) 21 | endfor 22 | 23 | return l:new_lines 24 | endfunction 25 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/autoload/ale/fixers/hfmt.vim: -------------------------------------------------------------------------------- 1 | " Author: zack 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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/autoload/ale/fixers/hindent.vim: -------------------------------------------------------------------------------- 1 | " Author: AlexeiDrake 2 | " Description: Integration of hindent formatting with ALE. 3 | " 4 | call ale#Set('haskell_hindent_executable', 'hindent') 5 | 6 | function! ale#fixers#hindent#GetExecutable(buffer) abort 7 | let l:executable = ale#Var(a:buffer, 'haskell_hindent_executable') 8 | 9 | return ale#handlers#haskell_stack#EscapeExecutable(l:executable, 'hindent') 10 | endfunction 11 | 12 | function! ale#fixers#hindent#Fix(buffer) abort 13 | let l:executable = ale#fixers#hindent#GetExecutable(a:buffer) 14 | 15 | return { 16 | \ 'command': l:executable 17 | \ . ' %t', 18 | \ 'read_temporary_file': 1, 19 | \} 20 | endfunction 21 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/autoload/ale/fixers/html_beautify.vim: -------------------------------------------------------------------------------- 1 | " Author: WhyNotHugo 2 | " Description: Lint HTML files with html-beautify. 3 | " 4 | call ale#Set('html_beautify_executable', 'html-beautify') 5 | call ale#Set('html_beautify_use_global', get(g:, 'ale_use_global_executables', 0)) 6 | call ale#Set('html_beautify_options', '') 7 | call ale#Set('html_beautify_change_directory', 1) 8 | 9 | function! ale#fixers#html_beautify#Fix(buffer) abort 10 | let l:executable = ale#python#FindExecutable( 11 | \ a:buffer, 12 | \ 'html_beautify', 13 | \ ['html-beautify'] 14 | \) 15 | 16 | let l:options = ale#Var(a:buffer, 'html_beautify_options') 17 | 18 | return { 19 | \ 'command': ale#Escape(l:executable). ' ' . l:options . ' -', 20 | \} 21 | endfunction 22 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/autoload/ale/fixers/jq.vim: -------------------------------------------------------------------------------- 1 | call ale#Set('json_jq_executable', 'jq') 2 | call ale#Set('json_jq_options', '') 3 | call ale#Set('json_jq_filters', '.') 4 | 5 | function! ale#fixers#jq#GetExecutable(buffer) abort 6 | return ale#Var(a:buffer, 'json_jq_executable') 7 | endfunction 8 | 9 | function! ale#fixers#jq#Fix(buffer) abort 10 | let l:options = ale#Var(a:buffer, 'json_jq_options') 11 | let l:filters = ale#Var(a:buffer, 'json_jq_filters') 12 | 13 | if empty(l:filters) 14 | return 0 15 | endif 16 | 17 | return { 18 | \ 'command': ale#Escape(ale#fixers#jq#GetExecutable(a:buffer)) 19 | \ . ' ' . l:filters . ' ' 20 | \ . l:options, 21 | \} 22 | endfunction 23 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/autoload/ale/fixers/ocp_indent.vim: -------------------------------------------------------------------------------- 1 | " Author: Kanenobu Mitsuru 2 | " Description: Integration of ocp-indent with ALE. 3 | 4 | call ale#Set('ocaml_ocp_indent_executable', 'ocp-indent') 5 | call ale#Set('ocaml_ocp_indent_options', '') 6 | call ale#Set('ocaml_ocp_indent_config', '') 7 | 8 | function! ale#fixers#ocp_indent#Fix(buffer) abort 9 | let l:executable = ale#Var(a:buffer, 'ocaml_ocp_indent_executable') 10 | let l:config = ale#Var(a:buffer, 'ocaml_ocp_indent_config') 11 | let l:options = ale#Var(a:buffer, 'ocaml_ocp_indent_options') 12 | 13 | return { 14 | \ 'command': ale#Escape(l:executable) 15 | \ . (empty(l:config) ? '' : ' --config=' . ale#Escape(l:config)) 16 | \ . (empty(l:options) ? '': ' ' . l:options) 17 | \} 18 | endfunction 19 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/autoload/ale/fixers/puppetlint.vim: -------------------------------------------------------------------------------- 1 | " Author: Alexander Olofsson 2 | " Description: puppet-lint fixer 3 | 4 | if !exists('g:ale_puppet_puppetlint_executable') 5 | let g:ale_puppet_puppetlint_executable = 'puppet-lint' 6 | endif 7 | 8 | if !exists('g:ale_puppet_puppetlint_options') 9 | let g:ale_puppet_puppetlint_options = '' 10 | endif 11 | 12 | function! ale#fixers#puppetlint#Fix(buffer) abort 13 | let l:executable = ale#Var(a:buffer, 'puppet_puppetlint_executable') 14 | 15 | return { 16 | \ 'command': ale#Escape(l:executable) 17 | \ . ' ' . ale#Var(a:buffer, 'puppet_puppetlint_options') 18 | \ . ' --fix' 19 | \ . ' %t', 20 | \ 'read_temporary_file': 1, 21 | \} 22 | endfunction 23 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/autoload/ale/fixers/sorbet.vim: -------------------------------------------------------------------------------- 1 | call ale#Set('ruby_sorbet_executable', 'srb') 2 | call ale#Set('ruby_sorbet_options', '') 3 | 4 | function! ale#fixers#sorbet#GetCommand(buffer) abort 5 | let l:executable = ale#Var(a:buffer, 'ruby_sorbet_executable') 6 | let l:options = ale#Var(a:buffer, 'ruby_sorbet_options') 7 | 8 | return ale#ruby#EscapeExecutable(l:executable, 'srb') 9 | \ . ' tc' 10 | \ . (!empty(l:options) ? ' ' . l:options : '') 11 | \ . ' --autocorrect --file %t' 12 | endfunction 13 | 14 | function! ale#fixers#sorbet#Fix(buffer) abort 15 | return { 16 | \ 'command': ale#fixers#sorbet#GetCommand(a:buffer), 17 | \ 'read_temporary_file': 1, 18 | \} 19 | endfunction 20 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/autoload/ale/gradle/init.gradle: -------------------------------------------------------------------------------- 1 | class ClasspathPlugin implements Plugin { 2 | void apply(Project project) { 3 | project.task('printClasspath') { 4 | doLast { 5 | project 6 | .rootProject 7 | .allprojects 8 | .configurations 9 | .flatten() 10 | .findAll { it.name.endsWith('Classpath') } 11 | .collect { it.resolve() } 12 | .flatten() 13 | .unique() 14 | .findAll { it.exists() } 15 | .each { println it } 16 | } 17 | } 18 | } 19 | } 20 | 21 | rootProject { 22 | apply plugin: ClasspathPlugin 23 | } 24 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/autoload/ale/handlers/cpplint.vim: -------------------------------------------------------------------------------- 1 | " Author: Dawid Kurek https://github.com/dawikur 2 | " Description: Handle errors for cpplint. 3 | 4 | function! ale#handlers#cpplint#HandleCppLintFormat(buffer, lines) abort 5 | " Look for lines like the following. 6 | " test.cpp:5: Estra space after ( in function call [whitespace/parents] [4] 7 | let l:pattern = '^.\{-}:\(\d\+\): *\(.\+\) *\[\(.*/.*\)\] ' 8 | let l:output = [] 9 | 10 | for l:match in ale#util#GetMatches(a:lines, l:pattern) 11 | call add(l:output, { 12 | \ 'lnum': l:match[1] + 0, 13 | \ 'col': 0, 14 | \ 'text': join(split(l:match[2])), 15 | \ 'code': l:match[3], 16 | \ 'type': 'W', 17 | \}) 18 | endfor 19 | 20 | return l:output 21 | endfunction 22 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/autoload/ale/handlers/markdownlint.vim: -------------------------------------------------------------------------------- 1 | " Author: Ty-Lucas Kelley 2 | " Description: Adds support for markdownlint 3 | 4 | function! ale#handlers#markdownlint#Handle(buffer, lines) abort 5 | let l:pattern=': \?\(\d\+\)\(:\(\d\+\)\?\)\? \(MD\d\{3}/[A-Za-z0-9-/]\+\) \(.*\)$' 6 | let l:output=[] 7 | 8 | for l:match in ale#util#GetMatches(a:lines, l:pattern) 9 | let l:result = ({ 10 | \ 'lnum': l:match[1] + 0, 11 | \ 'code': l:match[4], 12 | \ 'text': l:match[5], 13 | \ 'type': 'W', 14 | \}) 15 | 16 | if len(l:match[3]) > 0 17 | let l:result.col = (l:match[3] + 0) 18 | endif 19 | 20 | call add(l:output, l:result) 21 | endfor 22 | 23 | return l:output 24 | endfunction 25 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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#node#FindExecutable(a:buffer, 'typescript_tslint', [ 11 | \ 'node_modules/.bin/tslint', 12 | \]) 13 | endfunction 14 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/autoload/ale/julia.vim: -------------------------------------------------------------------------------- 1 | " Author: Bartolomeo Stellato bartolomeo.stellato@gmail.com 2 | " Description: Functions for integrating with Julia tools 3 | 4 | " Find the nearest dir containing a julia project 5 | let s:__ale_julia_project_filenames = ['REQUIRE', 'Manifest.toml', 'Project.toml'] 6 | 7 | function! ale#julia#FindProjectRoot(buffer) abort 8 | for l:project_filename in s:__ale_julia_project_filenames 9 | let l:full_path = ale#path#FindNearestFile(a:buffer, l:project_filename) 10 | 11 | if !empty(l:full_path) 12 | let l:path = fnamemodify(l:full_path, ':p:h') 13 | 14 | return l:path 15 | endif 16 | endfor 17 | 18 | return '' 19 | endfunction 20 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/autoload/ale/swift.vim: -------------------------------------------------------------------------------- 1 | " Author: Dan Loman 2 | " Description: Functions for integrating with Swift tools 3 | 4 | " Find the nearest dir containing a Package.swift file and assume it is the root of the Swift project. 5 | function! ale#swift#FindProjectRoot(buffer) abort 6 | let l:swift_config = ale#path#FindNearestFile(a:buffer, 'Package.swift') 7 | 8 | if !empty(l:swift_config) 9 | return fnamemodify(l:swift_config, ':h') 10 | endif 11 | 12 | return '' 13 | endfunction 14 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/autoload/ale/uri.vim: -------------------------------------------------------------------------------- 1 | function! s:EncodeChar(char) abort 2 | let l:result = '' 3 | 4 | for l:index in range(strlen(a:char)) 5 | let l:result .= printf('%%%02x', char2nr(a:char[l:index])) 6 | endfor 7 | 8 | return l:result 9 | endfunction 10 | 11 | function! ale#uri#Encode(value) abort 12 | return substitute( 13 | \ a:value, 14 | \ '\([^a-zA-Z0-9\\/$\-_.!*''(),]\)', 15 | \ '\=s:EncodeChar(submatch(1))', 16 | \ 'g' 17 | \) 18 | endfunction 19 | 20 | function! ale#uri#Decode(value) abort 21 | return substitute( 22 | \ a:value, 23 | \ '%\(\x\x\)', 24 | \ '\=printf("%c", str2nr(submatch(1), 16))', 25 | \ 'g' 26 | \) 27 | endfunction 28 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/doc/ale-ansible.txt: -------------------------------------------------------------------------------- 1 | =============================================================================== 2 | ALE Ansible Integration *ale-ansible-options* 3 | 4 | 5 | =============================================================================== 6 | ansible-lint *ale-ansible-ansible-lint* 7 | 8 | g:ale_ansible_ansible_lint_executable *g:ale_ansible_ansible_lint_executable* 9 | *b:ale_ansible_ansible_lint_executable* 10 | Type: |String| 11 | Default: `'ansible-lint'` 12 | 13 | This variable can be changed to modify the executable used for ansible-lint. 14 | 15 | =============================================================================== 16 | vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: 17 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/doc/ale-asciidoc.txt: -------------------------------------------------------------------------------- 1 | =============================================================================== 2 | ALE AsciiDoc Integration *ale-asciidoc-options* 3 | 4 | 5 | =============================================================================== 6 | write-good *ale-asciidoc-write-good* 7 | 8 | See |ale-write-good-options| 9 | 10 | 11 | =============================================================================== 12 | textlint *ale-asciidoc-textlint* 13 | 14 | See |ale-text-textlint| 15 | 16 | 17 | =============================================================================== 18 | vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: 19 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/doc/ale-bib.txt: -------------------------------------------------------------------------------- 1 | =============================================================================== 2 | ALE BibTeX Integration *ale-bib-options* 3 | 4 | 5 | =============================================================================== 6 | bibclean *ale-bib-bibclean* 7 | 8 | g:ale_bib_bibclean_executable *g:ale_bib_bibclean_executable* 9 | 10 | Type: |String| 11 | Default: `'bibclean'` 12 | 13 | g:ale_bib_bibclean_options *g:ale_bib_bibclean_options* 14 | 15 | Type: |String| 16 | Default: `'-align-equals'` 17 | 18 | =============================================================================== 19 | vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: 20 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/doc/ale-latex.txt: -------------------------------------------------------------------------------- 1 | =============================================================================== 2 | ALE LaTeX Integration *ale-latex-options* 3 | 4 | 5 | =============================================================================== 6 | write-good *ale-latex-write-good* 7 | 8 | See |ale-write-good-options| 9 | 10 | 11 | =============================================================================== 12 | textlint *ale-latex-textlint* 13 | 14 | See |ale-text-textlint| 15 | 16 | 17 | =============================================================================== 18 | vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: 19 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/doc/ale-qml.txt: -------------------------------------------------------------------------------- 1 | =============================================================================== 2 | ALE QML Integration *ale-qml-options* 3 | 4 | 5 | =============================================================================== 6 | qmlfmt *ale-qml-qmlfmt* 7 | 8 | g:ale_qml_qmlfmt_executable *g:ale_qml_qmlfmt_executable* 9 | *b:ale_qml_qmlfmt_executable* 10 | Type: |String| 11 | Default: `'qmlfmt'` 12 | 13 | This variable can be set to change the path to qmlfmt. 14 | 15 | 16 | =============================================================================== 17 | vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: 18 | 19 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/doc/ale-yang.txt: -------------------------------------------------------------------------------- 1 | =============================================================================== 2 | ALE YANG Integration *ale-yang-options* 3 | 4 | 5 | =============================================================================== 6 | yang-lsp *ale-yang-lsp* 7 | 8 | g:ale_yang_lsp_executable *g:ale_yang_lsp_executable* 9 | *b:ale_yang_lsp_executable* 10 | Type: |String| 11 | Default: `'yang-language-server'` 12 | 13 | This variable can be changed to use a different executable for yang-lsp. 14 | 15 | 16 | =============================================================================== 17 | vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: 18 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/ftplugin/ale-fix-suggest.vim: -------------------------------------------------------------------------------- 1 | " Close the ALEFixSuggest window with the q key. 2 | noremap q :q! 3 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-ale/ftplugin/ale-preview.vim: -------------------------------------------------------------------------------- 1 | " Close the ALEPreviewWindow window with the q key. 2 | noremap q :q! 3 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/w0rp-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 | -------------------------------------------------------------------------------- /pack/plugins/start/wellle-tmux-complete-vim/autoload/coc/source/tmuxcomplete.vim: -------------------------------------------------------------------------------- 1 | function! coc#source#tmuxcomplete#init() abort 2 | return { 3 | \ 'priority': 1, 4 | \ 'shortcut': 'TMUX', 5 | \ } 6 | endfunction 7 | 8 | function! coc#source#tmuxcomplete#complete(opt, callback) abort 9 | let Callback = function('s:ListToDict', [a:callback]) " wrap callback 10 | call tmuxcomplete#async#gather_candidates(Callback) 11 | endfunction 12 | 13 | function! s:ListToDict(callback, items) 14 | let res = [] 15 | for item in a:items 16 | call add(res, {'word' : item}) 17 | endfor 18 | call a:callback(res) 19 | endfunction 20 | -------------------------------------------------------------------------------- /pack/plugins/start/wellle-tmux-complete-vim/autoload/neocomplcache/sources/tmuxcomplete.vim: -------------------------------------------------------------------------------- 1 | let s:save_cpo = &cpo 2 | set cpo&vim 3 | 4 | let s:source = { 5 | \ 'name' : 'tmux-complete', 6 | \ 'kind' : 'keyword', 7 | \ 'mark' : '[tmux]', 8 | \ 'rank' : 4, 9 | \ 'min_pattern_length' : g:neocomplcache_auto_completion_start_length, 10 | \ } 11 | 12 | function! s:source.gather_candidates(context) 13 | return tmuxcomplete#complete(0, a:context.complete_str) 14 | endfunction 15 | 16 | function! neocomplcache#sources#tmuxcomplete#define() 17 | return s:source 18 | endfunction 19 | 20 | let &cpo = s:save_cpo 21 | unlet s:save_cpo 22 | -------------------------------------------------------------------------------- /pack/plugins/start/wellle-tmux-complete-vim/autoload/neocomplete/sources/tmuxcomplete.vim: -------------------------------------------------------------------------------- 1 | let s:save_cpo = &cpo 2 | set cpo&vim 3 | 4 | let s:source = { 5 | \ 'name' : 'tmux-complete', 6 | \ 'kind' : 'keyword', 7 | \ 'mark' : '[tmux]', 8 | \ 'rank' : 4, 9 | \ } 10 | 11 | function! s:source.gather_candidates(context) 12 | return tmuxcomplete#gather_candidates() 13 | endfunction 14 | 15 | function! neocomplete#sources#tmuxcomplete#define() 16 | return s:source 17 | endfunction 18 | 19 | let &cpo = s:save_cpo 20 | unlet s:save_cpo 21 | -------------------------------------------------------------------------------- /pack/plugins/start/wellle-tmux-complete-vim/pythonx/ncm2_tmux_complete.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | import vim 4 | from ncm2 import Ncm2Source, getLogger 5 | from subprocess import check_output 6 | 7 | 8 | logger = getLogger(__name__) 9 | 10 | 11 | class Source(Ncm2Source): 12 | def __init__(self, nvim): 13 | super(Source, self).__init__(nvim) 14 | 15 | def on_complete(self, ctx): 16 | 17 | command = vim.call('tmuxcomplete#getcommand', '', 'words') 18 | words = check_output(['sh', '-c', command] 19 | ).decode('utf-8').splitlines() 20 | matches = [{'word': x} for x in words] 21 | self.complete(ctx, ctx['startccol'], matches) 22 | 23 | 24 | source = Source(vim) 25 | 26 | on_complete = source.on_complete 27 | -------------------------------------------------------------------------------- /pack/plugins/start/wellle-tmux-complete-vim/rplugin/python3/deoplete/sources/tmuxcomplete.py: -------------------------------------------------------------------------------- 1 | from subprocess import check_output 2 | 3 | from deoplete.base.source import Base 4 | 5 | 6 | class Source(Base): 7 | def __init__(self, vim): 8 | Base.__init__(self, vim) 9 | 10 | self.name = 'tmux-complete' 11 | self.kind = 'keyword' 12 | self.mark = '[tmux]' 13 | self.rank = 4 14 | 15 | def gather_candidates(self, context): 16 | command = self.vim.call('tmuxcomplete#getcommand', '', 'words') 17 | words = check_output(['sh', '-c', command]).decode('utf-8').splitlines() 18 | return [{ 'word': x } for x in words] 19 | -------------------------------------------------------------------------------- /pack/plugins/start/wincent-terminus/.watchmanconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robertmeta/vimfiles/d4870ff659d0b7db72eb6000a86d15348f9b8c0d/pack/plugins/start/wincent-terminus/.watchmanconfig -------------------------------------------------------------------------------- /pack/plugins/start/wincent-terminus/doc/.gitignore: -------------------------------------------------------------------------------- 1 | tags 2 | -------------------------------------------------------------------------------- /pack/plugins/start/xtal8-traces-vim/img/traces_example.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robertmeta/vimfiles/d4870ff659d0b7db72eb6000a86d15348f9b8c0d/pack/plugins/start/xtal8-traces-vim/img/traces_example.gif -------------------------------------------------------------------------------- /temp/.createme: -------------------------------------------------------------------------------- 1 | createme 2 | -------------------------------------------------------------------------------- /undo/.createme: -------------------------------------------------------------------------------- 1 | createme 2 | --------------------------------------------------------------------------------