From db8cf0fe93b74e5ebc9c4560feb7e81e6101d580 Mon Sep 17 00:00:00 2001 From: Michael Kelly Date: Sun, 9 Jul 2023 01:11:18 -0400 Subject: [PATCH] Refactor nvim configs to use packages :h packages in either vim or neovim My config file is still compatible with both vim and neovim, so vim's `pack` dir is a symlink to neovim's. --- .config/nvim/autoload/pathogen.vim | 264 ---------- .../bundle/vim-javascript/ISSUE_TEMPLATE.md | 13 - .config/nvim/bundle/vim-javascript/README.md | 119 ----- .../after/ftplugin/javascript.vim | 12 - .../bundle/vim-javascript/compiler/eslint.vim | 16 - .../nvim/bundle/vim-javascript/extras/ctags | 8 - .../bundle/vim-javascript/extras/flow.vim | 107 ---- .../bundle/vim-javascript/extras/jsdoc.vim | 39 -- .../bundle/vim-javascript/extras/ngdoc.vim | 3 - .../vim-javascript/ftdetect/javascript.vim | 11 - .../vim-javascript/indent/javascript.vim | 475 ------------------ .../vim-javascript/syntax/javascript.vim | 391 -------------- .config/nvim/init.vim | 10 +- .local/overlay-directory | 1 + .local/share/nvim/overlay-directory | 1 + .local/share/nvim/site/overlay-directory | 1 + .../start}/vim-bufferline/.gitignore | 0 .../start}/vim-bufferline/LICENSE | 0 .../start}/vim-bufferline/README.md | 0 .../vim-bufferline/autoload/bufferline.vim | 0 .../bufferline/algos/fixed_position.vim | 0 .../start}/vim-bufferline/doc/bufferline.txt | 0 .../vim-bufferline/img/bufferline-command.png | Bin .../vim-bufferline/img/bufferline-status.png | Bin .../vim-bufferline/plugin/bufferline.vim | 0 .../start}/vim-commentary/.gitignore | 0 .../vim-commentary/CONTRIBUTING.markdown | 0 .../start}/vim-commentary/README.markdown | 0 .../start}/vim-commentary/doc/commentary.txt | 0 .../vim-commentary/plugin/commentary.vim | 0 .../vim-gnupg/start}/vim-gnupg/.gitattributes | 0 .../vim-gnupg/start}/vim-gnupg/.gitignore | 0 .../pack/vim-gnupg/start}/vim-gnupg/README.md | 0 .../start}/vim-gnupg/autoload/gnupg.vim | 0 .../vim-gnupg/start}/vim-gnupg/doc/gnupg.txt | 0 .../start}/vim-gnupg/plugin/gnupg.vim | 0 .../vim-go/start}/vim-go-1.19/.codecov.yml | 0 .../vim-go/start}/vim-go-1.19/.coveragerc | 0 .../vim-go/start}/vim-go-1.19/.dockerignore | 0 .../vim-go/start}/vim-go-1.19/.editorconfig | 0 .../vim-go-1.19/.github/CONTRIBUTING.md | 0 .../vim-go-1.19/.github/ISSUE_TEMPLATE.md | 0 .../pack/vim-go/start}/vim-go-1.19/.gitignore | 0 .../vim-go/start}/vim-go-1.19/.travis.yml | 0 .../vim-go/start}/vim-go-1.19/.vintrc.yaml | 0 .../vim-go/start}/vim-go-1.19/CHANGELOG.md | 0 .../pack/vim-go/start}/vim-go-1.19/Dockerfile | 0 .../pack/vim-go/start}/vim-go-1.19/LICENSE | 0 .../pack/vim-go/start}/vim-go-1.19/Makefile | 0 .../pack/vim-go/start}/vim-go-1.19/README.md | 0 .../vim-go/start}/vim-go-1.19/addon-info.json | 0 .../start}/vim-go-1.19/assets/vim-go.png | Bin .../start}/vim-go-1.19/assets/vim-go.svg | 0 .../vim-go-1.19/autoload/ctrlp/decls.vim | 0 .../start}/vim-go-1.19/autoload/fzf/decls.vim | 0 .../vim-go-1.19/autoload/go/alternate.vim | 0 .../start}/vim-go-1.19/autoload/go/asmfmt.vim | 0 .../start}/vim-go-1.19/autoload/go/cmd.vim | 0 .../vim-go-1.19/autoload/go/cmd_test.vim | 0 .../vim-go-1.19/autoload/go/complete.vim | 0 .../vim-go-1.19/autoload/go/complete_test.vim | 0 .../start}/vim-go-1.19/autoload/go/config.vim | 0 .../vim-go-1.19/autoload/go/coverage.vim | 0 .../start}/vim-go-1.19/autoload/go/debug.vim | 0 .../start}/vim-go-1.19/autoload/go/decls.vim | 0 .../start}/vim-go-1.19/autoload/go/def.vim | 0 .../vim-go-1.19/autoload/go/def_test.vim | 0 .../start}/vim-go-1.19/autoload/go/doc.vim | 0 .../vim-go-1.19/autoload/go/fillstruct.vim | 0 .../autoload/go/fillstruct_test.vim | 0 .../start}/vim-go-1.19/autoload/go/fmt.vim | 0 .../vim-go-1.19/autoload/go/fmt_test.vim | 0 .../start}/vim-go-1.19/autoload/go/guru.vim | 0 .../vim-go-1.19/autoload/go/guru_test.vim | 0 .../autoload/go/highlight_test.vim | 0 .../start}/vim-go-1.19/autoload/go/iferr.vim | 0 .../start}/vim-go-1.19/autoload/go/impl.vim | 0 .../vim-go-1.19/autoload/go/impl_test.vim | 0 .../start}/vim-go-1.19/autoload/go/import.vim | 0 .../vim-go-1.19/autoload/go/indent_test.vim | 0 .../start}/vim-go-1.19/autoload/go/issue.vim | 0 .../start}/vim-go-1.19/autoload/go/job.vim | 0 .../start}/vim-go-1.19/autoload/go/keyify.vim | 0 .../start}/vim-go-1.19/autoload/go/lint.vim | 0 .../vim-go-1.19/autoload/go/lint_test.vim | 0 .../start}/vim-go-1.19/autoload/go/list.vim | 0 .../start}/vim-go-1.19/autoload/go/mod.vim | 0 .../vim-go-1.19/autoload/go/package.vim | 0 .../start}/vim-go-1.19/autoload/go/path.vim | 0 .../start}/vim-go-1.19/autoload/go/play.vim | 0 .../start}/vim-go-1.19/autoload/go/rename.vim | 0 .../vim-go-1.19/autoload/go/statusline.vim | 0 .../start}/vim-go-1.19/autoload/go/tags.vim | 0 .../vim-go-1.19/autoload/go/tags_test.vim | 0 .../vim-go-1.19/autoload/go/template.vim | 0 .../start}/vim-go-1.19/autoload/go/term.vim | 0 .../vim-go-1.19/autoload/go/term_test.vim | 0 .../autoload/go/test-fixtures/cmd/bad.go | 0 .../go/test-fixtures/complete/complete.go | 0 .../autoload/go/test-fixtures/def/jump.go | 0 .../autoload/go/test-fixtures/fmt/hello.go | 0 .../go/test-fixtures/fmt/hello_golden.go | 0 .../go/test-fixtures/fmt/imports/goimports.go | 0 .../fmt/imports/goimports_golden.go | 0 .../vendor/gh.com/gi/foo-logging/logger.go | 0 .../autoload/go/test-fixtures/fmt/src/imports | 0 .../go/test-fixtures/lint/src/foo/foo.go | 0 .../go/test-fixtures/lint/src/lint/lint.go | 0 .../go/test-fixtures/lint/src/lint/quux.go | 0 .../go/test-fixtures/lint/src/vet/vet.go | 0 .../go/test-fixtures/tags/add_all_golden.go | 0 .../go/test-fixtures/tags/add_all_input.go | 0 .../test-fixtures/tags/remove_all_golden.go | 0 .../go/test-fixtures/tags/remove_all_input.go | 0 .../autoload/go/test-fixtures/term/term.go | 0 .../autoload/go/test-fixtures/test/.gitignore | 0 .../test/src/compilerror/compilerror.go | 0 .../test/src/play/mock/controller.go | 0 .../test-fixtures/test/src/play/play_test.go | 0 .../test/src/showname/showname_test.go | 0 .../testcompilerror/testcompilerror_test.go | 0 .../test/src/timeout/timeout_test.go | 0 .../test/src/veterror/veterror.go | 0 .../start}/vim-go-1.19/autoload/go/test.vim | 0 .../vim-go-1.19/autoload/go/test_test.vim | 0 .../vim-go-1.19/autoload/go/textobj.vim | 0 .../start}/vim-go-1.19/autoload/go/tool.vim | 0 .../vim-go-1.19/autoload/go/tool_test.vim | 0 .../start}/vim-go-1.19/autoload/go/ui.vim | 0 .../start}/vim-go-1.19/autoload/go/util.vim | 0 .../start}/vim-go-1.19/autoload/gotest.vim | 0 .../autoload/unite/sources/decls.vim | 0 .../vim-go/start}/vim-go-1.19/compiler/go.vim | 0 .../vim-go/start}/vim-go-1.19/doc/vim-go.txt | 0 .../vim-go-1.19/ftdetect/gofiletype.vim | 0 .../start}/vim-go-1.19/ftplugin/asm.vim | 0 .../vim-go/start}/vim-go-1.19/ftplugin/go.vim | 0 .../vim-go-1.19/ftplugin/go/commands.vim | 0 .../vim-go-1.19/ftplugin/go/mappings.vim | 0 .../vim-go-1.19/ftplugin/go/snippets.vim | 0 .../start}/vim-go-1.19/ftplugin/go/tagbar.vim | 0 .../vim-go-1.19/ftplugin/gohtmltmpl.vim | 0 .../start}/vim-go-1.19/ftplugin/gomod.vim | 0 .../vim-go-1.19/ftplugin/gomod/commands.vim | 0 .../vim-go-1.19/ftplugin/gomod/mappings.vim | 0 .../gosnippets/UltiSnips/go.snippets | 0 .../vim-go-1.19/gosnippets/minisnip/_go_eq | 0 .../vim-go-1.19/gosnippets/minisnip/_go_err | 0 .../vim-go-1.19/gosnippets/minisnip/_go_errt | 0 .../vim-go-1.19/gosnippets/minisnip/_go_errw | 0 .../vim-go-1.19/gosnippets/minisnip/_go_f | 0 .../vim-go-1.19/gosnippets/minisnip/_go_ff | 0 .../vim-go-1.19/gosnippets/minisnip/_go_fori | 0 .../vim-go-1.19/gosnippets/minisnip/_go_pkg | 0 .../vim-go-1.19/gosnippets/minisnip/_go_sp | 0 .../vim-go-1.19/gosnippets/minisnip/_go_tt | 0 .../vim-go-1.19/gosnippets/snippets/go.snip | 0 .../vim-go/start}/vim-go-1.19/indent/go.vim | 0 .../start}/vim-go-1.19/indent/gohtmltmpl.vim | 0 .../vim-go/start}/vim-go-1.19/plugin/go.vim | 0 .../rplugin/python3/denite/source/decls.py | 0 .../start}/vim-go-1.19/scripts/bench-syntax | 0 .../start}/vim-go-1.19/scripts/docker-test | 0 .../start}/vim-go-1.19/scripts/install-vim | 0 .../vim-go/start}/vim-go-1.19/scripts/lint | 0 .../vim-go/start}/vim-go-1.19/scripts/run-vim | 0 .../start}/vim-go-1.19/scripts/runbench.vim | 0 .../start}/vim-go-1.19/scripts/runtest.vim | 0 .../vim-go/start}/vim-go-1.19/scripts/test | 0 .../vim-go/start}/vim-go-1.19/syntax/go.vim | 0 .../vim-go-1.19/syntax/godebugoutput.vim | 0 .../vim-go-1.19/syntax/godebugstacktrace.vim | 0 .../vim-go-1.19/syntax/godebugvariables.vim | 0 .../start}/vim-go-1.19/syntax/godefstack.vim | 0 .../start}/vim-go-1.19/syntax/gohtmltmpl.vim | 0 .../start}/vim-go-1.19/syntax/gomod.vim | 0 .../start}/vim-go-1.19/syntax/gotexttmpl.vim | 0 .../start}/vim-go-1.19/syntax/vimgo.vim | 0 .../vim-go-1.19/templates/hello_world.go | 0 .../vim-go-1.19/templates/hello_world_test.go | 0 .../start}/vim-go-1.19/test/gopath_test.vim | 0 .../vim-go/start}/vim-go-1.19/test/parse.go | 0 .../start}/vim-terraform/.editorconfig | 0 .../start}/vim-terraform/.gitignore | 0 .../start}/vim-terraform/.travis.yml | 0 .../start}/vim-terraform/CHANGELOG.md | 0 .../start}/vim-terraform/CODE_OF_CONDUCT.md | 0 .../start}/vim-terraform/CONTRIBUTING.md | 0 .../start}/vim-terraform/LICENSE | 0 .../start}/vim-terraform/Makefile | 0 .../start}/vim-terraform/README.md | 0 .../vim-terraform/autoload/terraform.vim | 0 .../start}/vim-terraform/doc/terraform.txt | 0 .../vim-terraform/ftdetect/terraform.vim | 0 .../vim-terraform/ftplugin/terraform.vim | 0 .../start}/vim-terraform/get_providers.sh | 0 .../start}/vim-terraform/indent/terraform.vim | 0 .../start}/vim-terraform/syntax/terraform.vim | 0 .../start}/vim-terraform/test/syntax.vader | 0 .../vim-terraform/test/terraform_align.vader | 0 .../test/terraform_fold_sections.vader | 0 .../test/terraform_remap_spacebar.vader | 0 .../start}/vim-terraform/update_automagic.sh | 0 .../start}/vim-terraform/update_commands.rb | 0 .../vim-terraform/update_data_sources.rb | 0 .../start}/vim-terraform/update_resources.rb | 0 .local/share/overlay-directory | 1 + .tmux.conf | 2 +- .vim/autoload/pathogen.vim | 264 ---------- .vim/bundle/vim-bufferline | 1 - .vim/bundle/vim-commentary | 1 - .vim/bundle/vim-gnupg | 1 - .vim/bundle/vim-go-1.19 | 1 - .vim/bundle/vim-javascript | 1 - .vim/bundle/vim-sensible/README.markdown | 94 ---- .vim/bundle/vim-sensible/plugin/sensible.vim | 88 ---- .vim/bundle/vim-terraform | 1 - .vim/pack | 1 + 218 files changed, 10 insertions(+), 1917 deletions(-) delete mode 100644 .config/nvim/autoload/pathogen.vim delete mode 100644 .config/nvim/bundle/vim-javascript/ISSUE_TEMPLATE.md delete mode 100644 .config/nvim/bundle/vim-javascript/README.md delete mode 100644 .config/nvim/bundle/vim-javascript/after/ftplugin/javascript.vim delete mode 100644 .config/nvim/bundle/vim-javascript/compiler/eslint.vim delete mode 100644 .config/nvim/bundle/vim-javascript/extras/ctags delete mode 100644 .config/nvim/bundle/vim-javascript/extras/flow.vim delete mode 100644 .config/nvim/bundle/vim-javascript/extras/jsdoc.vim delete mode 100644 .config/nvim/bundle/vim-javascript/extras/ngdoc.vim delete mode 100644 .config/nvim/bundle/vim-javascript/ftdetect/javascript.vim delete mode 100644 .config/nvim/bundle/vim-javascript/indent/javascript.vim delete mode 100644 .config/nvim/bundle/vim-javascript/syntax/javascript.vim create mode 100644 .local/overlay-directory create mode 100644 .local/share/nvim/overlay-directory create mode 100644 .local/share/nvim/site/overlay-directory rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-bufferline/start}/vim-bufferline/.gitignore (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-bufferline/start}/vim-bufferline/LICENSE (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-bufferline/start}/vim-bufferline/README.md (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-bufferline/start}/vim-bufferline/autoload/bufferline.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-bufferline/start}/vim-bufferline/autoload/bufferline/algos/fixed_position.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-bufferline/start}/vim-bufferline/doc/bufferline.txt (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-bufferline/start}/vim-bufferline/img/bufferline-command.png (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-bufferline/start}/vim-bufferline/img/bufferline-status.png (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-bufferline/start}/vim-bufferline/plugin/bufferline.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-commentary/start}/vim-commentary/.gitignore (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-commentary/start}/vim-commentary/CONTRIBUTING.markdown (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-commentary/start}/vim-commentary/README.markdown (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-commentary/start}/vim-commentary/doc/commentary.txt (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-commentary/start}/vim-commentary/plugin/commentary.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-gnupg/start}/vim-gnupg/.gitattributes (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-gnupg/start}/vim-gnupg/.gitignore (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-gnupg/start}/vim-gnupg/README.md (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-gnupg/start}/vim-gnupg/autoload/gnupg.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-gnupg/start}/vim-gnupg/doc/gnupg.txt (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-gnupg/start}/vim-gnupg/plugin/gnupg.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/.codecov.yml (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/.coveragerc (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/.dockerignore (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/.editorconfig (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/.github/CONTRIBUTING.md (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/.github/ISSUE_TEMPLATE.md (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/.gitignore (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/.travis.yml (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/.vintrc.yaml (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/CHANGELOG.md (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/Dockerfile (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/LICENSE (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/Makefile (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/README.md (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/addon-info.json (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/assets/vim-go.png (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/assets/vim-go.svg (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/ctrlp/decls.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/fzf/decls.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/alternate.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/asmfmt.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/cmd.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/cmd_test.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/complete.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/complete_test.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/config.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/coverage.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/debug.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/decls.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/def.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/def_test.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/doc.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/fillstruct.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/fillstruct_test.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/fmt.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/fmt_test.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/guru.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/guru_test.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/highlight_test.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/iferr.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/impl.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/impl_test.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/import.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/indent_test.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/issue.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/job.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/keyify.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/lint.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/lint_test.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/list.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/mod.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/package.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/path.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/play.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/rename.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/statusline.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/tags.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/tags_test.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/template.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/term.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/term_test.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/test-fixtures/cmd/bad.go (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/test-fixtures/complete/complete.go (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/test-fixtures/def/jump.go (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/test-fixtures/fmt/hello.go (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/test-fixtures/fmt/hello_golden.go (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/test-fixtures/fmt/imports/goimports.go (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/test-fixtures/fmt/imports/goimports_golden.go (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/test-fixtures/fmt/imports/vendor/gh.com/gi/foo-logging/logger.go (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/test-fixtures/fmt/src/imports (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/test-fixtures/lint/src/foo/foo.go (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/test-fixtures/lint/src/lint/lint.go (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/test-fixtures/lint/src/lint/quux.go (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/test-fixtures/lint/src/vet/vet.go (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/test-fixtures/tags/add_all_golden.go (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/test-fixtures/tags/add_all_input.go (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/test-fixtures/tags/remove_all_golden.go (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/test-fixtures/tags/remove_all_input.go (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/test-fixtures/term/term.go (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/test-fixtures/test/.gitignore (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/test-fixtures/test/src/compilerror/compilerror.go (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/test-fixtures/test/src/play/mock/controller.go (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/test-fixtures/test/src/play/play_test.go (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/test-fixtures/test/src/showname/showname_test.go (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/test-fixtures/test/src/testcompilerror/testcompilerror_test.go (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/test-fixtures/test/src/timeout/timeout_test.go (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/test-fixtures/test/src/veterror/veterror.go (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/test.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/test_test.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/textobj.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/tool.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/tool_test.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/ui.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/go/util.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/gotest.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/autoload/unite/sources/decls.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/compiler/go.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/doc/vim-go.txt (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/ftdetect/gofiletype.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/ftplugin/asm.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/ftplugin/go.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/ftplugin/go/commands.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/ftplugin/go/mappings.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/ftplugin/go/snippets.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/ftplugin/go/tagbar.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/ftplugin/gohtmltmpl.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/ftplugin/gomod.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/ftplugin/gomod/commands.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/ftplugin/gomod/mappings.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/gosnippets/UltiSnips/go.snippets (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/gosnippets/minisnip/_go_eq (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/gosnippets/minisnip/_go_err (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/gosnippets/minisnip/_go_errt (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/gosnippets/minisnip/_go_errw (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/gosnippets/minisnip/_go_f (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/gosnippets/minisnip/_go_ff (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/gosnippets/minisnip/_go_fori (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/gosnippets/minisnip/_go_pkg (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/gosnippets/minisnip/_go_sp (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/gosnippets/minisnip/_go_tt (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/gosnippets/snippets/go.snip (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/indent/go.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/indent/gohtmltmpl.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/plugin/go.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/rplugin/python3/denite/source/decls.py (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/scripts/bench-syntax (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/scripts/docker-test (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/scripts/install-vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/scripts/lint (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/scripts/run-vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/scripts/runbench.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/scripts/runtest.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/scripts/test (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/syntax/go.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/syntax/godebugoutput.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/syntax/godebugstacktrace.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/syntax/godebugvariables.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/syntax/godefstack.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/syntax/gohtmltmpl.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/syntax/gomod.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/syntax/gotexttmpl.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/syntax/vimgo.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/templates/hello_world.go (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/templates/hello_world_test.go (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/test/gopath_test.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-go/start}/vim-go-1.19/test/parse.go (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-terraform/start}/vim-terraform/.editorconfig (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-terraform/start}/vim-terraform/.gitignore (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-terraform/start}/vim-terraform/.travis.yml (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-terraform/start}/vim-terraform/CHANGELOG.md (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-terraform/start}/vim-terraform/CODE_OF_CONDUCT.md (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-terraform/start}/vim-terraform/CONTRIBUTING.md (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-terraform/start}/vim-terraform/LICENSE (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-terraform/start}/vim-terraform/Makefile (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-terraform/start}/vim-terraform/README.md (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-terraform/start}/vim-terraform/autoload/terraform.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-terraform/start}/vim-terraform/doc/terraform.txt (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-terraform/start}/vim-terraform/ftdetect/terraform.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-terraform/start}/vim-terraform/ftplugin/terraform.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-terraform/start}/vim-terraform/get_providers.sh (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-terraform/start}/vim-terraform/indent/terraform.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-terraform/start}/vim-terraform/syntax/terraform.vim (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-terraform/start}/vim-terraform/test/syntax.vader (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-terraform/start}/vim-terraform/test/terraform_align.vader (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-terraform/start}/vim-terraform/test/terraform_fold_sections.vader (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-terraform/start}/vim-terraform/test/terraform_remap_spacebar.vader (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-terraform/start}/vim-terraform/update_automagic.sh (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-terraform/start}/vim-terraform/update_commands.rb (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-terraform/start}/vim-terraform/update_data_sources.rb (100%) rename {.config/nvim/bundle => .local/share/nvim/site/pack/vim-terraform/start}/vim-terraform/update_resources.rb (100%) create mode 100644 .local/share/overlay-directory delete mode 100644 .vim/autoload/pathogen.vim delete mode 120000 .vim/bundle/vim-bufferline delete mode 120000 .vim/bundle/vim-commentary delete mode 120000 .vim/bundle/vim-gnupg delete mode 120000 .vim/bundle/vim-go-1.19 delete mode 120000 .vim/bundle/vim-javascript delete mode 100644 .vim/bundle/vim-sensible/README.markdown delete mode 100644 .vim/bundle/vim-sensible/plugin/sensible.vim delete mode 120000 .vim/bundle/vim-terraform create mode 120000 .vim/pack diff --git a/.config/nvim/autoload/pathogen.vim b/.config/nvim/autoload/pathogen.vim deleted file mode 100644 index 3582fbf..0000000 --- a/.config/nvim/autoload/pathogen.vim +++ /dev/null @@ -1,264 +0,0 @@ -" pathogen.vim - path option manipulation -" Maintainer: Tim Pope -" Version: 2.4 - -" Install in ~/.vim/autoload (or ~\vimfiles\autoload). -" -" For management of individually installed plugins in ~/.vim/bundle (or -" ~\vimfiles\bundle), adding `execute pathogen#infect()` to the top of your -" .vimrc is the only other setup necessary. -" -" The API is documented inline below. - -if exists("g:loaded_pathogen") || &cp - finish -endif -let g:loaded_pathogen = 1 - -" Point of entry for basic default usage. Give a relative path to invoke -" pathogen#interpose() or an absolute path to invoke pathogen#surround(). -" Curly braces are expanded with pathogen#expand(): "bundle/{}" finds all -" subdirectories inside "bundle" inside all directories in the runtime path. -" If no arguments are given, defaults "bundle/{}", and also "pack/{}/start/{}" -" on versions of Vim without native package support. -function! pathogen#infect(...) abort - if a:0 - let paths = filter(reverse(copy(a:000)), 'type(v:val) == type("")') - else - let paths = ['bundle/{}', 'pack/{}/start/{}'] - endif - if has('packages') - call filter(paths, 'v:val !~# "^pack/[^/]*/start/[^/]*$"') - endif - let static = '^\%([$~\\/]\|\w:[\\/]\)[^{}*]*$' - for path in filter(copy(paths), 'v:val =~# static') - call pathogen#surround(path) - endfor - for path in filter(copy(paths), 'v:val !~# static') - if path =~# '^\%([$~\\/]\|\w:[\\/]\)' - call pathogen#surround(path) - else - call pathogen#interpose(path) - endif - endfor - call pathogen#cycle_filetype() - if pathogen#is_disabled($MYVIMRC) - return 'finish' - endif - return '' -endfunction - -" Split a path into a list. -function! pathogen#split(path) abort - if type(a:path) == type([]) | return a:path | endif - if empty(a:path) | return [] | endif - let split = split(a:path,'\\\@]','\\&','') - endif -endfunction - -" Like findfile(), but hardcoded to use the runtimepath. -function! pathogen#runtime_findfile(file,count) abort - let rtp = pathogen#join(1,pathogen#split(&rtp)) - let file = findfile(a:file,rtp,a:count) - if file ==# '' - return '' - else - return fnamemodify(file,':p') - endif -endfunction - -" vim:set et sw=2 foldmethod=expr foldexpr=getline(v\:lnum)=~'^\"\ Section\:'?'>1'\:getline(v\:lnum)=~#'^fu'?'a1'\:getline(v\:lnum)=~#'^endf'?'s1'\:'=': diff --git a/.config/nvim/bundle/vim-javascript/ISSUE_TEMPLATE.md b/.config/nvim/bundle/vim-javascript/ISSUE_TEMPLATE.md deleted file mode 100644 index b1ddccb..0000000 --- a/.config/nvim/bundle/vim-javascript/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,13 +0,0 @@ -*Requisite minimal reproducible example, formatted as plain text :* - -
- -#### Optional: concerning jsx. -PLEASE PLEASE PLEASE make sure you have properly -setup and are sourcing this plugin https://github.com/mxw/vim-jsx - -WE DO NOT support JSX automatically, you need another plugin to add get this -functionality. - -Make sure the bug still exists if you disable all other javascript plugins -except the one noted above, mxw/vim-jsx diff --git a/.config/nvim/bundle/vim-javascript/README.md b/.config/nvim/bundle/vim-javascript/README.md deleted file mode 100644 index b9ac49f..0000000 --- a/.config/nvim/bundle/vim-javascript/README.md +++ /dev/null @@ -1,119 +0,0 @@ -# vim-javascript - -JavaScript bundle for vim, this bundle provides syntax highlighting and -improved indentation. - - -## Installation - -### Install with [pathogen](https://github.com/tpope/vim-pathogen) - - git clone https://github.com/pangloss/vim-javascript.git ~/.vim/bundle/vim-javascript - -alternatively, use a package manager like [vim-plug](https://github.com/junegunn/vim-plug) - - -## Configuration Variables - -The following variables control certain syntax highlighting plugins. You can -add them to your `.vimrc` to enable their features. - ------------------ - -``` -let g:javascript_plugin_jsdoc = 1 -``` - -Enables syntax highlighting for [JSDocs](http://usejsdoc.org/). - -Default Value: 0 - ------------------ - -``` -let g:javascript_plugin_ngdoc = 1 -``` - -Enables some additional syntax highlighting for NGDocs. Requires JSDoc plugin -to be enabled as well. - -Default Value: 0 - ------------------ - -``` -let g:javascript_plugin_flow = 1 -``` - -Enables syntax highlighting for [Flow](https://flowtype.org/). - -Default Value: 0 - ------------------ - -```vim -augroup javascript_folding - au! - au FileType javascript setlocal foldmethod=syntax -augroup END -``` - -Enables code folding for javascript based on our syntax file. - -Please note this can have a dramatic effect on performance. - - -## Concealing Characters - -You can customize concealing characters, if your font provides the glyph you want, by defining one or more of the following -variables: - - let g:javascript_conceal_function = "ƒ" - let g:javascript_conceal_null = "ø" - let g:javascript_conceal_this = "@" - let g:javascript_conceal_return = "⇚" - let g:javascript_conceal_undefined = "¿" - let g:javascript_conceal_NaN = "ℕ" - let g:javascript_conceal_prototype = "¶" - let g:javascript_conceal_static = "•" - let g:javascript_conceal_super = "Ω" - let g:javascript_conceal_arrow_function = "⇒" - let g:javascript_conceal_noarg_arrow_function = "🞅" - let g:javascript_conceal_underscore_arrow_function = "🞅" - - -You can enable concealing within VIM with: - - set conceallevel=1 - -OR if you wish to toggle concealing you may wish to bind a command such as the following which will map `l` (leader is usually the `\` key) to toggling conceal mode: - - map l :exec &conceallevel ? "set conceallevel=0" : "set conceallevel=1" - - -## Indentation Specific - -* `:h cino-:` -* `:h cino-=` -* `:h cino-star` -* `:h cino-(` -* `:h cino-w` -* `:h cino-W` -* `:h cino-U` -* `:h cino-m` -* `:h cino-M` -* `:h 'indentkeys'` - -## Contributing - -Please follow the general code style -guides (read the code) and in your pull request explain the reason for the -proposed change and how it is valuable. All p.r.'s will be reviewed by a -maintainer(s) then, hopefully, merged. - -Thank you! - - -## License - -Distributed under the same terms as Vim itself. See `:help license`. diff --git a/.config/nvim/bundle/vim-javascript/after/ftplugin/javascript.vim b/.config/nvim/bundle/vim-javascript/after/ftplugin/javascript.vim deleted file mode 100644 index c6c42d6..0000000 --- a/.config/nvim/bundle/vim-javascript/after/ftplugin/javascript.vim +++ /dev/null @@ -1,12 +0,0 @@ -" Vim filetype plugin file -" Language: JavaScript -" Maintainer: vim-javascript community -" URL: https://github.com/pangloss/vim-javascript - -setlocal iskeyword+=$ suffixesadd+=.js - -if exists('b:undo_ftplugin') - let b:undo_ftplugin .= ' | setlocal iskeyword< suffixesadd<' -else - let b:undo_ftplugin = 'setlocal iskeyword< suffixesadd<' -endif diff --git a/.config/nvim/bundle/vim-javascript/compiler/eslint.vim b/.config/nvim/bundle/vim-javascript/compiler/eslint.vim deleted file mode 100644 index 7695a07..0000000 --- a/.config/nvim/bundle/vim-javascript/compiler/eslint.vim +++ /dev/null @@ -1,16 +0,0 @@ -" Vim compiler plugin -" Language: JavaScript -" Maintainer: vim-javascript community -" URL: https://github.com/pangloss/vim-javascript - -if exists("current_compiler") - finish -endif -let current_compiler = "eslint" - -if exists(":CompilerSet") != 2 - command! -nargs=* CompilerSet setlocal -endif - -CompilerSet makeprg=eslint\ -f\ compact\ % -CompilerSet errorformat=%f:\ line\ %l\\,\ col\ %c\\,\ %m diff --git a/.config/nvim/bundle/vim-javascript/extras/ctags b/.config/nvim/bundle/vim-javascript/extras/ctags deleted file mode 100644 index cdc4edc..0000000 --- a/.config/nvim/bundle/vim-javascript/extras/ctags +++ /dev/null @@ -1,8 +0,0 @@ ---langdef=js ---langmap=js:.js ---regex-js=/([A-Za-z0-9._$]+)[ \t]*[:=][ \t]*\{/\1/,object/ ---regex-js=/([A-Za-z0-9._$()]+)[ \t]*[:=][ \t]*function[ \t]*\(/\1/,function/ ---regex-js=/function[ \t]+([A-Za-z0-9._$]+)[ \t]*([^)])/\1/,function/ ---regex-js=/([A-Za-z0-9._$]+)[ \t]*[:=][ \t]*\[/\1/,array/ ---regex-js=/([^= ]+)[ \t]*=[ \t]*[^"]'[^']*/\1/,string/ ---regex-js=/([^= ]+)[ \t]*=[ \t]*[^']"[^"]*/\1/,string/ diff --git a/.config/nvim/bundle/vim-javascript/extras/flow.vim b/.config/nvim/bundle/vim-javascript/extras/flow.vim deleted file mode 100644 index 7703577..0000000 --- a/.config/nvim/bundle/vim-javascript/extras/flow.vim +++ /dev/null @@ -1,107 +0,0 @@ -syntax region jsFlowDefinition contained start=/:/ end=/\%(\s*[,=;)\n]\)\@=/ contains=@jsFlowCluster containedin=jsParen -syntax region jsFlowArgumentDef contained start=/:/ end=/\%(\s*[,)]\|=>\@!\)\@=/ contains=@jsFlowCluster -syntax region jsFlowArray contained matchgroup=jsFlowNoise start=/\[/ end=/\]/ contains=@jsFlowCluster,jsComment fold -syntax region jsFlowObject contained matchgroup=jsFlowNoise start=/{/ end=/}/ contains=@jsFlowCluster,jsComment fold -syntax region jsFlowExactObject contained matchgroup=jsFlowNoise start=/{|/ end=/|}/ contains=@jsFlowCluster,jsComment fold -syntax region jsFlowParens contained matchgroup=jsFlowNoise start=/(/ end=/)/ contains=@jsFlowCluster keepend fold -syntax match jsFlowNoise contained /[:;,<>]/ -syntax keyword jsFlowType contained boolean number string null void any mixed JSON array Function object array bool class -syntax keyword jsFlowTypeof contained typeof skipempty skipempty nextgroup=jsFlowTypeCustom,jsFlowType -syntax match jsFlowTypeCustom contained /[0-9a-zA-Z_.]*/ skipwhite skipempty nextgroup=jsFlowGroup -syntax region jsFlowGroup contained matchgroup=jsFlowNoise start=// contains=@jsFlowCluster -syntax region jsFlowArrowArguments contained matchgroup=jsFlowNoise start=/(/ end=/)\%(\s*=>\)\@=/ oneline skipwhite skipempty nextgroup=jsFlowArrow contains=@jsFlowCluster -syntax match jsFlowArrow contained /=>/ skipwhite skipempty nextgroup=jsFlowType,jsFlowTypeCustom,jsFlowParens -syntax match jsFlowObjectKey contained /[0-9a-zA-Z_$?]*\(\s*:\)\@=/ contains=jsFunctionKey,jsFlowMaybe skipwhite skipempty nextgroup=jsObjectValue containedin=jsObject -syntax match jsFlowOrOperator contained /|/ skipwhite skipempty nextgroup=@jsFlowCluster -syntax keyword jsFlowImportType contained type typeof skipwhite skipempty nextgroup=jsModuleAsterisk,jsModuleKeyword,jsModuleGroup -syntax match jsFlowWildcard contained /*/ - -syntax match jsFlowReturn contained /:\s*/ contains=jsFlowNoise skipwhite skipempty nextgroup=@jsFlowReturnCluster,jsFlowArrow,jsFlowReturnParens -syntax region jsFlowReturnObject contained matchgroup=jsFlowNoise start=/{/ end=/}/ contains=@jsFlowCluster skipwhite skipempty nextgroup=jsFuncBlock,jsFlowReturnOrOp fold -syntax region jsFlowReturnArray contained matchgroup=jsFlowNoise start=/\[/ end=/\]/ contains=@jsFlowCluster skipwhite skipempty nextgroup=jsFuncBlock,jsFlowReturnOrOp fold -syntax region jsFlowReturnParens contained matchgroup=jsFlowNoise start=/(/ end=/)/ contains=@jsFlowCluster skipwhite skipempty nextgroup=jsFuncBlock,jsFlowReturnOrOp,jsFlowReturnArrow fold -syntax match jsFlowReturnArrow contained /=>/ skipwhite skipempty nextgroup=@jsFlowReturnCluster -syntax match jsFlowReturnKeyword contained /\k\+/ contains=jsFlowType,jsFlowTypeCustom skipwhite skipempty nextgroup=jsFlowReturnGroup,jsFuncBlock,jsFlowReturnOrOp,jsFlowReturnArray -syntax match jsFlowReturnMaybe contained /?/ skipwhite skipempty nextgroup=jsFlowReturnKeyword,jsFlowReturnObject -syntax region jsFlowReturnGroup contained matchgroup=jsFlowNoise start=// contains=@jsFlowCluster skipwhite skipempty nextgroup=jsFuncBlock,jsFlowReturnOrOp -syntax match jsFlowReturnOrOp contained /\s*|\s*/ skipwhite skipempty nextgroup=@jsFlowReturnCluster -syntax match jsFlowWildcardReturn contained /*/ skipwhite skipempty nextgroup=jsFuncBlock - -syntax region jsFlowFunctionGroup contained matchgroup=jsFlowNoise start=// contains=@jsFlowCluster skipwhite skipempty nextgroup=jsFuncArgs -syntax region jsFlowClassGroup contained matchgroup=jsFlowNoise start=// contains=@jsFlowCluster skipwhite skipempty nextgroup=jsClassBlock -syntax region jsFlowClassFunctionGroup contained matchgroup=jsFlowNoise start=// contains=@jsFlowCluster skipwhite skipempty nextgroup=jsFuncArgs - -syntax region jsFlowTypeStatement start=/\(opaque\s\+\)\?type\%(\s\+\k\)\@=/ end=/=\@=/ contains=jsFlowTypeOperator oneline skipwhite skipempty nextgroup=jsFlowTypeValue keepend -syntax region jsFlowTypeValue contained matchgroup=jsFlowNoise start=/=/ end=/[\n;]/ contains=@jsFlowCluster,jsFlowGroup,jsFlowMaybe -syntax match jsFlowTypeOperator contained /=/ containedin=jsFlowTypeValue -syntax match jsFlowTypeOperator contained /=/ -syntax keyword jsFlowTypeKeyword contained type - -syntax keyword jsFlowDeclare declare skipwhite skipempty nextgroup=jsFlowTypeStatement,jsClassDefinition,jsStorageClass,jsFlowModule,jsFlowInterface -syntax match jsFlowClassProperty contained /\<[0-9a-zA-Z_$]*\>:\@=/ skipwhite skipempty nextgroup=jsFlowClassDef containedin=jsClassBlock -syntax region jsFlowClassDef contained start=/:/ end=/\%(\s*[,=;)\n]\)\@=/ contains=@jsFlowCluster skipwhite skipempty nextgroup=jsClassValue - -syntax region jsFlowModule contained start=/module/ end=/{\@=/ skipempty skipempty nextgroup=jsFlowDeclareBlock contains=jsString -syntax region jsFlowInterface contained start=/interface/ end=/{\@=/ skipempty skipempty nextgroup=jsFlowInterfaceBlock contains=@jsFlowCluster -syntax region jsFlowDeclareBlock contained matchgroup=jsFlowNoise start=/{/ end=/}/ contains=jsFlowDeclare,jsFlowNoise fold - -" NOTE: It appears the nextgroup was causing a ton of breakages... testing it -" witout a nextgroup, but keeping this arround for reference incase something breaks -" syntax match jsFlowMaybe contained /?/ nextgroup=jsFlowType,jsFlowTypeCustom,jsFlowParens,jsFlowArrowArguments,jsFlowObject,jsFlowReturnObject extend keepend -syntax match jsFlowMaybe contained /?/ -syntax region jsFlowInterfaceBlock contained matchgroup=jsFlowNoise start=/{/ end=/}/ contains=jsObjectKey,jsObjectKeyString,jsObjectKeyComputed,jsObjectSeparator,jsObjectFuncName,jsObjectMethodType,jsGenerator,jsComment,jsObjectStringKey,jsSpreadExpression,jsFlowNoise keepend fold - -syntax region jsFlowParenAnnotation contained start=/:/ end=/[,=)]\@=/ containedin=jsParen contains=@jsFlowCluster - -syntax cluster jsFlowReturnCluster contains=jsFlowNoise,jsFlowReturnObject,jsFlowReturnArray,jsFlowReturnKeyword,jsFlowReturnGroup,jsFlowReturnMaybe,jsFlowReturnOrOp,jsFlowWildcardReturn,jsFlowReturnArrow -syntax cluster jsFlowCluster contains=jsFlowArray,jsFlowObject,jsFlowExactObject,jsFlowNoise,jsFlowTypeof,jsFlowType,jsFlowGroup,jsFlowArrowArguments,jsFlowMaybe,jsFlowParens,jsFlowOrOperator,jsFlowWildcard - -if version >= 508 || !exists("did_javascript_syn_inits") - if version < 508 - let did_javascript_syn_inits = 1 - command -nargs=+ HiLink hi link - else - command -nargs=+ HiLink hi def link - endif - HiLink jsFlowDefinition PreProc - HiLink jsFlowClassDef jsFlowDefinition - HiLink jsFlowArgumentDef jsFlowDefinition - HiLink jsFlowType Type - HiLink jsFlowTypeCustom PreProc - HiLink jsFlowTypeof PreProc - HiLink jsFlowArray PreProc - HiLink jsFlowObject PreProc - HiLink jsFlowExactObject PreProc - HiLink jsFlowParens PreProc - HiLink jsFlowGroup PreProc - HiLink jsFlowReturn PreProc - HiLink jsFlowParenAnnotation PreProc - HiLink jsFlowReturnObject jsFlowReturn - HiLink jsFlowReturnArray jsFlowArray - HiLink jsFlowReturnParens jsFlowParens - HiLink jsFlowReturnGroup jsFlowGroup - HiLink jsFlowFunctionGroup PreProc - HiLink jsFlowClassGroup PreProc - HiLink jsFlowClassFunctionGroup PreProc - HiLink jsFlowArrowArguments PreProc - HiLink jsFlowArrow PreProc - HiLink jsFlowReturnArrow PreProc - HiLink jsFlowTypeStatement PreProc - HiLink jsFlowTypeKeyword PreProc - HiLink jsFlowTypeOperator Operator - HiLink jsFlowMaybe PreProc - HiLink jsFlowReturnMaybe PreProc - HiLink jsFlowClassProperty jsClassProperty - HiLink jsFlowDeclare PreProc - HiLink jsFlowModule PreProc - HiLink jsFlowInterface PreProc - HiLink jsFlowNoise Noise - HiLink jsFlowObjectKey jsObjectKey - HiLink jsFlowOrOperator jsOperator - HiLink jsFlowReturnOrOp jsFlowOrOperator - HiLink jsFlowWildcard PreProc - HiLink jsFlowWildcardReturn PreProc - HiLink jsFlowImportType PreProc - HiLink jsFlowTypeValue PreProc - delcommand HiLink -endif diff --git a/.config/nvim/bundle/vim-javascript/extras/jsdoc.vim b/.config/nvim/bundle/vim-javascript/extras/jsdoc.vim deleted file mode 100644 index b1b588f..0000000 --- a/.config/nvim/bundle/vim-javascript/extras/jsdoc.vim +++ /dev/null @@ -1,39 +0,0 @@ -"" syntax coloring for javadoc comments (HTML) -syntax region jsComment matchgroup=jsComment start="/\*\s*" end="\*/" contains=jsDocTags,jsCommentTodo,jsCvsTag,@jsHtml,@Spell fold - -" tags containing a param -syntax match jsDocTags contained "@\(alias\|api\|augments\|borrows\|class\|constructs\|default\|defaultvalue\|emits\|exception\|exports\|extends\|fires\|kind\|link\|listens\|member\|member[oO]f\|mixes\|module\|name\|namespace\|requires\|template\|throws\|var\|variation\|version\)\>" skipwhite nextgroup=jsDocParam -" tags containing type and param -syntax match jsDocTags contained "@\(arg\|argument\|cfg\|param\|property\|prop\|typedef\)\>" skipwhite nextgroup=jsDocType -" tags containing type but no param -syntax match jsDocTags contained "@\(callback\|define\|enum\|external\|implements\|this\|type\|return\|returns\)\>" skipwhite nextgroup=jsDocTypeNoParam -" tags containing references -syntax match jsDocTags contained "@\(lends\|see\|tutorial\)\>" skipwhite nextgroup=jsDocSeeTag -" other tags (no extra syntax) -syntax match jsDocTags contained "@\(abstract\|access\|accessor\|async\|author\|classdesc\|constant\|const\|constructor\|copyright\|deprecated\|desc\|description\|dict\|event\|example\|file\|file[oO]verview\|final\|function\|global\|ignore\|inherit[dD]oc\|inner\|instance\|interface\|license\|localdoc\|method\|mixin\|nosideeffects\|override\|overview\|preserve\|private\|protected\|public\|readonly\|since\|static\|struct\|todo\|summary\|undocumented\|virtual\)\>" - -syntax region jsDocType contained matchgroup=jsDocTypeBrackets start="{" end="}" contains=jsDocTypeRecord oneline skipwhite nextgroup=jsDocParam -syntax match jsDocType contained "\%(#\|\"\|\w\|\.\|:\|\/\)\+" skipwhite nextgroup=jsDocParam -syntax region jsDocTypeRecord contained start=/{/ end=/}/ contains=jsDocTypeRecord extend -syntax region jsDocTypeRecord contained start=/\[/ end=/\]/ contains=jsDocTypeRecord extend -syntax region jsDocTypeNoParam contained start="{" end="}" oneline -syntax match jsDocTypeNoParam contained "\%(#\|\"\|\w\|\.\|:\|\/\)\+" -syntax match jsDocParam contained "\%(#\|\$\|-\|'\|\"\|{.\{-}}\|\w\|\.\|:\|\/\|\[.\{-}]\|=\)\+" -syntax region jsDocSeeTag contained matchgroup=jsDocSeeTag start="{" end="}" contains=jsDocTags - -if version >= 508 || !exists("did_javascript_syn_inits") - if version < 508 - let did_javascript_syn_inits = 1 - command -nargs=+ HiLink hi link - else - command -nargs=+ HiLink hi def link - endif - HiLink jsDocTags Special - HiLink jsDocSeeTag Function - HiLink jsDocType Type - HiLink jsDocTypeBrackets jsDocType - HiLink jsDocTypeRecord jsDocType - HiLink jsDocTypeNoParam Type - HiLink jsDocParam Label - delcommand HiLink -endif diff --git a/.config/nvim/bundle/vim-javascript/extras/ngdoc.vim b/.config/nvim/bundle/vim-javascript/extras/ngdoc.vim deleted file mode 100644 index c513d87..0000000 --- a/.config/nvim/bundle/vim-javascript/extras/ngdoc.vim +++ /dev/null @@ -1,3 +0,0 @@ -syntax match jsDocTags contained /@\(link\|method[oO]f\|ngdoc\|ng[iI]nject\|restrict\)/ nextgroup=jsDocParam skipwhite -syntax match jsDocType contained "\%(#\|\$\|\w\|\"\|-\|\.\|:\|\/\)\+" nextgroup=jsDocParam skipwhite -syntax match jsDocParam contained "\%(#\|\$\|\w\|\"\|-\|\.\|:\|{\|}\|\/\|\[\|]\|=\)\+" diff --git a/.config/nvim/bundle/vim-javascript/ftdetect/javascript.vim b/.config/nvim/bundle/vim-javascript/ftdetect/javascript.vim deleted file mode 100644 index 1130f97..0000000 --- a/.config/nvim/bundle/vim-javascript/ftdetect/javascript.vim +++ /dev/null @@ -1,11 +0,0 @@ -fun! s:SelectJavascript() - if getline(1) =~# '^#!.*/bin/\%(env\s\+\)\?node\>' - set ft=javascript - endif -endfun - -augroup javascript_syntax_detection - autocmd! - autocmd BufNewFile,BufRead *.{js,mjs,jsm,es,es6},Jakefile setfiletype javascript - autocmd BufNewFile,BufRead * call s:SelectJavascript() -augroup END diff --git a/.config/nvim/bundle/vim-javascript/indent/javascript.vim b/.config/nvim/bundle/vim-javascript/indent/javascript.vim deleted file mode 100644 index d9463d6..0000000 --- a/.config/nvim/bundle/vim-javascript/indent/javascript.vim +++ /dev/null @@ -1,475 +0,0 @@ -" Vim indent file -" Language: Javascript -" Maintainer: Chris Paul ( https://github.com/bounceme ) -" URL: https://github.com/pangloss/vim-javascript -" Last Change: December 4, 2017 - -" Only load this indent file when no other was loaded. -if exists('b:did_indent') - finish -endif -let b:did_indent = 1 - -" Now, set up our indentation expression and keys that trigger it. -setlocal indentexpr=GetJavascriptIndent() -setlocal autoindent nolisp nosmartindent -setlocal indentkeys+=0],0) -" Testable with something like: -" vim -eNs "+filetype plugin indent on" "+syntax on" "+set ft=javascript" \ -" "+norm! gg=G" '+%print' '+:q!' testfile.js \ -" | diff -uBZ testfile.js - - -let b:undo_indent = 'setlocal indentexpr< smartindent< autoindent< indentkeys<' - -" Only define the function once. -if exists('*GetJavascriptIndent') - finish -endif - -let s:cpo_save = &cpo -set cpo&vim - -" indent correctly if inside