├── .Xdefaults ├── .Xmodmap ├── .agignore ├── .asdfrc ├── .astylerc ├── .bash_profile ├── .bash_prompt ├── .bashrc ├── .common.shellrc ├── .common └── example.common ├── .completions ├── bash │ ├── _articles │ ├── _dev │ ├── _global │ ├── _glossary │ └── _moob └── zsh │ ├── _articles │ ├── _dev │ ├── _docker │ ├── _glossary │ ├── _moob │ ├── _my │ └── _tremote ├── .condarc ├── .config └── nvim │ ├── init.vim │ └── lua │ ├── cmp.lua │ └── lsp.lua ├── .ctags ├── .dir_colors ├── .emacs ├── .emacs.d ├── emacs-calfw │ ├── calfw-cal.el │ ├── calfw-howm.el │ ├── calfw-ical.el │ ├── calfw-org.el │ ├── calfw.el │ ├── calfw.juth │ └── readme.md ├── ensime │ ├── LICENSE │ ├── README.md │ ├── bin │ │ ├── server │ │ └── server.bat │ ├── elisp │ │ ├── Makefile │ │ ├── auto-complete.el │ │ ├── ensime-auto-complete.el │ │ ├── ensime-builder.el │ │ ├── ensime-comint-utils.el │ │ ├── ensime-config.el │ │ ├── ensime-debug.el │ │ ├── ensime-doc.el │ │ ├── ensime-inf.el │ │ ├── ensime-refactor.el │ │ ├── ensime-sbt.el │ │ ├── ensime-scalex.el │ │ ├── ensime-search.el │ │ ├── ensime-semantic-highlight.el │ │ ├── ensime-test.el │ │ ├── ensime-ui.el │ │ ├── ensime-undo.el │ │ ├── ensime.el │ │ ├── fuzzy.el │ │ └── popup.el │ └── lib │ │ ├── asm-3.2.jar │ │ ├── asm-commons-3.2.jar │ │ ├── asm-tree-3.2.jar │ │ ├── critbit-0.0.4.jar │ │ ├── ensime_2.9.2-0.9.8.1.jar │ │ ├── json-simple-1.1.jar │ │ ├── lucene-core-3.5.0.jar │ │ ├── org.eclipse.jdt.core-3.6.0.v_A58.jar │ │ ├── org.scala-refactoring_2.9.2-SNAPSHOT-0.5.0-SNAPSHOT.jar │ │ ├── scala-compiler.jar │ │ ├── scala-library.jar │ │ └── scalariform_2.9.1-0.1.1.jar ├── evil │ ├── .gitattributes │ ├── .gitignore │ ├── Makefile │ ├── doc │ │ ├── evil.pdf │ │ ├── evil.texi │ │ ├── fdl-1.3.texi │ │ ├── front.png │ │ ├── logo.png │ │ ├── logo.svg │ │ ├── macros.texi │ │ └── version.texi │ ├── evil-cjk.el │ ├── evil-commands.el │ ├── evil-common.el │ ├── evil-core.el │ ├── evil-digraphs.el │ ├── evil-ex.el │ ├── evil-integration.el │ ├── evil-macros.el │ ├── evil-maps.el │ ├── evil-pkg.el │ ├── evil-repeat.el │ ├── evil-search.el │ ├── evil-states.el │ ├── evil-tests.el │ ├── evil-types.el │ ├── evil-vars.el │ ├── evil.el │ └── lib │ │ ├── README │ │ ├── ert.el │ │ ├── goto-chg.el │ │ └── undo-tree.el ├── go-mode │ ├── .gitignore │ ├── LEGAL │ ├── LICENSE │ ├── README.md │ ├── behaviour_tests │ │ └── gh-16.go │ ├── go-mode-load.el │ ├── go-mode.el │ └── indentation_tests │ │ ├── dangling_operator.go │ │ ├── gh-10.go │ │ ├── gh-11.go │ │ ├── gh-13.go │ │ ├── gh-14.go │ │ ├── gh-15.go │ │ ├── gh-9.go │ │ ├── labels.go │ │ ├── multiline_comment.go │ │ ├── multiline_if.go │ │ ├── multiline_string.go │ │ ├── multiline_struct.go │ │ ├── return_function_call_struct.go │ │ └── switch.go ├── helm │ ├── .gitignore │ ├── COPYING │ ├── Makefile │ ├── README.md │ ├── doc │ │ └── Home.mdpp │ ├── emacs-helm.sh │ ├── helm-adaptative.el │ ├── helm-apt.el │ ├── helm-bbdb.el │ ├── helm-bmkext.el │ ├── helm-bookmark.el │ ├── helm-buffers.el │ ├── helm-call-tree.el │ ├── helm-color.el │ ├── helm-command.el │ ├── helm-config.el │ ├── helm-elisp.el │ ├── helm-elscreen.el │ ├── helm-emms.el │ ├── helm-eshell.el │ ├── helm-eval.el │ ├── helm-external.el │ ├── helm-files.el │ ├── helm-firefox.el │ ├── helm-font.el │ ├── helm-gentoo.el │ ├── helm-grep.el │ ├── helm-help.el │ ├── helm-imenu.el │ ├── helm-info.el │ ├── helm-locate.el │ ├── helm-man.el │ ├── helm-match-plugin.el │ ├── helm-misc.el │ ├── helm-mode.el │ ├── helm-net.el │ ├── helm-org.el │ ├── helm-pkg.el │ ├── helm-plugin.el │ ├── helm-regexp.el │ ├── helm-ring.el │ ├── helm-semantic.el │ ├── helm-sys.el │ ├── helm-tags.el │ ├── helm-utils.el │ ├── helm-w3m.el │ ├── helm-yaoddmuse.el │ └── helm.el ├── print-margin │ └── fill-column-indicator.el ├── scala-mode2 │ ├── Examples.md │ ├── LICENSE │ ├── Makefile │ ├── README.md │ ├── scala-mode2-fontlock.el │ ├── scala-mode2-indent.el │ ├── scala-mode2-lib.el │ ├── scala-mode2-map.el │ ├── scala-mode2-paragraph.el │ ├── scala-mode2-pkg.el │ ├── scala-mode2-syntax.el │ └── scala-mode2.el ├── slime │ ├── .cvsignore │ ├── CVS │ │ ├── Entries │ │ ├── Entries.Log │ │ ├── Repository │ │ └── Root │ ├── ChangeLog │ ├── HACKING │ ├── NEWS │ ├── PROBLEMS │ ├── README │ ├── contrib │ │ ├── CVS │ │ │ ├── Entries │ │ │ ├── Repository │ │ │ └── Root │ │ ├── ChangeLog │ │ ├── README │ │ ├── bridge.el │ │ ├── inferior-slime.el │ │ ├── slime-asdf.el │ │ ├── slime-autodoc.el │ │ ├── slime-banner.el │ │ ├── slime-c-p-c.el │ │ ├── slime-cl-indent-test.txt │ │ ├── slime-cl-indent.el │ │ ├── slime-clipboard.el │ │ ├── slime-compiler-notes-tree.el │ │ ├── slime-editing-commands.el │ │ ├── slime-enclosing-context.el │ │ ├── slime-fancy-inspector.el │ │ ├── slime-fancy.el │ │ ├── slime-fontifying-fu.el │ │ ├── slime-fuzzy.el │ │ ├── slime-highlight-edits.el │ │ ├── slime-hyperdoc.el │ │ ├── slime-indentation.el │ │ ├── slime-mdot-fu.el │ │ ├── slime-media.el │ │ ├── slime-motd.el │ │ ├── slime-mrepl.el │ │ ├── slime-package-fu.el │ │ ├── slime-parse.el │ │ ├── slime-presentation-streams.el │ │ ├── slime-presentations.el │ │ ├── slime-references.el │ │ ├── slime-repl.el │ │ ├── slime-sbcl-exts.el │ │ ├── slime-scheme.el │ │ ├── slime-scratch.el │ │ ├── slime-snapshot.el │ │ ├── slime-sprof.el │ │ ├── slime-tramp.el │ │ ├── slime-typeout-frame.el │ │ ├── slime-xref-browser.el │ │ ├── swank-arglists.lisp │ │ ├── swank-asdf.lisp │ │ ├── swank-c-p-c.lisp │ │ ├── swank-clipboard.lisp │ │ ├── swank-fancy-inspector.lisp │ │ ├── swank-fuzzy.lisp │ │ ├── swank-goo.goo │ │ ├── swank-hyperdoc.lisp │ │ ├── swank-ikarus.ss │ │ ├── swank-indentation.lisp │ │ ├── swank-jolt.k │ │ ├── swank-kawa.scm │ │ ├── swank-larceny.scm │ │ ├── swank-listener-hooks.lisp │ │ ├── swank-media.lisp │ │ ├── swank-mit-scheme.scm │ │ ├── swank-motd.lisp │ │ ├── swank-mrepl.lisp │ │ ├── swank-package-fu.lisp │ │ ├── swank-presentation-streams.lisp │ │ ├── swank-presentations.lisp │ │ ├── swank-r6rs.scm │ │ ├── swank-repl.lisp │ │ ├── swank-sbcl-exts.lisp │ │ ├── swank-snapshot.lisp │ │ ├── swank-sprof.lisp │ │ ├── swank-util.lisp │ │ └── swank.rb │ ├── doc │ │ ├── .cvsignore │ │ ├── CVS │ │ │ ├── Entries │ │ │ ├── Repository │ │ │ └── Root │ │ ├── Makefile │ │ ├── slime-refcard.pdf │ │ ├── slime-refcard.tex │ │ ├── slime-small.eps │ │ ├── slime-small.pdf │ │ ├── slime.texi │ │ └── texinfo-tabulate.awk │ ├── hyperspec.el │ ├── metering.lisp │ ├── mkdist.sh │ ├── nregex.lisp │ ├── sbcl-pprint-patch.lisp │ ├── slime-autoloads.el │ ├── slime.el │ ├── start-swank.lisp │ ├── swank-abcl.lisp │ ├── swank-allegro.lisp │ ├── swank-backend.lisp │ ├── swank-ccl.lisp │ ├── swank-clisp.lisp │ ├── swank-cmucl.lisp │ ├── swank-corman.lisp │ ├── swank-ecl.lisp │ ├── swank-gray.lisp │ ├── swank-lispworks.lisp │ ├── swank-loader.lisp │ ├── swank-match.lisp │ ├── swank-rpc.lisp │ ├── swank-sbcl.lisp │ ├── swank-scl.lisp │ ├── swank-source-file-cache.lisp │ ├── swank-source-path-parser.lisp │ ├── swank.asd │ ├── swank.lisp │ ├── test.sh │ └── xref.lisp ├── solarized │ └── solarized-theme.el └── undo-tree │ ├── .gitignore │ └── undo-tree.el ├── .gemrc ├── .gitconfig ├── .gitignore ├── .gnupg ├── gpg-agent.conf ├── gpg.conf └── options ├── .hammerspoon └── init.lua ├── .inputrc ├── .install ├── install-apt ├── install-brew-bare ├── install-cabal ├── install-command-t ├── install-cpans ├── install-gems ├── install-julia ├── install-linux ├── install-osx ├── install-soundflower ├── install-vim └── snapshot-pip ├── .irbrc ├── .irssi ├── config.example ├── dark.theme ├── default.theme ├── light.theme └── scripts │ ├── autorun │ ├── cap_sasl.pl │ ├── nm.pl │ ├── przl-crap.pl │ ├── przl-mentions.pl │ ├── przl-notify.pl │ ├── przl-signals.pl │ └── trackbar.pl │ ├── cap_sasl.pl │ ├── nm.pl │ ├── przl-crap.pl │ ├── przl-mentions.pl │ ├── przl-notify.pl │ ├── przl-signals.pl │ └── trackbar.pl ├── .linux ├── .mailrc ├── .msmtprc ├── .mutt ├── gmail.cert ├── inboxes.b.muttrc ├── inboxes.s.muttrc ├── mailcap ├── sig.b ├── sig.s ├── solarized.muttrc.template └── solarized.sh ├── .muttrc ├── .newsbeuter ├── .gitignore ├── config └── urls ├── .notmuch-config ├── .octaverc ├── .offlineimap.py ├── .offlineimaprc ├── .osx ├── .rdebugrc ├── .sbtignore ├── .screenrc ├── .terminal.vimrc ├── .tmux.conf ├── .vagrant ├── .gitignore ├── Julia └── Vagrantfile ├── .vim ├── autoload │ └── pathogen.vim ├── bundle │ ├── nvim-cmp-lsp │ │ ├── LICENSE │ │ ├── README.md │ │ ├── after │ │ │ └── plugin │ │ │ │ └── cmp_nvim_lsp.lua │ │ └── lua │ │ │ └── cmp_nvim_lsp │ │ │ ├── init.lua │ │ │ └── source.lua │ ├── nvim-cmp │ │ ├── .github │ │ │ ├── FUNDING.yml │ │ │ ├── ISSUE_TEMPLATE │ │ │ │ └── bug_report.yml │ │ │ └── workflows │ │ │ │ └── integration.yaml │ │ ├── .gitignore │ │ ├── .luacheckrc │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── autoload │ │ │ └── cmp.vim │ │ ├── doc │ │ │ └── cmp.txt │ │ ├── init.sh │ │ ├── lua │ │ │ └── cmp │ │ │ │ ├── config.lua │ │ │ │ ├── config │ │ │ │ ├── compare.lua │ │ │ │ ├── context.lua │ │ │ │ ├── default.lua │ │ │ │ ├── mapping.lua │ │ │ │ └── sources.lua │ │ │ │ ├── context.lua │ │ │ │ ├── context_spec.lua │ │ │ │ ├── core.lua │ │ │ │ ├── core_spec.lua │ │ │ │ ├── entry.lua │ │ │ │ ├── entry_spec.lua │ │ │ │ ├── init.lua │ │ │ │ ├── matcher.lua │ │ │ │ ├── matcher_spec.lua │ │ │ │ ├── source.lua │ │ │ │ ├── source_spec.lua │ │ │ │ ├── types │ │ │ │ ├── cmp.lua │ │ │ │ ├── init.lua │ │ │ │ ├── lsp.lua │ │ │ │ ├── lsp_spec.lua │ │ │ │ └── vim.lua │ │ │ │ ├── utils │ │ │ │ ├── api.lua │ │ │ │ ├── api_spec.lua │ │ │ │ ├── async.lua │ │ │ │ ├── async_spec.lua │ │ │ │ ├── autocmd.lua │ │ │ │ ├── binary.lua │ │ │ │ ├── binary_spec.lua │ │ │ │ ├── buffer.lua │ │ │ │ ├── cache.lua │ │ │ │ ├── char.lua │ │ │ │ ├── debug.lua │ │ │ │ ├── event.lua │ │ │ │ ├── feedkeys.lua │ │ │ │ ├── feedkeys_spec.lua │ │ │ │ ├── highlight.lua │ │ │ │ ├── keymap.lua │ │ │ │ ├── keymap_spec.lua │ │ │ │ ├── misc.lua │ │ │ │ ├── misc_spec.lua │ │ │ │ ├── pattern.lua │ │ │ │ ├── spec.lua │ │ │ │ ├── str.lua │ │ │ │ ├── str_spec.lua │ │ │ │ └── window.lua │ │ │ │ ├── view.lua │ │ │ │ ├── view │ │ │ │ ├── custom_entries_view.lua │ │ │ │ ├── docs_view.lua │ │ │ │ ├── ghost_text_view.lua │ │ │ │ ├── native_entries_view.lua │ │ │ │ └── wildmenu_entries_view.lua │ │ │ │ └── vim_source.lua │ │ ├── plugin │ │ │ └── cmp.lua │ │ ├── stylua.toml │ │ └── utils │ │ │ ├── install_stylua.sh │ │ │ └── vimrc.vim │ ├── nvim-lspconfig │ │ ├── .codespellignorewords │ │ ├── .editorconfig │ │ ├── .github │ │ │ ├── ISSUE_TEMPLATE │ │ │ │ ├── bug_report.yml │ │ │ │ ├── config.yml │ │ │ │ └── feature_request.yml │ │ │ ├── PULL_REQUEST_TEMPLATE │ │ │ │ └── pull_request_template.md │ │ │ ├── ci │ │ │ │ └── run_sanitizer.sh │ │ │ └── workflows │ │ │ │ ├── close-config-changes.yml │ │ │ │ ├── codespell.yml │ │ │ │ ├── commit_lint.yml │ │ │ │ ├── docgen.yml │ │ │ │ ├── feature-branch-check.yml │ │ │ │ ├── lint.yml │ │ │ │ ├── problem_matchers │ │ │ │ └── selene.json │ │ │ │ ├── sanitizer.yml │ │ │ │ └── test.yml │ │ ├── .gitignore │ │ ├── .luacheckrc │ │ ├── .stylua.toml │ │ ├── CONFIG.md │ │ ├── CONTRIBUTING.md │ │ ├── LICENSE.md │ │ ├── Makefile │ │ ├── README.md │ │ ├── doc │ │ │ ├── lspconfig.txt │ │ │ ├── server_configurations.md │ │ │ └── server_configurations.txt │ │ ├── flake.lock │ │ ├── flake.nix │ │ ├── lua │ │ │ ├── lspconfig.lua │ │ │ └── lspconfig │ │ │ │ ├── configs.lua │ │ │ │ ├── server_configurations │ │ │ │ ├── als.lua │ │ │ │ ├── angularls.lua │ │ │ │ ├── ansiblels.lua │ │ │ │ ├── arduino_language_server.lua │ │ │ │ ├── asm_lsp.lua │ │ │ │ ├── awk_ls.lua │ │ │ │ ├── bashls.lua │ │ │ │ ├── beancount.lua │ │ │ │ ├── bicep.lua │ │ │ │ ├── bsl_ls.lua │ │ │ │ ├── ccls.lua │ │ │ │ ├── clangd.lua │ │ │ │ ├── clojure_lsp.lua │ │ │ │ ├── cmake.lua │ │ │ │ ├── codeqlls.lua │ │ │ │ ├── crystalline.lua │ │ │ │ ├── csharp_ls.lua │ │ │ │ ├── cssls.lua │ │ │ │ ├── cssmodules_ls.lua │ │ │ │ ├── cucumber_language_server.lua │ │ │ │ ├── dartls.lua │ │ │ │ ├── denols.lua │ │ │ │ ├── dhall_lsp_server.lua │ │ │ │ ├── diagnosticls.lua │ │ │ │ ├── dockerls.lua │ │ │ │ ├── dotls.lua │ │ │ │ ├── efm.lua │ │ │ │ ├── elixirls.lua │ │ │ │ ├── elmls.lua │ │ │ │ ├── ember.lua │ │ │ │ ├── emmet_ls.lua │ │ │ │ ├── erlangls.lua │ │ │ │ ├── esbonio.lua │ │ │ │ ├── eslint.lua │ │ │ │ ├── flow.lua │ │ │ │ ├── flux_lsp.lua │ │ │ │ ├── foam_ls.lua │ │ │ │ ├── fortls.lua │ │ │ │ ├── fsautocomplete.lua │ │ │ │ ├── fstar.lua │ │ │ │ ├── gdscript.lua │ │ │ │ ├── ghcide.lua │ │ │ │ ├── golangci_lint_ls.lua │ │ │ │ ├── gopls.lua │ │ │ │ ├── grammarly.lua │ │ │ │ ├── graphql.lua │ │ │ │ ├── groovyls.lua │ │ │ │ ├── haxe_language_server.lua │ │ │ │ ├── hdl_checker.lua │ │ │ │ ├── hhvm.lua │ │ │ │ ├── hie.lua │ │ │ │ ├── hls.lua │ │ │ │ ├── html.lua │ │ │ │ ├── idris2_lsp.lua │ │ │ │ ├── intelephense.lua │ │ │ │ ├── java_language_server.lua │ │ │ │ ├── jdtls.lua │ │ │ │ ├── jedi_language_server.lua │ │ │ │ ├── jsonls.lua │ │ │ │ ├── jsonnet_ls.lua │ │ │ │ ├── julials.lua │ │ │ │ ├── kotlin_language_server.lua │ │ │ │ ├── lean3ls.lua │ │ │ │ ├── leanls.lua │ │ │ │ ├── lelwel_ls.lua │ │ │ │ ├── lemminx.lua │ │ │ │ ├── ltex.lua │ │ │ │ ├── metals.lua │ │ │ │ ├── mint.lua │ │ │ │ ├── nickel_ls.lua │ │ │ │ ├── nimls.lua │ │ │ │ ├── ocamlls.lua │ │ │ │ ├── ocamllsp.lua │ │ │ │ ├── omnisharp.lua │ │ │ │ ├── opencl_ls.lua │ │ │ │ ├── pasls.lua │ │ │ │ ├── perlls.lua │ │ │ │ ├── perlpls.lua │ │ │ │ ├── phpactor.lua │ │ │ │ ├── powershell_es.lua │ │ │ │ ├── prismals.lua │ │ │ │ ├── psalm.lua │ │ │ │ ├── puppet.lua │ │ │ │ ├── purescriptls.lua │ │ │ │ ├── pylsp.lua │ │ │ │ ├── pyre.lua │ │ │ │ ├── pyright.lua │ │ │ │ ├── quick_lint_js.lua │ │ │ │ ├── r_language_server.lua │ │ │ │ ├── racket_langserver.lua │ │ │ │ ├── remark_ls.lua │ │ │ │ ├── rescriptls.lua │ │ │ │ ├── rls.lua │ │ │ │ ├── rnix.lua │ │ │ │ ├── robotframework_ls.lua │ │ │ │ ├── rome.lua │ │ │ │ ├── rust_analyzer.lua │ │ │ │ ├── salt_ls.lua │ │ │ │ ├── scry.lua │ │ │ │ ├── serve_d.lua │ │ │ │ ├── sixtyfps.lua │ │ │ │ ├── slint_lsp.lua │ │ │ │ ├── solang.lua │ │ │ │ ├── solargraph.lua │ │ │ │ ├── solc.lua │ │ │ │ ├── solidity_ls.lua │ │ │ │ ├── sorbet.lua │ │ │ │ ├── sourcekit.lua │ │ │ │ ├── spectral.lua │ │ │ │ ├── sqlls.lua │ │ │ │ ├── sqls.lua │ │ │ │ ├── stylelint_lsp.lua │ │ │ │ ├── sumneko_lua.lua │ │ │ │ ├── svelte.lua │ │ │ │ ├── svls.lua │ │ │ │ ├── tailwindcss.lua │ │ │ │ ├── taplo.lua │ │ │ │ ├── terraform_lsp.lua │ │ │ │ ├── terraformls.lua │ │ │ │ ├── texlab.lua │ │ │ │ ├── tflint.lua │ │ │ │ ├── theme_check.lua │ │ │ │ ├── tsserver.lua │ │ │ │ ├── typeprof.lua │ │ │ │ ├── vala_ls.lua │ │ │ │ ├── vdmj.lua │ │ │ │ ├── verible.lua │ │ │ │ ├── vimls.lua │ │ │ │ ├── vls.lua │ │ │ │ ├── volar.lua │ │ │ │ ├── vuels.lua │ │ │ │ ├── yamlls.lua │ │ │ │ ├── zeta_note.lua │ │ │ │ ├── zk.lua │ │ │ │ └── zls.lua │ │ │ │ ├── ui │ │ │ │ ├── lspinfo.lua │ │ │ │ └── windows.lua │ │ │ │ └── util.lua │ │ ├── neovim.toml │ │ ├── plugin │ │ │ └── lspconfig.vim │ │ ├── scripts │ │ │ ├── README_template.md │ │ │ ├── docgen.lua │ │ │ ├── docgen.sh │ │ │ └── run_test.sh │ │ ├── selene.toml │ │ └── test │ │ │ ├── lspconfig_spec.lua │ │ │ ├── minimal_init.lua │ │ │ └── test_dir │ │ │ ├── a │ │ │ └── a_marker.txt │ │ │ └── root_marker.txt │ ├── vim-airline │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── Gemfile │ │ ├── LICENSE │ │ ├── README.md │ │ ├── Rakefile │ │ ├── autoload │ │ │ ├── airline.vim │ │ │ └── airline │ │ │ │ ├── builder.vim │ │ │ │ ├── debug.vim │ │ │ │ ├── deprecation.vim │ │ │ │ ├── extensions.vim │ │ │ │ ├── extensions │ │ │ │ ├── branch.vim │ │ │ │ ├── bufferline.vim │ │ │ │ ├── commandt.vim │ │ │ │ ├── csv.vim │ │ │ │ ├── ctrlp.vim │ │ │ │ ├── default.vim │ │ │ │ ├── example.vim │ │ │ │ ├── hunks.vim │ │ │ │ ├── syntastic.vim │ │ │ │ ├── tabline.vim │ │ │ │ ├── tabline │ │ │ │ │ └── formatters.vim │ │ │ │ ├── tagbar.vim │ │ │ │ ├── undotree.vim │ │ │ │ ├── unite.vim │ │ │ │ ├── virtualenv.vim │ │ │ │ └── whitespace.vim │ │ │ │ ├── highlighter.vim │ │ │ │ ├── init.vim │ │ │ │ ├── parts.vim │ │ │ │ ├── section.vim │ │ │ │ ├── themes.vim │ │ │ │ ├── themes │ │ │ │ ├── badwolf.vim │ │ │ │ ├── base16.vim │ │ │ │ ├── bubblegum.vim │ │ │ │ ├── dark.vim │ │ │ │ ├── jellybeans.vim │ │ │ │ ├── laederon.vim │ │ │ │ ├── light.vim │ │ │ │ ├── luna.vim │ │ │ │ ├── molokai.vim │ │ │ │ ├── powerlineish.vim │ │ │ │ ├── serene.vim │ │ │ │ ├── simple.vim │ │ │ │ ├── solarized.vim │ │ │ │ ├── tomorrow.vim │ │ │ │ ├── ubaryd.vim │ │ │ │ ├── wombat.vim │ │ │ │ └── zenburn.vim │ │ │ │ └── util.vim │ │ ├── doc │ │ │ └── airline.txt │ │ ├── plugin │ │ │ └── airline.vim │ │ └── t │ │ │ ├── airline.vim │ │ │ ├── builder.vim │ │ │ ├── commands.vim │ │ │ ├── extensions_default.vim │ │ │ ├── highligher.vim │ │ │ ├── init.vim │ │ │ ├── parts.vim │ │ │ ├── section.vim │ │ │ ├── themes.vim │ │ │ └── util.vim │ ├── vim-autotag │ │ └── plugin │ │ │ └── autotag.vim │ ├── vim-colors-solarized │ │ ├── README.mkd │ │ ├── autoload │ │ │ └── togglebg.vim │ │ ├── bitmaps │ │ │ └── togglebg.png │ │ ├── colors │ │ │ └── solarized.vim │ │ └── doc │ │ │ ├── solarized.txt │ │ │ └── tags │ ├── vim-fugitive │ │ ├── .gitignore │ │ ├── README.markdown │ │ ├── doc │ │ │ └── fugitive.txt │ │ └── plugin │ │ │ └── fugitive.vim │ ├── vim-fzf │ │ ├── .gitattributes │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── README.md │ │ ├── autoload │ │ │ └── fzf │ │ │ │ ├── vim.vim │ │ │ │ └── vim │ │ │ │ └── complete.vim │ │ ├── bin │ │ │ ├── preview.rb │ │ │ ├── preview.sh │ │ │ ├── tagpreview.sh │ │ │ └── tags.pl │ │ ├── doc │ │ │ └── fzf-vim.txt │ │ └── plugin │ │ │ └── fzf.vim │ ├── vim-github │ │ ├── README.md │ │ └── plugin │ │ │ └── github.vim │ ├── vim-go-explorer │ │ ├── LICENSE │ │ ├── README.md │ │ ├── autoload │ │ │ └── ge │ │ │ │ ├── complete.vim │ │ │ │ ├── doc.vim │ │ │ │ ├── fmt.vim │ │ │ │ └── tool.vim │ │ ├── plugin │ │ │ └── ge.vim │ │ ├── src │ │ │ └── getool │ │ │ │ ├── LICENSE │ │ │ │ ├── complete.go │ │ │ │ ├── complete_test.go │ │ │ │ ├── context.go │ │ │ │ ├── def.go │ │ │ │ ├── doc.go │ │ │ │ ├── fmt.go │ │ │ │ ├── fmt_test.go │ │ │ │ ├── main.go │ │ │ │ └── util.go │ │ └── syntax │ │ │ └── gedoc.vim │ ├── vim-go │ │ ├── .codecov.yml │ │ ├── .coveragerc │ │ ├── .dockerignore │ │ ├── .editorconfig │ │ ├── .github │ │ │ ├── CONTRIBUTING.md │ │ │ └── ISSUE_TEMPLATE.md │ │ ├── .gitignore │ │ ├── .travis.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 │ │ │ │ ├── cmd.vim │ │ │ │ ├── cmd_test.vim │ │ │ │ ├── complete.vim │ │ │ │ ├── complete_test.vim │ │ │ │ ├── config.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 │ │ │ │ ├── import.vim │ │ │ │ ├── indent_test.vim │ │ │ │ ├── issue.vim │ │ │ │ ├── job.vim │ │ │ │ ├── keyify.vim │ │ │ │ ├── lint.vim │ │ │ │ ├── lint_test.vim │ │ │ │ ├── list.vim │ │ │ │ ├── mod.vim │ │ │ │ ├── package.vim │ │ │ │ ├── path.vim │ │ │ │ ├── play.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 │ │ │ │ │ ├── debug │ │ │ │ │ │ ├── compilerror │ │ │ │ │ │ │ └── main.go │ │ │ │ │ │ └── debugmain │ │ │ │ │ │ │ └── debugmain.go │ │ │ │ │ ├── def │ │ │ │ │ │ └── jump.go │ │ │ │ │ ├── fmt │ │ │ │ │ │ ├── hello.go │ │ │ │ │ │ ├── hello_golden.go │ │ │ │ │ │ ├── imports │ │ │ │ │ │ │ ├── goimports.go │ │ │ │ │ │ │ ├── goimports_golden.go │ │ │ │ │ │ │ └── vendor │ │ │ │ │ │ │ │ └── gh.com │ │ │ │ │ │ │ │ └── gi │ │ │ │ │ │ │ │ └── foo-logging │ │ │ │ │ │ │ │ └── logger.go │ │ │ │ │ │ └── src │ │ │ │ │ │ │ └── imports │ │ │ │ │ ├── lint │ │ │ │ │ │ └── src │ │ │ │ │ │ │ ├── foo │ │ │ │ │ │ │ └── foo.go │ │ │ │ │ │ │ ├── lint │ │ │ │ │ │ │ ├── lint.go │ │ │ │ │ │ │ └── quux.go │ │ │ │ │ │ │ └── vet │ │ │ │ │ │ │ └── vet.go │ │ │ │ │ ├── term │ │ │ │ │ │ └── term.go │ │ │ │ │ └── test │ │ │ │ │ │ ├── .gitignore │ │ │ │ │ │ └── src │ │ │ │ │ │ ├── compilerror │ │ │ │ │ │ └── compilerror.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 │ │ │ │ └── util.vim │ │ │ ├── gotest.vim │ │ │ └── unite │ │ │ │ └── sources │ │ │ │ └── decls.vim │ │ ├── compiler │ │ │ └── go.vim │ │ ├── doc │ │ │ └── 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-vim │ │ │ ├── lint │ │ │ ├── run-vim │ │ │ ├── runbench.vim │ │ │ ├── runtest.vim │ │ │ └── test │ │ ├── syntax │ │ │ ├── go.vim │ │ │ ├── godebugoutput.vim │ │ │ ├── godebugstacktrace.vim │ │ │ ├── godebugvariables.vim │ │ │ ├── godefstack.vim │ │ │ ├── gohtmltmpl.vim │ │ │ ├── gomod.vim │ │ │ ├── gotexttmpl.vim │ │ │ └── vimgo.vim │ │ ├── templates │ │ │ ├── hello_world.go │ │ │ └── hello_world_test.go │ │ └── test │ │ │ ├── gopath_test.vim │ │ │ └── parse.go │ ├── vim-jsx │ │ ├── README.md │ │ └── after │ │ │ ├── ftdetect │ │ │ └── javascript.vim │ │ │ ├── ftplugin │ │ │ └── jsx.vim │ │ │ ├── indent │ │ │ └── jsx.vim │ │ │ ├── jsx-config.vim │ │ │ └── syntax │ │ │ └── jsx.vim │ ├── vim-julia │ │ ├── INSTALL.md │ │ ├── LICENSE.md │ │ ├── README.md │ │ ├── autoload │ │ │ ├── LaTeXtoUnicode.vim │ │ │ ├── generate_latex_symbols_table.jl │ │ │ ├── julia.vim │ │ │ ├── julia │ │ │ │ └── doc.vim │ │ │ ├── julia_blocks.vim │ │ │ └── julia_latex_symbols.vim │ │ ├── doc │ │ │ ├── generate_latex_symbols_table.jl │ │ │ ├── julia-vim-L2U-table.txt │ │ │ ├── julia-vim-L2U.txt │ │ │ └── julia-vim.txt │ │ ├── ftdetect │ │ │ └── julia.vim │ │ ├── ftplugin │ │ │ ├── julia.vim │ │ │ └── juliadoc.vim │ │ ├── indent │ │ │ └── julia.vim │ │ ├── keymap │ │ │ ├── generate_L2U_keymap.jl │ │ │ └── latex2unicode_utf-8.vim │ │ ├── logo.png │ │ └── syntax │ │ │ ├── julia.vim │ │ │ └── juliadoc.vim │ ├── vim-maths │ │ └── plugin │ │ │ └── unicodemacros.vim │ ├── vim-pathogen │ │ ├── README.markdown │ │ └── autoload │ │ │ └── pathogen.vim │ ├── vim-powerline-fonts │ │ ├── Consolas.ttf │ │ ├── Inconsolata-dz-Powerline.otf │ │ ├── Menlo-Powerline.otf │ │ ├── Monaco-Powerline.otf │ │ └── monaco.ttf │ ├── vim-rust │ │ ├── README.md │ │ ├── after │ │ │ └── syntax │ │ │ │ └── rust.vim │ │ ├── compiler │ │ │ └── rustc.vim │ │ ├── doc │ │ │ ├── LICENSE │ │ │ └── rust.txt │ │ ├── ftdetect │ │ │ └── rust.vim │ │ ├── ftplugin │ │ │ └── rust.vim │ │ ├── indent │ │ │ └── rust.vim │ │ ├── plugin │ │ │ └── rust.vim │ │ └── syntax │ │ │ └── rust.vim │ ├── vim-scala │ │ ├── README │ │ ├── ftdetect │ │ │ └── scala.vim │ │ ├── indent │ │ │ └── scala.vim │ │ ├── plugin │ │ │ └── 31-create-scala.vim │ │ └── syntax │ │ │ └── scala.vim │ ├── vim-sqlutil │ │ ├── autoload │ │ │ └── SQLUtilities.vim │ │ ├── doc │ │ │ └── SQLUtilities.txt │ │ └── plugin │ │ │ └── SQLUtilities.vim │ ├── vim-typescript │ │ ├── README.md │ │ ├── compiler │ │ │ ├── typescript.vim │ │ │ └── typescriptreact.vim │ │ ├── ftdetect │ │ │ └── typescript.vim │ │ ├── ftplugin │ │ │ ├── typescript.vim │ │ │ └── typescriptreact.vim │ │ ├── indent │ │ │ ├── typescript.vim │ │ │ └── typescriptreact.vim │ │ ├── syntax │ │ │ ├── typescript.vim │ │ │ └── typescriptreact.vim │ │ └── vimshot01.png │ └── vim-vsnip │ │ ├── .github │ │ ├── FUNDING.yml │ │ └── workflows │ │ │ ├── linux_neovim.yml │ │ │ ├── linux_vim.yml │ │ │ ├── mac_neovim.yml │ │ │ ├── windows_neovim.yml │ │ │ └── windows_vim.yml │ │ ├── .gitignore │ │ ├── .npmrc │ │ ├── .themisrc │ │ ├── .vimrc │ │ ├── LICENSE │ │ ├── README.md │ │ ├── autoload │ │ ├── vital │ │ │ ├── _vsnip.vim │ │ │ ├── _vsnip │ │ │ │ └── VS │ │ │ │ │ ├── LSP │ │ │ │ │ ├── Diff.vim │ │ │ │ │ ├── Position.vim │ │ │ │ │ ├── Text.vim │ │ │ │ │ └── TextEdit.vim │ │ │ │ │ └── Vim │ │ │ │ │ ├── Buffer.vim │ │ │ │ │ └── Option.vim │ │ │ ├── vsnip.vim │ │ │ └── vsnip.vital │ │ ├── vsnip.vim │ │ └── vsnip │ │ │ ├── indent.vim │ │ │ ├── parser │ │ │ └── combinator.vim │ │ │ ├── session.vim │ │ │ ├── snippet.vim │ │ │ ├── snippet │ │ │ ├── node.vim │ │ │ ├── node │ │ │ │ ├── placeholder.vim │ │ │ │ ├── text.vim │ │ │ │ ├── transform.vim │ │ │ │ └── variable.vim │ │ │ └── parser.vim │ │ │ ├── source.vim │ │ │ ├── source │ │ │ ├── user_snippet.vim │ │ │ └── vscode.vim │ │ │ └── variable.vim │ │ ├── doc │ │ └── vsnip.txt │ │ ├── misc │ │ ├── basic_spec.json │ │ ├── integration.json │ │ ├── source_spec.json │ │ └── source_spec_vscode │ │ │ ├── package.json │ │ │ └── source_spec_vscode.json │ │ ├── package.json │ │ ├── plugin │ │ └── vsnip.vim │ │ └── spec │ │ ├── autoload │ │ ├── vsnip.vimspec │ │ └── vsnip │ │ │ ├── indent.vimspec │ │ │ ├── snippet.vimspec │ │ │ ├── snippet │ │ │ └── parser.vimspec │ │ │ └── source.vimspec │ │ └── plugin │ │ └── vsnip.vimspec └── plugin │ ├── fzf.vim │ └── soywiki_starter.vim ├── .vimrc ├── .vscode.vimrc ├── .zsh ├── .prompt └── syntax-highlighting │ ├── .gitignore │ ├── COPYING.md │ ├── README.md │ ├── highlighters │ ├── README.md │ ├── brackets │ │ ├── README.md │ │ ├── brackets-highlighter.zsh │ │ └── test-data │ │ │ ├── mismatch-patentheses.zsh │ │ │ ├── nested-parentheses.zsh │ │ │ ├── quoted-patentheses.zsh │ │ │ ├── simple-parentheses.zsh │ │ │ ├── unclosed-patentheses.zsh │ │ │ └── unclosed-patentheses2.zsh │ ├── cursor │ │ ├── README.md │ │ └── cursor-highlighter.zsh │ ├── main │ │ ├── README.md │ │ ├── main-highlighter.zsh │ │ └── test-data │ │ │ ├── assign.zsh │ │ │ ├── multiple-redirections.zsh │ │ │ ├── path-space- .zsh │ │ │ ├── path-tilde-home.zsh │ │ │ ├── path-tilde-named.zsh │ │ │ ├── path.zsh │ │ │ ├── simple-command.zsh │ │ │ ├── simple-redirection.zsh │ │ │ └── unknown-command.zsh │ ├── pattern │ │ ├── README.md │ │ └── pattern-highlighter.zsh │ └── root │ │ ├── README.md │ │ └── root-highlighter.zsh │ ├── tests │ ├── README.md │ ├── test-highlighting.zsh │ └── test-perfs.zsh │ ├── zsh-syntax-highlighting.plugin.zsh │ └── zsh-syntax-highlighting.zsh ├── .zshrc ├── 60-synaptics.conf ├── README.md ├── archive ├── bin ├── addcontact ├── articles ├── auth ├── dev ├── drake ├── drip ├── dwm-launch ├── field ├── focus ├── g ├── gcalsync ├── glossary ├── googl ├── hrs ├── ijulia ├── ips ├── irssi-customized ├── julia-link ├── kc ├── lein ├── lint-python ├── load ├── ml-class-rename ├── moob ├── mou ├── msg ├── mutt-notmuch ├── mutt-open ├── mutt-pgp ├── my ├── networkchange ├── newsbeuter-open ├── notebook ├── notify-desktop ├── oi ├── pcot ├── pick ├── plog ├── po ├── po-stats ├── pomodoros ├── ppb ├── practice-greek ├── practice-greek-common ├── psg ├── psg.awk ├── redshift ├── rpomodoros ├── solarized ├── speak ├── t ├── tremote ├── trigger ├── twhile ├── watch-memory ├── wcat ├── welcome └── zap ├── boot.sbt ├── pin └── service ├── bitlbee ├── log │ ├── main │ │ └── .gitignore │ └── run └── run ├── calendar ├── log │ ├── main │ │ └── .gitignore │ └── run └── run ├── godoc ├── log │ ├── main │ │ └── .gitignore │ └── run └── run └── offlineimap ├── log ├── main │ └── .gitignore └── run └── run /.Xmodmap: -------------------------------------------------------------------------------- 1 | xmodmap -e "keycode 12 = 3 numbersign" 2 | -------------------------------------------------------------------------------- /.agignore: -------------------------------------------------------------------------------- 1 | grappelli 2 | -------------------------------------------------------------------------------- /.asdfrc: -------------------------------------------------------------------------------- 1 | java_macos_integration_enable = yes 2 | -------------------------------------------------------------------------------- /.bashrc: -------------------------------------------------------------------------------- 1 | 2 | . "$HOME/.cargo/env" 3 | 4 | source $HOME/.config/broot/launcher/bash/br 5 | -------------------------------------------------------------------------------- /.common/example.common: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # example env extension. put extra files in here to be loaded on start. 4 | -------------------------------------------------------------------------------- /.completions/bash/_articles: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | _articles() { 4 | local opts=`articles ls` 5 | local cur=${COMP_WORDS[COMP_CWORD]} 6 | 7 | COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) 8 | } 9 | 10 | complete -F _articles articles 11 | 12 | -------------------------------------------------------------------------------- /.completions/bash/_dev: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | _dev() { 4 | local opts=`dev ls` 5 | local cur=${COMP_WORDS[COMP_CWORD]} 6 | 7 | COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) 8 | } 9 | 10 | complete -F _dev dev 11 | 12 | -------------------------------------------------------------------------------- /.completions/bash/_global: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | [ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion 4 | 5 | -------------------------------------------------------------------------------- /.completions/bash/_glossary: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | _glossary() { 4 | local opts=`glossary ls` 5 | local cur=${COMP_WORDS[COMP_CWORD]} 6 | 7 | COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) 8 | } 9 | 10 | complete -F _glossary glossary 11 | 12 | -------------------------------------------------------------------------------- /.completions/bash/_moob: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | _moob() { 4 | local opts=`moob ls` 5 | local cur=${COMP_WORDS[COMP_CWORD]} 6 | 7 | COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) 8 | } 9 | 10 | complete -F _moob moob 11 | 12 | -------------------------------------------------------------------------------- /.completions/zsh/_articles: -------------------------------------------------------------------------------- 1 | #compdef articles 2 | 3 | _arguments "1:Articles:($(articles ls | xargs))" 4 | 5 | -------------------------------------------------------------------------------- /.completions/zsh/_dev: -------------------------------------------------------------------------------- 1 | #compdef dev 2 | 3 | _arguments "1:Dev:($(dev ls | xargs))" 4 | 5 | -------------------------------------------------------------------------------- /.completions/zsh/_glossary: -------------------------------------------------------------------------------- 1 | #compdef glossary 2 | 3 | _arguments "1:Glossary:($(glossary ls | xargs))" 4 | 5 | -------------------------------------------------------------------------------- /.completions/zsh/_moob: -------------------------------------------------------------------------------- 1 | #compdef moob 2 | 3 | _arguments "1:Topics:($(moob ls | xargs))" 4 | 5 | -------------------------------------------------------------------------------- /.completions/zsh/_my: -------------------------------------------------------------------------------- 1 | #compdef my 2 | 3 | _arguments "1:List:($(my --list | xargs))" 4 | 5 | -------------------------------------------------------------------------------- /.completions/zsh/_tremote: -------------------------------------------------------------------------------- 1 | #compdef tremote 2 | 3 | _arguments "1:Machines:($(awk '/^Host / && NR > 1 { print $2 }' ~/.ssh/config))" 4 | -------------------------------------------------------------------------------- /.condarc: -------------------------------------------------------------------------------- 1 | channels: 2 | - defaults 3 | ssl_verify: true 4 | changeps1: False 5 | -------------------------------------------------------------------------------- /.config/nvim/init.vim: -------------------------------------------------------------------------------- 1 | set runtimepath^=~/.vim runtimepath+=~/.vim/after 2 | let &packpath=&runtimepath 3 | source ~/.vimrc 4 | -------------------------------------------------------------------------------- /.config/nvim/lua/lsp.lua: -------------------------------------------------------------------------------- 1 | require'lspconfig'.pylsp.setup{} 2 | 3 | local on_attach = function(client, bufnr) 4 | -- Enable omnifunc 5 | vim.api.nvim_buf_set_option(bufnr, 'omnifunc', 'v:lua.vim.lsp.omnifunc') 6 | end 7 | -------------------------------------------------------------------------------- /.emacs.d/emacs-calfw/calfw.juth: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/purzelrakete/dotfiles/bdd8527d76158a99bb9f7f30544a2f932bc573b4/.emacs.d/emacs-calfw/calfw.juth -------------------------------------------------------------------------------- /.emacs.d/ensime/LICENSE: -------------------------------------------------------------------------------- 1 | ENSIME is Copyright 2010, Aemon Cannon 2 | All Rights Reserved 3 | 4 | The ENSIME Emacs client is licensed under the GNU Public License. See individual source files. 5 | 6 | The ENSIME Server is licensed under a BSD License unless noted otherwise in individual files. 7 | -------------------------------------------------------------------------------- /.emacs.d/ensime/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -f 3 | 4 | case "$1" in 5 | -h|--help|"") 6 | echo "$0 should be run by emacs plugin. M-x ensime should start the server for you" 7 | exit 1 8 | ;; 9 | *) 10 | PORT_FILE=$1 11 | ;; 12 | esac 13 | 14 | if [ "$ENSIME_JVM_ARGS" == "" ] 15 | then 16 | ENSIME_JVM_ARGS="-Xms256M -Xmx1512M -XX:PermSize=128m -Xss1M -Dfile.encoding=UTF-8" 17 | fi 18 | 19 | BOOTCLASSPATH="scala-library.jar:scala-compiler.jar" 20 | CLASSPATH="lib/asm-3.2.jar:lib/asm-commons-3.2.jar:lib/asm-tree-3.2.jar:lib/critbit-0.0.4.jar:lib/ensime_2.9.2-0.9.8.1.jar:lib/json-simple-1.1.jar:lib/lucene-core-3.5.0.jar:lib/org.eclipse.jdt.core-3.6.0.v_A58.jar:lib/org.scala-refactoring_2.9.2-SNAPSHOT-0.5.0-SNAPSHOT.jar:lib/scala-compiler.jar:lib/scala-library.jar:lib/scalariform_2.9.1-0.1.1.jar:${JAVA_HOME}/lib/tools.jar" 21 | CMD="java -Xbootclasspath/a:${BOOTCLASSPATH} -classpath ${CLASSPATH} ${ENSIME_JVM_ARGS} org.ensime.server.Server ${PORT_FILE}" 22 | echo $CMD 23 | exec $CMD 24 | 25 | -------------------------------------------------------------------------------- /.emacs.d/ensime/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PORT_FILE=%1 2 | set BOOTCLASSPATH="%~dp0\..\scala-library.jar;%~dp0\..\scala-compiler.jar" 3 | set CLASSPATH="%~dp0\..\lib\asm-3.2.jar;%~dp0\..\lib\asm-commons-3.2.jar;%~dp0\..\lib\asm-tree-3.2.jar;%~dp0\..\lib\critbit-0.0.4.jar;%~dp0\..\lib\ensime_2.9.2-0.9.8.1.jar;%~dp0\..\lib\json-simple-1.1.jar;%~dp0\..\lib\lucene-core-3.5.0.jar;%~dp0\..\lib\org.eclipse.jdt.core-3.6.0.v_A58.jar;%~dp0\..\lib\org.scala-refactoring_2.9.2-SNAPSHOT-0.5.0-SNAPSHOT.jar;%~dp0\..\lib\scala-compiler.jar;%~dp0\..\lib\scala-library.jar;%~dp0\..\lib\scalariform_2.9.1-0.1.1.jar;%JAVA_HOME%\lib\tools.jar" 4 | if not defined ENSIME_JVM_ARGS (set ENSIME_JVM_ARGS=-Xms256M -Xmx1512M -XX:PermSize=128m -Xss1M -Dfile.encoding=UTF-8) 5 | java -Xbootclasspath/a:%BOOTCLASSPATH% -classpath %CLASSPATH% %ENSIME_JVM_ARGS% org.ensime.server.Server %PORT_FILE% 6 | -------------------------------------------------------------------------------- /.emacs.d/ensime/elisp/Makefile: -------------------------------------------------------------------------------- 1 | ##===--- Makefile ---------------------------------------*- Makefile -*-===## 2 | # 3 | # 4 | # The Ensime project 5 | # 6 | # 7 | ##===-------------------------------------------------------------------===## 8 | 9 | EMACS = emacs 10 | 11 | ELS = $(shell ls -1 *.el) 12 | ELCS= $(ELS:.el=.elc) 13 | 14 | .el.elc: 15 | $(EMACS) -batch -L . \ 16 | -eval "(setq max-lisp-eval-depth 1500 max-specpdl-size 3000)" \ 17 | -eval "(mapc (lambda (dir) (add-to-list 'load-path dir)) (parse-colon-path (getenv \"LOAD_PATH\")))" \ 18 | -f batch-byte-compile $*.el 19 | 20 | all: bytecompile 21 | 22 | bytecompile: $(ELCS) 23 | 24 | clean: 25 | rm -rf $(ELCS) 26 | 27 | .PHONY: all clean 28 | -------------------------------------------------------------------------------- /.emacs.d/ensime/lib/asm-3.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/purzelrakete/dotfiles/bdd8527d76158a99bb9f7f30544a2f932bc573b4/.emacs.d/ensime/lib/asm-3.2.jar -------------------------------------------------------------------------------- /.emacs.d/ensime/lib/asm-commons-3.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/purzelrakete/dotfiles/bdd8527d76158a99bb9f7f30544a2f932bc573b4/.emacs.d/ensime/lib/asm-commons-3.2.jar -------------------------------------------------------------------------------- /.emacs.d/ensime/lib/asm-tree-3.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/purzelrakete/dotfiles/bdd8527d76158a99bb9f7f30544a2f932bc573b4/.emacs.d/ensime/lib/asm-tree-3.2.jar -------------------------------------------------------------------------------- /.emacs.d/ensime/lib/critbit-0.0.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/purzelrakete/dotfiles/bdd8527d76158a99bb9f7f30544a2f932bc573b4/.emacs.d/ensime/lib/critbit-0.0.4.jar -------------------------------------------------------------------------------- /.emacs.d/ensime/lib/ensime_2.9.2-0.9.8.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/purzelrakete/dotfiles/bdd8527d76158a99bb9f7f30544a2f932bc573b4/.emacs.d/ensime/lib/ensime_2.9.2-0.9.8.1.jar -------------------------------------------------------------------------------- /.emacs.d/ensime/lib/json-simple-1.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/purzelrakete/dotfiles/bdd8527d76158a99bb9f7f30544a2f932bc573b4/.emacs.d/ensime/lib/json-simple-1.1.jar -------------------------------------------------------------------------------- /.emacs.d/ensime/lib/lucene-core-3.5.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/purzelrakete/dotfiles/bdd8527d76158a99bb9f7f30544a2f932bc573b4/.emacs.d/ensime/lib/lucene-core-3.5.0.jar -------------------------------------------------------------------------------- /.emacs.d/ensime/lib/org.eclipse.jdt.core-3.6.0.v_A58.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/purzelrakete/dotfiles/bdd8527d76158a99bb9f7f30544a2f932bc573b4/.emacs.d/ensime/lib/org.eclipse.jdt.core-3.6.0.v_A58.jar -------------------------------------------------------------------------------- /.emacs.d/ensime/lib/org.scala-refactoring_2.9.2-SNAPSHOT-0.5.0-SNAPSHOT.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/purzelrakete/dotfiles/bdd8527d76158a99bb9f7f30544a2f932bc573b4/.emacs.d/ensime/lib/org.scala-refactoring_2.9.2-SNAPSHOT-0.5.0-SNAPSHOT.jar -------------------------------------------------------------------------------- /.emacs.d/ensime/lib/scala-compiler.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/purzelrakete/dotfiles/bdd8527d76158a99bb9f7f30544a2f932bc573b4/.emacs.d/ensime/lib/scala-compiler.jar -------------------------------------------------------------------------------- /.emacs.d/ensime/lib/scala-library.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/purzelrakete/dotfiles/bdd8527d76158a99bb9f7f30544a2f932bc573b4/.emacs.d/ensime/lib/scala-library.jar -------------------------------------------------------------------------------- /.emacs.d/ensime/lib/scalariform_2.9.1-0.1.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/purzelrakete/dotfiles/bdd8527d76158a99bb9f7f30544a2f932bc573b4/.emacs.d/ensime/lib/scalariform_2.9.1-0.1.1.jar -------------------------------------------------------------------------------- /.emacs.d/evil/.gitattributes: -------------------------------------------------------------------------------- 1 | *.el diff=lisp 2 | -------------------------------------------------------------------------------- /.emacs.d/evil/.gitignore: -------------------------------------------------------------------------------- 1 | *.elc 2 | *.aux 3 | *.cp 4 | *.fn 5 | *.fns 6 | *.info 7 | *.ky 8 | *.log 9 | *.pg 10 | *.toc 11 | *.tp 12 | *.vr 13 | *.vrs 14 | .depend 15 | -------------------------------------------------------------------------------- /.emacs.d/evil/doc/evil.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/purzelrakete/dotfiles/bdd8527d76158a99bb9f7f30544a2f932bc573b4/.emacs.d/evil/doc/evil.pdf -------------------------------------------------------------------------------- /.emacs.d/evil/doc/front.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/purzelrakete/dotfiles/bdd8527d76158a99bb9f7f30544a2f932bc573b4/.emacs.d/evil/doc/front.png -------------------------------------------------------------------------------- /.emacs.d/evil/doc/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/purzelrakete/dotfiles/bdd8527d76158a99bb9f7f30544a2f932bc573b4/.emacs.d/evil/doc/logo.png -------------------------------------------------------------------------------- /.emacs.d/evil/doc/macros.texi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/purzelrakete/dotfiles/bdd8527d76158a99bb9f7f30544a2f932bc573b4/.emacs.d/evil/doc/macros.texi -------------------------------------------------------------------------------- /.emacs.d/evil/doc/version.texi: -------------------------------------------------------------------------------- 1 | @c -*-texinfo-*- 2 | @c This is part of the Evil manual. 3 | @c Copyright (C) 2011 Frank Fischer and Vegard Øye. 4 | @c See the file evil.texi for copying conditions. 5 | 6 | @set VERSION 0.1 7 | @set UPDATED 2011-07-30 8 | -------------------------------------------------------------------------------- /.emacs.d/evil/evil-pkg.el: -------------------------------------------------------------------------------- 1 | (define-package 2 | "evil" 3 | "0.0.0" 4 | "Extensible Vi layer for Emacs." 5 | '((undo-tree "0.5.1"))) 6 | -------------------------------------------------------------------------------- /.emacs.d/evil/lib/README: -------------------------------------------------------------------------------- 1 | This folder contains external libraries that are freely distributable 2 | under the GNU GPL license. They may not be up to date. 3 | 4 | Emacs does not add subdirectories to the `load-path' by default. 5 | Therefore this directory is not covered by the installation 6 | instructions. 7 | -------------------------------------------------------------------------------- /.emacs.d/go-mode/.gitignore: -------------------------------------------------------------------------------- 1 | *.elc 2 | *-autoloads.el 3 | -------------------------------------------------------------------------------- /.emacs.d/go-mode/behaviour_tests/gh-16.go: -------------------------------------------------------------------------------- 1 | package magiccomma 2 | 3 | /* 4 | extern void CallMyFunction(void* pfoo); 5 | */ 6 | import "C" 7 | -------------------------------------------------------------------------------- /.emacs.d/go-mode/indentation_tests/dangling_operator.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | func init() { 4 | a := 5 | 123 6 | 7 | print(123, 8 | 456, 9 | 789, 10 | ) 11 | 12 | c := 13 | "foo" 14 | 15 | d := // meh 16 | 123 17 | 18 | e := /* meh 19 | another meh 20 | */ 21 | 123 22 | 23 | println(123, /* foo 24 | bar */ 25 | 456, 26 | ) 27 | 28 | return 29 | } 30 | -------------------------------------------------------------------------------- /.emacs.d/go-mode/indentation_tests/gh-10.go: -------------------------------------------------------------------------------- 1 | package gh10 2 | 3 | func foo() string { 4 | s := `foo` 5 | return s 6 | } 7 | -------------------------------------------------------------------------------- /.emacs.d/go-mode/indentation_tests/gh-11.go: -------------------------------------------------------------------------------- 1 | package gh11 2 | 3 | func init() { 4 | g(someSillyLongExpression(param1, param2, param3), 5 | "boo") 6 | x := 42 7 | } 8 | -------------------------------------------------------------------------------- /.emacs.d/go-mode/indentation_tests/gh-13.go: -------------------------------------------------------------------------------- 1 | package gh13 2 | 3 | func init() { 4 | f := 5 | print(1, 6 | 2, 7 | 3, 8 | ) 9 | } 10 | -------------------------------------------------------------------------------- /.emacs.d/go-mode/indentation_tests/gh-14.go: -------------------------------------------------------------------------------- 1 | package gh14 2 | 3 | func bar() string { 4 | s := `foo 5 | bar` 6 | return s 7 | } 8 | -------------------------------------------------------------------------------- /.emacs.d/go-mode/indentation_tests/gh-15.go: -------------------------------------------------------------------------------- 1 | package gh15 2 | 3 | func somewhatLongFunctionName( 4 | arg1 package1.RatherLongTypeName, arg2 package2.AnotherLongTypeName) { 5 | return 6 | } 7 | 8 | func foo(arg1 type1, 9 | arg2 type2, 10 | arg3 type3) { 11 | return 12 | } 13 | -------------------------------------------------------------------------------- /.emacs.d/go-mode/indentation_tests/gh-9.go: -------------------------------------------------------------------------------- 1 | package gh9 2 | 3 | func x() string { 4 | s := f(` 5 | foo`) 6 | return s 7 | } 8 | -------------------------------------------------------------------------------- /.emacs.d/go-mode/indentation_tests/labels.go: -------------------------------------------------------------------------------- 1 | package labels 2 | 3 | func main() { 4 | code() 5 | Label: 6 | code() 7 | Label2: 8 | code() 9 | Label3: // Comments! 10 | code() 11 | 12 | for { 13 | Label4: 14 | // code 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /.emacs.d/go-mode/indentation_tests/multiline_comment.go: -------------------------------------------------------------------------------- 1 | package multilinecomment 2 | 3 | /* Some comment here 4 | with my very own 5 | indentation as it pleases me */ 6 | 7 | func main() { 8 | if true { 9 | // code 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /.emacs.d/go-mode/indentation_tests/multiline_if.go: -------------------------------------------------------------------------------- 1 | if realLength == -1 && 2 | !chunked(t.TransferEncoding) && 3 | bodyAllowedForStatus(t.StatusCode) { 4 | t.Close = true 5 | } 6 | -------------------------------------------------------------------------------- /.emacs.d/go-mode/indentation_tests/multiline_string.go: -------------------------------------------------------------------------------- 1 | package multilinestring 2 | 3 | func foo() string { 4 | s := `foo 5 | bar 6 | baz` 7 | 8 | return s 9 | } 10 | -------------------------------------------------------------------------------- /.emacs.d/go-mode/indentation_tests/multiline_struct.go: -------------------------------------------------------------------------------- 1 | testCase{char59 + "a." + char63 + "." + char63 + "." + 2 | char63 + ".com", 3 | false} 4 | 5 | ifi := Interface{ 6 | Index: int(index), 7 | MTU: int(row.Mtu), 8 | Name: name, 9 | HardwareAddr: HardwareAddr(row.PhysAddr[:row.PhysAddrLen]), 10 | Flags: flags} 11 | ift = append(ift, ifi) 12 | 13 | {"230-Anonymous access granted, restrictions apply\n" + 14 | "Read the file README.txt,\n" + 15 | "230 please", 16 | 23, 17 | 230, 18 | "Anonymous access granted, restrictions apply\nRead the file README.txt,\n please", 19 | } 20 | -------------------------------------------------------------------------------- /.emacs.d/go-mode/indentation_tests/return_function_call_struct.go: -------------------------------------------------------------------------------- 1 | func main() { 2 | return F( 3 | S{ 4 | 1, 5 | 2, 6 | 3, 7 | } 8 | ) 9 | } 10 | -------------------------------------------------------------------------------- /.emacs.d/go-mode/indentation_tests/switch.go: -------------------------------------------------------------------------------- 1 | package _switch 2 | 3 | func main() { 4 | switch "" { 5 | case "foo": 6 | code() 7 | case "bar": 8 | case "baz": 9 | case "meow": // some documentation 10 | default: 11 | code() 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /.emacs.d/helm/.gitignore: -------------------------------------------------------------------------------- 1 | *.elc 2 | patch* 3 | *.patch 4 | *.diff 5 | Home.md 6 | -------------------------------------------------------------------------------- /.emacs.d/helm/helm-pkg.el: -------------------------------------------------------------------------------- 1 | ;;; helm-pkg.el --- define helm for package.el 2 | 3 | (define-package "helm" "1.4.9" 4 | "Helm is an Emacs incremental and narrowing framework") 5 | 6 | ;; Local Variables: 7 | ;; byte-compile-warnings: (not cl-functions obsolete) 8 | ;; no-byte-compile: t 9 | ;; End: 10 | -------------------------------------------------------------------------------- /.emacs.d/scala-mode2/scala-mode2-lib.el: -------------------------------------------------------------------------------- 1 | ;;; scala-mode-lib.el - Major mode for editing scala, common functions 2 | ;;; Copyright (c) 2012 Heikki Vesalainen 3 | ;;; For information on the License, see the LICENSE file 4 | 5 | (defvar scala-mode:debug-messages 6 | "If true, some debug messages may be printed printed." 7 | nil) 8 | 9 | (defmacro scala-lib:column-after (&rest body) 10 | `(save-excursion 11 | ,@body 12 | (current-column))) 13 | 14 | (defmacro scala-lib:point-after (&rest body) 15 | `(save-excursion 16 | ,@body 17 | (point))) 18 | 19 | (defun scala-lib:delete-trailing-whitespace () 20 | (save-excursion 21 | (end-of-line) 22 | (skip-syntax-backward " ") 23 | (unless (bolp) 24 | (delete-char (- (line-end-position) (point)))))) 25 | 26 | (provide 'scala-mode2-lib) 27 | -------------------------------------------------------------------------------- /.emacs.d/scala-mode2/scala-mode2-pkg.el: -------------------------------------------------------------------------------- 1 | (define-package "scala-mode2" "0.2" 2 | "Major mode for editing Scala >= 2.9") 3 | -------------------------------------------------------------------------------- /.emacs.d/slime/.cvsignore: -------------------------------------------------------------------------------- 1 | *.x86f 2 | *.fasl 3 | *.dfsl 4 | *.lx64fsl 5 | *.elc 6 | _darcs 7 | .DS_Store -------------------------------------------------------------------------------- /.emacs.d/slime/CVS/Entries.Log: -------------------------------------------------------------------------------- 1 | A D/contrib//// 2 | A D/doc//// 3 | -------------------------------------------------------------------------------- /.emacs.d/slime/CVS/Repository: -------------------------------------------------------------------------------- 1 | slime 2 | -------------------------------------------------------------------------------- /.emacs.d/slime/CVS/Root: -------------------------------------------------------------------------------- 1 | :pserver:anonymous:anonymous@common-lisp.net:/project/slime/cvsroot 2 | -------------------------------------------------------------------------------- /.emacs.d/slime/ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/purzelrakete/dotfiles/bdd8527d76158a99bb9f7f30544a2f932bc573b4/.emacs.d/slime/ChangeLog -------------------------------------------------------------------------------- /.emacs.d/slime/contrib/CVS/Repository: -------------------------------------------------------------------------------- 1 | slime/contrib 2 | -------------------------------------------------------------------------------- /.emacs.d/slime/contrib/CVS/Root: -------------------------------------------------------------------------------- 1 | :pserver:anonymous:anonymous@common-lisp.net:/project/slime/cvsroot 2 | -------------------------------------------------------------------------------- /.emacs.d/slime/contrib/slime-fancy-inspector.el: -------------------------------------------------------------------------------- 1 | 2 | (define-slime-contrib slime-fancy-inspector 3 | "Fancy inspector for CLOS objects." 4 | (:authors "Marco Baringer and others") 5 | (:license "GPL") 6 | (:slime-dependencies slime-parse) 7 | (:swank-dependencies swank-fancy-inspector)) 8 | 9 | (defun slime-inspect-definition () 10 | "Inspect definition at point" 11 | (interactive) 12 | (slime-inspect (slime-definition-at-point))) 13 | 14 | (defun slime-disassemble-definition () 15 | "Disassemble definition at point" 16 | (interactive) 17 | (slime-eval-describe `(swank:disassemble-form 18 | ,(slime-definition-at-point t)))) 19 | 20 | (provide 'slime-fancy-inspector) 21 | -------------------------------------------------------------------------------- /.emacs.d/slime/contrib/slime-motd.el: -------------------------------------------------------------------------------- 1 | ;;; slime-motd.el --- 2 | ;; 3 | ;; Authors: 4 | ;; 5 | ;; License: GNU GPL (same license as Emacs) 6 | ;; 7 | ;;; Installation 8 | ;; 9 | ;; Add slime-motd to your slime-setup call. 10 | 11 | (define-slime-contrib slime-motd 12 | "Message Of The Day in a slime repl" 13 | (:authors "Marco Baringer ") 14 | (:license "GPL") 15 | (:slime-dependencies slime-banner) 16 | (:swank-dependencies swank-motd) 17 | (:on-load 18 | (add-hook 'slime-connected-hook 'slime-insert-motd))) 19 | 20 | (defcustom slime-motd-pathname nil 21 | "The local pathname the motd is read from." 22 | :group 'slime-mode 23 | :type '(file :must-match t)) 24 | 25 | (defun slime-insert-motd () 26 | (slime-eval-async `(swank::read-motd ,slime-motd-pathname) 27 | (lambda (motd) 28 | (when motd 29 | (slime-repl-insert-result (list :values motd)))))) 30 | 31 | (provide 'slime-motd) 32 | -------------------------------------------------------------------------------- /.emacs.d/slime/contrib/slime-presentation-streams.el: -------------------------------------------------------------------------------- 1 | 2 | (define-slime-contrib slime-presentation-streams 3 | "Streams that allow attaching object identities to portions of 4 | output." 5 | (:authors "Alan Ruttenberg " 6 | "Matthias Koeppe " 7 | "Helmut Eller ") 8 | (:license "GPL") 9 | (:swank-dependencies swank-presentation-streams)) 10 | 11 | (provide 'slime-presentation-streams) 12 | -------------------------------------------------------------------------------- /.emacs.d/slime/contrib/slime-xref-browser.el: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/purzelrakete/dotfiles/bdd8527d76158a99bb9f7f30544a2f932bc573b4/.emacs.d/slime/contrib/slime-xref-browser.el -------------------------------------------------------------------------------- /.emacs.d/slime/contrib/swank-hyperdoc.lisp: -------------------------------------------------------------------------------- 1 | (in-package :swank) 2 | 3 | (defslimefun hyperdoc (string) 4 | (let ((hyperdoc-package (find-package :hyperdoc))) 5 | (when hyperdoc-package 6 | (multiple-value-bind (symbol foundp symbol-name package) 7 | (parse-symbol string *buffer-package*) 8 | (declare (ignore symbol)) 9 | (when foundp 10 | (funcall (find-symbol (string :lookup) hyperdoc-package) 11 | (package-name (if (member package (cons *buffer-package* 12 | (package-use-list 13 | *buffer-package*))) 14 | *buffer-package* 15 | package)) 16 | symbol-name)))))) 17 | 18 | (provide :swank-hyperdoc) 19 | -------------------------------------------------------------------------------- /.emacs.d/slime/doc/.cvsignore: -------------------------------------------------------------------------------- 1 | contributors.texi 2 | slime.aux 3 | slime.cp 4 | slime.dvi 5 | slime.fn 6 | slime.fns 7 | slime.info 8 | slime.ky 9 | slime.kys 10 | slime.log 11 | slime.pdf 12 | slime.pg 13 | slime.ps 14 | slime.tmp 15 | slime.toc 16 | slime.tp 17 | slime.vr 18 | slime.vrs 19 | slime.html 20 | html 21 | html.tgz 22 | -------------------------------------------------------------------------------- /.emacs.d/slime/doc/CVS/Entries: -------------------------------------------------------------------------------- 1 | /.cvsignore/1.4/Wed Dec 7 15:10:11 2011// 2 | /Makefile/1.15/Wed Nov 18 10:51:34 2009// 3 | /slime-refcard.pdf/1.1/Thu Aug 9 09:18:50 2007// 4 | /slime-refcard.tex/1.2/Thu Sep 11 12:32:01 2008// 5 | /slime-small.eps/1.1/Wed Nov 22 06:27:38 2006// 6 | /slime-small.pdf/1.1/Wed Nov 22 06:27:38 2006// 7 | /slime.texi/1.102/Tue Aug 30 15:34:10 2011// 8 | /texinfo-tabulate.awk/1.2/Mon Aug 29 20:02:57 2005// 9 | D 10 | -------------------------------------------------------------------------------- /.emacs.d/slime/doc/CVS/Repository: -------------------------------------------------------------------------------- 1 | slime/doc 2 | -------------------------------------------------------------------------------- /.emacs.d/slime/doc/CVS/Root: -------------------------------------------------------------------------------- 1 | :pserver:anonymous:anonymous@common-lisp.net:/project/slime/cvsroot 2 | -------------------------------------------------------------------------------- /.emacs.d/slime/doc/slime-refcard.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/purzelrakete/dotfiles/bdd8527d76158a99bb9f7f30544a2f932bc573b4/.emacs.d/slime/doc/slime-refcard.pdf -------------------------------------------------------------------------------- /.emacs.d/slime/doc/slime-small.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/purzelrakete/dotfiles/bdd8527d76158a99bb9f7f30544a2f932bc573b4/.emacs.d/slime/doc/slime-small.pdf -------------------------------------------------------------------------------- /.emacs.d/slime/doc/texinfo-tabulate.awk: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env awk -f 2 | # 3 | # Format input lines into a multi-column texinfo table. 4 | # Note: does not do texinfo-escaping of the input. 5 | 6 | # This code has been placed in the Public Domain. All warranties 7 | # are disclaimed. 8 | 9 | BEGIN { 10 | columns = 3; 11 | printf("@multitable @columnfractions"); 12 | for (i = 0; i < columns; i++) 13 | printf(" %f", 1.0/columns); 14 | print 15 | } 16 | 17 | { if (NR % columns == 1) printf("\n@item %s", $0); 18 | else printf(" @tab %s", $0); } 19 | 20 | END { printf("\n@end multitable\n"); } 21 | 22 | -------------------------------------------------------------------------------- /.emacs.d/slime/mkdist.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # This code has been placed in the Public Domain. All warranties 4 | # are disclaimed. 5 | 6 | version="1.2" 7 | dist="slime-$version" 8 | 9 | if [ -d $dist ]; then rm -rf $dist; fi 10 | 11 | mkdir $dist 12 | cp NEWS README HACKING PROBLEMS ChangeLog *.el *.lisp $dist/ 13 | 14 | mkdir $dist/doc 15 | cp doc/Makefile doc/slime.texi doc/texinfo-tabulate.awk $dist/doc 16 | 17 | tar czf $dist.tar.gz $dist 18 | -------------------------------------------------------------------------------- /.emacs.d/slime/start-swank.lisp: -------------------------------------------------------------------------------- 1 | ;;; This file is intended to be loaded by an implementation to 2 | ;;; get a running swank server 3 | ;;; e.g. sbcl --load start-swank.lisp 4 | ;;; 5 | ;;; Default port is 4005 6 | 7 | ;;; For additional swank-side configurations see 8 | ;;; 6.2 section of the Slime user manual. 9 | 10 | (load (merge-pathnames "swank-loader.lisp" *load-truename*)) 11 | 12 | (swank-loader:init 13 | :delete nil ; delete any existing SWANK packages 14 | :reload nil ; reload SWANK, even if the SWANK package already exists 15 | :load-contribs nil) ; load all contribs 16 | 17 | (swank:create-server :port 4005 18 | ;; if non-nil the connection won't be closed 19 | ;; after connecting 20 | :dont-close nil) 21 | -------------------------------------------------------------------------------- /.emacs.d/undo-tree/.gitignore: -------------------------------------------------------------------------------- 1 | *.elc 2 | -------------------------------------------------------------------------------- /.gemrc: -------------------------------------------------------------------------------- 1 | --- 2 | :backtrace: false 3 | :bulk_threshold: 1000 4 | :sources: 5 | - https://rubygems.org/ 6 | :update_sources: true 7 | :verbose: true 8 | :concurrent_downloads: 8 9 | benchmark: false 10 | gem: "--no-rdoc --no-ri" 11 | rdoc: "--inline-source --line-numbers --format=html --template=hanna" 12 | -------------------------------------------------------------------------------- /.gitconfig: -------------------------------------------------------------------------------- 1 | [push] 2 | default = simple 3 | [pull] 4 | default = current 5 | [user] 6 | name = Rany Keddo 7 | email = purzelrakete@gmail.com 8 | [core] 9 | excludesFile = ~/.gitignore 10 | quotepath = false 11 | compression = 0 12 | [color] 13 | diff = auto 14 | status = auto 15 | branch = auto 16 | [diff] 17 | rename = copy 18 | color = auto 19 | [apply] 20 | whitespace = strip 21 | [pager] 22 | color = true 23 | [alias] 24 | co = "checkout" 25 | ci = "commit" 26 | lola = log --graph --decorate --pretty=oneline --abbrev-commit --all 27 | [branch] 28 | autosetuprebase = always 29 | [url "git@github.com:"] 30 | insteadOf = https://github.com/ 31 | [filter "lfs"] 32 | required = true 33 | clean = git-lfs clean -- %f 34 | smudge = git-lfs smudge -- %f 35 | process = git-lfs filter-process 36 | [diff "jupyternotebook"] 37 | command = git-nbdiffdriver diff 38 | [url "git@gitlab.com:"] 39 | insteadOf = https://gitlab.com/ 40 | [init] 41 | defaultBranch = main 42 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # mac 2 | .DS_Store 3 | 4 | # python 5 | *.pyc 6 | 7 | # notebooks 8 | scratch.ipynb 9 | .ipynb_checkpoints 10 | 11 | # local 12 | .gnupg/*.asc 13 | .gnupg/*.gpg 14 | .gnupg/*.gpg~ 15 | .gnupg/random_seed 16 | .mail/ 17 | .mutt/solarized*.muttrc 18 | .netrwhist 19 | .vim/spell 20 | sasl.auth 21 | supervise 22 | tags 23 | .gnupg/ 24 | __pycache__/ 25 | 26 | # org 27 | TODO.org 28 | backlog.md 29 | backlog.txt 30 | todo.md 31 | todo.txt 32 | -------------------------------------------------------------------------------- /.gnupg/gpg-agent.conf: -------------------------------------------------------------------------------- 1 | pinentry-program /usr/local/MacGPG2/libexec/pinentry-mac.app/Contents/MacOS/pinentry-mac 2 | -------------------------------------------------------------------------------- /.gnupg/options: -------------------------------------------------------------------------------- 1 | keyserver zimmermann.mayfirst.org 2 | 3 | -------------------------------------------------------------------------------- /.hammerspoon/init.lua: -------------------------------------------------------------------------------- 1 | -- close all chrome tabs 2 | 3 | hs.hotkey.bind({"cmd", "alt", "ctrl"}, "j", function() 4 | local chrome = "Google Chrome" 5 | local app = hs.application.find(chrome) 6 | 7 | if app then 8 | app:kill() 9 | end 10 | 11 | hs.application.open(chrome) 12 | end) 13 | 14 | -- reload hammerspoon configuration 15 | 16 | hs.hotkey.bind({"cmd", "alt", "ctrl"}, "r", function() 17 | hs.reload() 18 | hs.alert.show("Config loaded") 19 | end) 20 | -------------------------------------------------------------------------------- /.inputrc: -------------------------------------------------------------------------------- 1 | $include /etc/inputrc 2 | set completion-ignore-case on 3 | set completion-map-case on 4 | set completion-prefix-display-length 2 5 | set convert-meta off 6 | set input-meta on 7 | set meta-flag on 8 | set output-meta on 9 | set show-all-if-ambiguous on 10 | set visible-stats on 11 | -------------------------------------------------------------------------------- /.install/install-apt: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | sudo apt-get -y install \ 4 | ack \ 5 | bitlbee \ 6 | cmake \ 7 | coreutils \ 8 | ctags \ 9 | emacs \ 10 | erlang \ 11 | gawk \ 12 | gfortran \ 13 | git \ 14 | gnupg \ 15 | gnuplot \ 16 | ifstat \ 17 | iftop \ 18 | irssi \ 19 | jasper \ 20 | lame \ 21 | leiningen \ 22 | llvm \ 23 | markdown \ 24 | msmtp \ 25 | mtr \ 26 | mutt \ 27 | nmap \ 28 | notmuch \ 29 | ocaml \ 30 | octave \ 31 | openvpn \ 32 | pv \ 33 | runit \ 34 | sbcl \ 35 | socat \ 36 | ssldump \ 37 | tcpflow \ 38 | tmux \ 39 | tree \ 40 | unrar \ 41 | watch \ 42 | wget \ 43 | x264 \ 44 | yasm \ 45 | zookeeper \ 46 | zsh 47 | -------------------------------------------------------------------------------- /.install/install-brew-bare: -------------------------------------------------------------------------------- 1 | brew tap homebrew/science 2 | 3 | brew install \ 4 | ack \ 5 | gfortran \ 6 | r 7 | 8 | brew install mutt --pgp-verbose-mime-patch --with-slang 9 | brew install \ 10 | ag \ 11 | contacts \ 12 | coreutils \ 13 | figlet \ 14 | golang \ 15 | gpg \ 16 | graphviz \ 17 | haskell-stack \ 18 | imagemagick \ 19 | jq \ 20 | pyenv \ 21 | rust \ 22 | terminal-notifier \ 23 | tmux \ 24 | tree \ 25 | 26 | -------------------------------------------------------------------------------- /.install/install-cabal: -------------------------------------------------------------------------------- 1 | cabal install elm 2 | cabal install elm-server 3 | 4 | -------------------------------------------------------------------------------- /.install/install-command-t: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cd ~/.vim/bundle/command-t/ruby/command-t 4 | ruby extconf.rb 5 | make clean && make && sudo make install 6 | -------------------------------------------------------------------------------- /.install/install-cpans: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cpan install Crypt::Blowfish 4 | cpan install Crypt::DH 5 | cpan install Crypt::OpenSSL::Bignum 6 | cpan install Graph::Easy 7 | cpan install Math::BigInt 8 | cpan install Math::BigInt::FastCalc 9 | cpan install Math::BigInt::GMP 10 | cpan install IPC::System::Simple 11 | 12 | -------------------------------------------------------------------------------- /.install/install-gems: -------------------------------------------------------------------------------- 1 | gem install terminal-notifier 2 | -------------------------------------------------------------------------------- /.install/install-julia: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | sudo add-apt-repository ppa:staticfloat/julianightlies 4 | sudo add-apt-repository ppa:staticfloat/julia-deps 5 | sudo apt-get update 6 | sudo apt-get install julia 7 | 8 | julia -e 'Pkg.add("Winston")' 9 | julia -e 'Pkg.add("Gadfly")' 10 | julia -e 'Pkg.add("PyPlot")' 11 | -------------------------------------------------------------------------------- /.install/install-linux: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | set -u 5 | 6 | # base 7 | apt-get update -qq 8 | apt-get -q -y install git zsh python-software-properties software-properties-common 9 | add-apt-repository -y ppa:dotcloud/lxc-docker 10 | apt-get update -qq 11 | apt-get install -q -y linux-image-extra-`uname -r` lxc-docker 12 | -------------------------------------------------------------------------------- /.install/install-soundflower: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | wget "http://soundflower.googlecode.com/files/Soundflower-1.6.2.1.dmg" 4 | -------------------------------------------------------------------------------- /.install/install-vim: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | set -u 5 | 6 | prefix=~/vim 7 | vimsrc=$prefix/src 8 | 9 | # get vim 10 | mkdir -p $vimsrc 11 | git clone https://github.com/vim/vim.git $vimsrc 12 | cd $vimsrc 13 | git pull 14 | 15 | # build and install vim 16 | ./configure --prefix=$prefix \ 17 | --with-features=huge \ 18 | --enable-multibyte \ 19 | --enable-rubyinterp=yes \ 20 | --enable-pythoninterp=yes \ 21 | --with-python-config-dir=/usr/lib/python2.7/config \ 22 | --enable-luainterp=yes 23 | 24 | make && make install 25 | 26 | # for ensime vim 27 | pip install websocket-client sexpdata 28 | -------------------------------------------------------------------------------- /.irbrc: -------------------------------------------------------------------------------- 1 | require 'rubygems' 2 | require 'interactive_editor' 3 | -------------------------------------------------------------------------------- /.irssi/scripts/autorun/przl-mentions.pl: -------------------------------------------------------------------------------- 1 | use strict; 2 | use Irssi; 3 | 4 | use vars qw($VERSION %IRSSI); 5 | 6 | $VERSION = '0.0.1'; 7 | 8 | %IRSSI = ( 9 | authors => 'Purzel Rakete', 10 | name => 'przl-signals', 11 | description => 'log mentions into mentions window', 12 | license => 'MIT' 13 | ); 14 | 15 | my $win = Irssi::window_find_name('mentions'); 16 | 17 | sub przl_mention { 18 | my ($channel, $nick, $msg) = @_; 19 | 20 | $win -> print("$channel \@$nick $msg", MSGLEVEL_CLIENTCRAP); 21 | } 22 | 23 | $win ? Irssi::signal_add('przl mention', 'przl_mention') : print("aborting"); 24 | 25 | -------------------------------------------------------------------------------- /.irssi/scripts/autorun/przl-notify.pl: -------------------------------------------------------------------------------- 1 | use strict; 2 | use Irssi; 3 | use IPC::System::Simple qw(capturex); 4 | 5 | use vars qw($VERSION %IRSSI); 6 | 7 | $VERSION = '0.0.1'; 8 | 9 | %IRSSI = ( 10 | authors => 'Purzel Rakete', 11 | name => 'przl-notify', 12 | description => 'notification on mentions', 13 | license => 'MIT' 14 | ); 15 | 16 | sub przl_mention { 17 | my ($channel, $nick, $msg) = @_; 18 | 19 | # untrusted content is escaped 20 | capturex('notify-desktop', ('--message', "\@$nick $msg")); 21 | } 22 | 23 | Irssi::signal_add('przl mention', 'przl_mention'); 24 | -------------------------------------------------------------------------------- /.irssi/scripts/autorun/przl-signals.pl: -------------------------------------------------------------------------------- 1 | use strict; 2 | use Irssi; 3 | 4 | use vars qw($VERSION %IRSSI); 5 | 6 | $VERSION = '0.0.1'; 7 | 8 | %IRSSI = ( 9 | authors => 'Purzel Rakete', 10 | name => 'przl-signals', 11 | description => 'custom signal emitter', 12 | license => 'MIT' 13 | ); 14 | 15 | my $me = 'przl|purzel|rany'; 16 | 17 | sub message_public { 18 | my ($server, $msg, $nick, $address, $channel) = @_; 19 | 20 | if($msg =~ m/$me/i) { 21 | Irssi::signal_emit('przl mention', $channel, $nick, $msg); 22 | } 23 | } 24 | 25 | sub message_private { 26 | my ($server, $msg, $nick, $address, $target) = @_; 27 | 28 | Irssi::signal_emit('przl mention', $nick, $nick, $msg); 29 | } 30 | 31 | # subscribe 32 | 33 | Irssi::signal_add_last("message public", "message_public"); 34 | Irssi::signal_add_last("message private", "message_private"); 35 | 36 | # publish 37 | 38 | Irssi::signal_register({ 'przl mention' => [qw/string string string/] }); 39 | 40 | -------------------------------------------------------------------------------- /.irssi/scripts/przl-mentions.pl: -------------------------------------------------------------------------------- 1 | use strict; 2 | use Irssi; 3 | 4 | use vars qw($VERSION %IRSSI); 5 | 6 | $VERSION = '0.0.1'; 7 | 8 | %IRSSI = ( 9 | authors => 'Purzel Rakete', 10 | name => 'przl-signals', 11 | description => 'log mentions into mentions window', 12 | license => 'MIT' 13 | ); 14 | 15 | my $win = Irssi::window_find_name('mentions'); 16 | 17 | sub przl_mention { 18 | my ($channel, $nick, $msg) = @_; 19 | 20 | $win -> print("$channel \@$nick $msg", MSGLEVEL_CLIENTCRAP); 21 | } 22 | 23 | $win ? Irssi::signal_add('przl mention', 'przl_mention') : print("aborting"); 24 | 25 | -------------------------------------------------------------------------------- /.irssi/scripts/przl-notify.pl: -------------------------------------------------------------------------------- 1 | use strict; 2 | use Irssi; 3 | use IPC::System::Simple qw(capturex); 4 | 5 | use vars qw($VERSION %IRSSI); 6 | 7 | $VERSION = '0.0.1'; 8 | 9 | %IRSSI = ( 10 | authors => 'Purzel Rakete', 11 | name => 'przl-notify', 12 | description => 'notification on mentions', 13 | license => 'MIT' 14 | ); 15 | 16 | sub przl_mention { 17 | my ($channel, $nick, $msg) = @_; 18 | 19 | # untrusted content is escaped 20 | capturex('notify-desktop', ('--message', "\@$nick $msg")); 21 | } 22 | 23 | Irssi::signal_add('przl mention', 'przl_mention'); 24 | -------------------------------------------------------------------------------- /.irssi/scripts/przl-signals.pl: -------------------------------------------------------------------------------- 1 | use strict; 2 | use Irssi; 3 | 4 | use vars qw($VERSION %IRSSI); 5 | 6 | $VERSION = '0.0.1'; 7 | 8 | %IRSSI = ( 9 | authors => 'Purzel Rakete', 10 | name => 'przl-signals', 11 | description => 'custom signal emitter', 12 | license => 'MIT' 13 | ); 14 | 15 | my $me = 'przl|purzel|rany'; 16 | 17 | sub message_public { 18 | my ($server, $msg, $nick, $address, $channel) = @_; 19 | 20 | if($msg =~ m/$me/i) { 21 | Irssi::signal_emit('przl mention', $channel, $nick, $msg); 22 | } 23 | } 24 | 25 | sub message_private { 26 | my ($server, $msg, $nick, $address, $target) = @_; 27 | 28 | Irssi::signal_emit('przl mention', $nick, $nick, $msg); 29 | } 30 | 31 | # subscribe 32 | 33 | Irssi::signal_add_last("message public", "message_public"); 34 | Irssi::signal_add_last("message private", "message_private"); 35 | 36 | # publish 37 | 38 | Irssi::signal_register({ 'przl mention' => [qw/string string string/] }); 39 | 40 | -------------------------------------------------------------------------------- /.linux: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | export JAVA_HOME=$(readlink -f /usr/bin/java | sed 's/.bin.java$//') 4 | export PATH=~/vim/bin:$PATH # use hand-build vim, if there. 5 | 6 | -------------------------------------------------------------------------------- /.mailrc: -------------------------------------------------------------------------------- 1 | set sendmail="/usr/bin/msmtp" 2 | 3 | -------------------------------------------------------------------------------- /.msmtprc: -------------------------------------------------------------------------------- 1 | defaults 2 | host smtp.gmail.com 3 | logfile ~/.msmtp.log 4 | port 587 5 | protocol smtp 6 | auth on 7 | tls on 8 | tls_trust_file ~/.mutt/gmail.cert 9 | 10 | account soundcloud 11 | from rany@soundcloud.com 12 | user rany@soundcloud.com 13 | passwordeval kc -a rany@soundcloud.com -s imap.gmail.com 14 | 15 | account purzelrakete 16 | from purzelrakete@gmail.com 17 | user purzelrakete@gmail.com 18 | passwordeval kc -a purzelrakete@gmail.com -s imap.gmail.com 19 | 20 | account playtype 21 | from rany@playtype.net 22 | user rany@playtype.net 23 | passwordeval kc -a rany@playtype.net -s imap.gmail.com 24 | 25 | account default : soundcloud 26 | 27 | -------------------------------------------------------------------------------- /.mutt/inboxes.b.muttrc: -------------------------------------------------------------------------------- 1 | mailboxes +purzelrakete/INBOX \ 2 | +playtype/INBOX 3 | 4 | -------------------------------------------------------------------------------- /.mutt/inboxes.s.muttrc: -------------------------------------------------------------------------------- 1 | mailboxes +purzelrakete/INBOX \ 2 | +playtype/INBOX \ 3 | +soundcloud/INBOX 4 | 5 | -------------------------------------------------------------------------------- /.mutt/mailcap: -------------------------------------------------------------------------------- 1 | # pdf 2 | application/pdf; open -a Preview %s && read; nametemplate=%s.pdf; 3 | 4 | # html 5 | text/html; mutt-open %s; nametemplate=%s.html; test=psg Chrome > /dev/null; 6 | text/html; w3m -dump %s; copiousoutput; nametemplate=%s.html; 7 | 8 | # images 9 | image/*; open -a Preview %s && read; nametempalte=%s; 10 | 11 | -------------------------------------------------------------------------------- /.mutt/sig.b: -------------------------------------------------------------------------------- 1 | Rany Keddo 2 | 3 | http://twitter.com/purzelrakete 4 | http://www.linkedin.com/profile/view?id=2028704 5 | 6 | -------------------------------------------------------------------------------- /.mutt/sig.s: -------------------------------------------------------------------------------- 1 | Rany Keddo 2 | Engineer 3 | 4 | http://soundcloud.com/rany 5 | http://twitter.com/purzelrakete 6 | 7 | SoundCloud Ltd. 8 | Rheinsberger Str. 76/77 9 | 10115 Berlin, Germany 10 | +49 (0)172 2345679 11 | 12 | Managing Director: Alexander Ljung 13 | Incorporated in England & Wales with Company No. 6343600 14 | Local Branch Office 15 | AG Charlottenburg 16 | HRB 110657B 17 | -------------------------------------------------------------------------------- /.newsbeuter/.gitignore: -------------------------------------------------------------------------------- 1 | cache* 2 | history* 3 | -------------------------------------------------------------------------------- /.newsbeuter/config: -------------------------------------------------------------------------------- 1 | # vim-like navigation 2 | 3 | bind-key j down 4 | bind-key k up 5 | bind-key h left 6 | bind-key l right 7 | bind-key m toggle-show-read-feeds 8 | 9 | # browser 10 | 11 | browser newsbeuter-open 12 | text-width 76 13 | 14 | # colors 15 | 16 | color background default default 17 | color listnormal default default 18 | color listfocus black magenta 19 | color info default black 20 | color article default default 21 | 22 | # highlights 23 | 24 | highlight article "^(Title):.*$" blue default 25 | highlight article "https?://[^ ]+" red default 26 | highlight article "\\[image\\ [0-9]+\\]" green default 27 | -------------------------------------------------------------------------------- /.notmuch-config: -------------------------------------------------------------------------------- 1 | [database] 2 | path=.mail 3 | 4 | [user] 5 | name=Rany Keddo 6 | primary_email=purzelrakete@gmail.com 7 | other_email=rany@playtype.net;rany@soundcloud.com; 8 | 9 | [new] 10 | tags=unread;inbox; 11 | ignore= 12 | 13 | [search] 14 | exclude_tags=deleted;spam; 15 | 16 | [maildir] 17 | synchronize_flags=true 18 | -------------------------------------------------------------------------------- /.octaverc: -------------------------------------------------------------------------------- 1 | PS1('>> '); 2 | graphics_toolkit ("fltk") 3 | -------------------------------------------------------------------------------- /.offlineimap.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | import keyring 4 | 5 | local = { 6 | 'all': '[Gmail]/All Mail', 7 | 'drafts': '[Gmail]/Drafts', 8 | 'important': '[Gmail]/Important', 9 | 'sent': '[Gmail]/Sent Mail', 10 | 'spam': '[Gmail]/Spam', 11 | 'starred': '[Gmail]/Starred', 12 | 'trash': '[Gmail]/Trash' 13 | } 14 | 15 | remote = { v:k for k, v in local.items() } 16 | filters = [local[key] for key in ['important', 'spam', 'trash']] 17 | 18 | def filter_remote_gmail(folder): 19 | return folder not in filters 20 | 21 | def keychain(service, account): 22 | return keyring.get_password(service, account) 23 | 24 | def trans_local_gmail(folder): 25 | return local.get(folder, folder) 26 | 27 | def trans_remote_gmail(folder): 28 | return remote.get(folder, folder) 29 | 30 | -------------------------------------------------------------------------------- /.osx: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | daemons="/System/Library/LaunchDaemons" 4 | 5 | alias mds_disable="sudo launchctl unload -w $daemons/com.apple.metadata.mds.plist" 6 | alias mds_enable="sudo launchctl load -w $daemons/com.apple.metadata.mds.plist" 7 | 8 | alias e='emacs' 9 | alias irssi='irssi-customized' 10 | alias m='mutt' 11 | alias s='soywiki' 12 | alias vim='nvim' 13 | alias v=vim 14 | alias macdown='open -a macdown' 15 | 16 | export PATH=$PATH:/usr/X11/bin 17 | 18 | # java 19 | export JAVA_8_HOME=$(/usr/libexec/java_home -v1.8) 20 | alias java8='export JAVA_HOME=$JAVA_8_HOME' 21 | export JAVA_HOME=$JAVA_8_HOME 22 | -------------------------------------------------------------------------------- /.rdebugrc: -------------------------------------------------------------------------------- 1 | set autolist 2 | set autoeval 3 | set autoreload 4 | set forcestep 5 | set history save 6 | set listsize 50 7 | -------------------------------------------------------------------------------- /.screenrc: -------------------------------------------------------------------------------- 1 | # no copyright 2 | startup_message off 3 | 4 | # scrollback 5 | defscrollback 50000 6 | 7 | # wooff off 8 | vbell off 9 | 10 | # utf-8 11 | defutf8 on 12 | 13 | # caption 14 | caption always '%{= r}sc:%H %= %{w}%-LW%{-} %{= b}%n:%t*%{-} %{w}%+LW%{-}%= %{w}%d.%m.%Y %{= K}%c' 15 | -------------------------------------------------------------------------------- /.vagrant/.gitignore: -------------------------------------------------------------------------------- 1 | .vagrant/ 2 | -------------------------------------------------------------------------------- /.vagrant/Julia: -------------------------------------------------------------------------------- 1 | # -*- mode: ruby -*- 2 | # vi: set ft=ruby : 3 | 4 | Vagrant.configure("2") do |config| 5 | config.vm.box = "raring64" 6 | config.vm.box_url = "http://cloud-images.ubuntu.com/raring/current/raring-server-cloudimg-vagrant-amd64-disk1.box" 7 | config.vm.network :private_network, ip: "192.168.33.10" 8 | config.vm.synced_folder "vagrant_data", "/vagrant_data" 9 | config.ssh.forward_agent = true 10 | 11 | config.vm.provider :virtualbox do |vb| 12 | vb.customize ["modifyvm", :id, "--memory", "2048"] 13 | config.vm.provision :shell, :inline => File.read("dotfiles/.install/install-linux") 14 | end 15 | end 16 | -------------------------------------------------------------------------------- /.vagrant/Vagrantfile: -------------------------------------------------------------------------------- 1 | # -*- mode: ruby -*- 2 | # vi: set ft=ruby : 3 | 4 | Vagrant.configure("2") do |config| 5 | config.vm.box = "raring64" 6 | config.ssh.forward_agent = true 7 | config.ssh.forward_x11 = true 8 | config.vm.provider :virtualbox do |vb| 9 | vb.customize ["modifyvm", :id, "--memory", "1024"] 10 | end 11 | 12 | script = File.read(File.expand_path("~/dotfiles/.install/install-linux")) 13 | config.vm.provision :shell, :inline => script 14 | end 15 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-cmp-lsp/after/plugin/cmp_nvim_lsp.lua: -------------------------------------------------------------------------------- 1 | require('cmp_nvim_lsp').setup() 2 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-cmp/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [hrsh7th] 4 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-cmp/.gitignore: -------------------------------------------------------------------------------- 1 | doc/tags 2 | utils/stylua 3 | 4 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-cmp/.luacheckrc: -------------------------------------------------------------------------------- 1 | globals = { 'vim', 'describe', 'it', 'before_each', 'after_each', 'assert', 'async' } 2 | max_line_length = false 3 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-cmp/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: fmt 2 | fmt: 3 | stylua --config-path stylua.toml --glob 'lua/**/*.lua' -- lua 4 | 5 | .PHONY: lint 6 | lint: 7 | luacheck ./lua 8 | 9 | .PHONY: test 10 | test: 11 | vusted --output=gtest ./lua 12 | 13 | .PHONY: pre-commit 14 | pre-commit: 15 | ./utils/stylua --config-path stylua.toml --glob 'lua/**/*.lua' -- lua 16 | luacheck lua 17 | vusted lua 18 | 19 | .PHONY: integration 20 | integration: 21 | ./utils/stylua --config-path stylua.toml --check --glob 'lua/**/*.lua' -- lua 22 | luacheck lua 23 | vusted lua 24 | 25 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-cmp/init.sh: -------------------------------------------------------------------------------- 1 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" 2 | 3 | rm $DIR/.git/hooks/* 4 | cp $DIR/.githooks/* $DIR/.git/hooks/ 5 | chmod 755 $DIR/.git/hooks/* 6 | 7 | 8 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-cmp/lua/cmp/config/sources.lua: -------------------------------------------------------------------------------- 1 | return function(...) 2 | local sources = {} 3 | for i, group in ipairs({ ... }) do 4 | for _, source in ipairs(group) do 5 | source.group_index = i 6 | table.insert(sources, source) 7 | end 8 | end 9 | return sources 10 | end 11 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-cmp/lua/cmp/types/init.lua: -------------------------------------------------------------------------------- 1 | local types = {} 2 | 3 | types.cmp = require('cmp.types.cmp') 4 | types.lsp = require('cmp.types.lsp') 5 | types.vim = require('cmp.types.vim') 6 | 7 | return types 8 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-cmp/lua/cmp/types/vim.lua: -------------------------------------------------------------------------------- 1 | ---@class vim.CompletedItem 2 | ---@field public word string 3 | ---@field public abbr string|nil 4 | ---@field public kind string|nil 5 | ---@field public menu string|nil 6 | ---@field public equal "1"|nil 7 | ---@field public empty "1"|nil 8 | ---@field public dup "1"|nil 9 | ---@field public id any 10 | ---@field public abbr_hl_group string|nil 11 | ---@field public kind_hl_group string|nil 12 | ---@field public menu_hl_group string|nil 13 | 14 | ---@class vim.Position 15 | ---@field public row number 16 | ---@field public col number 17 | 18 | ---@class vim.Range 19 | ---@field public start vim.Position 20 | ---@field public end vim.Position 21 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-cmp/lua/cmp/utils/autocmd.lua: -------------------------------------------------------------------------------- 1 | local debug = require('cmp.utils.debug') 2 | 3 | local autocmd = {} 4 | 5 | autocmd.events = {} 6 | 7 | ---Subscribe autocmd 8 | ---@param event string 9 | ---@param callback function 10 | ---@return function 11 | autocmd.subscribe = function(event, callback) 12 | autocmd.events[event] = autocmd.events[event] or {} 13 | table.insert(autocmd.events[event], callback) 14 | return function() 15 | for i, callback_ in ipairs(autocmd.events[event]) do 16 | if callback_ == callback then 17 | table.remove(autocmd.events[event], i) 18 | break 19 | end 20 | end 21 | end 22 | end 23 | 24 | ---Emit autocmd 25 | ---@param event string 26 | autocmd.emit = function(event) 27 | debug.log(' ') 28 | debug.log(string.format('>>> %s', event)) 29 | autocmd.events[event] = autocmd.events[event] or {} 30 | for _, callback in ipairs(autocmd.events[event]) do 31 | callback() 32 | end 33 | end 34 | 35 | return autocmd 36 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-cmp/lua/cmp/utils/binary.lua: -------------------------------------------------------------------------------- 1 | local binary = {} 2 | 3 | ---Insert item to list to ordered index 4 | ---@param list any[] 5 | ---@param item any 6 | ---@param func fun(a: any, b: any): "1"|"-1"|"0" 7 | binary.insort = function(list, item, func) 8 | table.insert(list, binary.search(list, item, func), item) 9 | end 10 | 11 | ---Search suitable index from list 12 | ---@param list any[] 13 | ---@param item any 14 | ---@param func fun(a: any, b: any): "1"|"-1"|"0" 15 | ---@return number 16 | binary.search = function(list, item, func) 17 | local s = 1 18 | local e = #list 19 | while s <= e do 20 | local idx = math.floor((e + s) / 2) 21 | local diff = func(item, list[idx]) 22 | if diff > 0 then 23 | s = idx + 1 24 | elseif diff < 0 then 25 | e = idx - 1 26 | else 27 | return idx + 1 28 | end 29 | end 30 | return s 31 | end 32 | 33 | return binary 34 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-cmp/lua/cmp/utils/buffer.lua: -------------------------------------------------------------------------------- 1 | local buffer = {} 2 | 3 | buffer.cache = {} 4 | 5 | ---@return number buf 6 | buffer.get = function(name) 7 | local buf = buffer.cache[name] 8 | if buf and vim.api.nvim_buf_is_valid(buf) then 9 | return buf 10 | else 11 | return nil 12 | end 13 | end 14 | 15 | ---@return number buf 16 | ---@return boolean created_new 17 | buffer.ensure = function(name) 18 | local created_new = false 19 | local buf = buffer.get(name) 20 | if not buf then 21 | created_new = true 22 | buf = vim.api.nvim_create_buf(false, true) 23 | vim.api.nvim_buf_set_option(buf, 'buftype', 'nofile') 24 | vim.api.nvim_buf_set_option(buf, 'bufhidden', 'hide') 25 | buffer.cache[name] = buf 26 | end 27 | return buf, created_new 28 | end 29 | 30 | return buffer 31 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-cmp/lua/cmp/utils/debug.lua: -------------------------------------------------------------------------------- 1 | local debug = {} 2 | 3 | debug.flag = false 4 | 5 | ---Print log 6 | ---@vararg any 7 | debug.log = function(...) 8 | if debug.flag then 9 | local data = {} 10 | for _, v in ipairs({ ... }) do 11 | if not vim.tbl_contains({ 'string', 'number', 'boolean' }, type(v)) then 12 | v = vim.inspect(v) 13 | end 14 | table.insert(data, v) 15 | end 16 | print(table.concat(data, '\t')) 17 | end 18 | end 19 | 20 | return debug 21 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-cmp/lua/cmp/utils/pattern.lua: -------------------------------------------------------------------------------- 1 | local pattern = {} 2 | 3 | pattern._regexes = {} 4 | 5 | pattern.regex = function(p) 6 | if not pattern._regexes[p] then 7 | pattern._regexes[p] = vim.regex(p) 8 | end 9 | return pattern._regexes[p] 10 | end 11 | 12 | pattern.offset = function(p, text) 13 | local s, e = pattern.regex(p):match_str(text) 14 | if s then 15 | return s + 1, e + 1 16 | end 17 | return nil, nil 18 | end 19 | 20 | pattern.matchstr = function(p, text) 21 | local s, e = pattern.offset(p, text) 22 | if s then 23 | return string.sub(text, s, e) 24 | end 25 | return nil 26 | end 27 | 28 | return pattern 29 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-cmp/stylua.toml: -------------------------------------------------------------------------------- 1 | indent_type = "Spaces" 2 | indent_width = 2 3 | column_width = 1200 4 | quote_style = "AutoPreferSingle" 5 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/.codespellignorewords: -------------------------------------------------------------------------------- 1 | als 2 | edn 3 | esy 4 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 2 6 | tab_width = 8 7 | end_of_line = lf 8 | insert_final_newline = true 9 | charset = utf-8 10 | 11 | [*.lua] 12 | indent_style = space 13 | indent_size = 2 14 | 15 | [{Makefile,**/Makefile,runtime/doc/*.txt}] 16 | indent_style = tab 17 | indent_size = 8 18 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | contact_links: 3 | - name: Question 4 | url: https://neovim.discourse.group/c/language-server-protocol-lsp/7 5 | about: Usage questions and support requests are answered in the Neovim Discourse 6 | 7 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/.github/ISSUE_TEMPLATE/feature_request.yml: -------------------------------------------------------------------------------- 1 | name: Feature request 2 | description: Request a feature in nvim-lspconfig 3 | labels: [enhancement] 4 | body: 5 | - type: markdown 6 | attributes: 7 | value: | 8 | Before requesting a new feature, search existing issues. Implementation of the language server protocol itself is located in the neovim core repository, and general feature requests may be better suited for core. 9 | - type: input 10 | attributes: 11 | label: "Language server" 12 | description: "Is the feature specific to a language server? If so, which one(s)?" 13 | placeholder: "clangd" 14 | - type: textarea 15 | attributes: 16 | label: "Requested feature" 17 | validations: 18 | required: true 19 | - type: input 20 | attributes: 21 | label: "Other clients which have this feature" 22 | description: "Is the feature already implemented in another LSP client for (Neo)Vim? If so, which one(s)?" 23 | placeholder: "vim-lsp" 24 | 25 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Pull Request 3 | about: Submit a pull request 4 | title: '' 5 | --- 6 | 7 | 12 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/.github/ci/run_sanitizer.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -e 3 | 4 | REF_BRANCH="$1" 5 | PR_BRANCH="$2" 6 | 7 | # checks for added lines that contain search pattern and prints them 8 | SEARCH_PATTERN="(dirname|fn\.cwd)" 9 | 10 | if git diff --pickaxe-all -U0 -G "${SEARCH_PATTERN}" "${REF_BRANCH}" "${PR_BRANCH}" -- '*.lua' | grep -Ev '(configs|utils)\.lua$' | grep -E "^\+.*${SEARCH_PATTERN}" ; then 11 | echo 12 | echo 'String "dirname" found. There is a high risk that this might contradict the directive:' 13 | echo '"Do not add vim.fn.cwd or util.path.dirname in root_dir".' 14 | echo "see: https://github.com/neovim/nvim-lspconfig/blob/master/CONTRIBUTING.md#adding-a-server-to-lspconfig." 15 | exit 1 16 | fi 17 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/.github/workflows/codespell.yml: -------------------------------------------------------------------------------- 1 | name: codespell 2 | on: [pull_request] 3 | jobs: 4 | codespell: 5 | runs-on: ubuntu-latest 6 | steps: 7 | - uses: actions/checkout@v2 8 | - name: Install codespell 9 | run: pip install codespell 10 | - name: Use codespell 11 | run: codespell --quiet-level=2 --check-hidden --skip=./doc/server_configurations.md,./doc/server_configurations.txt --ignore-words=.codespellignorewords 12 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/.github/workflows/commit_lint.yml: -------------------------------------------------------------------------------- 1 | on: [pull_request] 2 | jobs: 3 | lint-commits: 4 | runs-on: ubuntu-latest 5 | steps: 6 | - uses: actions/checkout@v2 7 | with: 8 | fetch-depth: 0 9 | - run: npm install --save-dev @commitlint/{cli,config-conventional} 10 | - run: | 11 | echo "module.exports = { extends: ['@commitlint/config-conventional'] };" > commitlint.config.js 12 | - run: npx commitlint --from HEAD~1 --to HEAD --verbose 13 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/.github/workflows/docgen.yml: -------------------------------------------------------------------------------- 1 | name: docgen 2 | 3 | on: 4 | push: 5 | branches: 6 | - master 7 | 8 | jobs: 9 | docgen: 10 | runs-on: ubuntu-latest 11 | permissions: 12 | contents: write 13 | steps: 14 | - uses: actions/checkout@v2 15 | - uses: rhysd/action-setup-vim@v1 16 | with: 17 | neovim: true 18 | version: nightly 19 | - name: Run docgen 20 | run: | 21 | scripts/docgen.sh 22 | - name: Commit changes 23 | env: 24 | COMMIT_MSG: | 25 | docs: update server_configurations.md 26 | skip-checks: true 27 | run: | 28 | git config user.name github-actions 29 | git config user.email github-actions@github.com 30 | git add doc/server_configurations.md doc/server_configurations.txt 31 | # Only commit and push if we have changes 32 | git diff --quiet && git diff --staged --quiet || (git commit -m "${COMMIT_MSG}"; git push) 33 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/.github/workflows/feature-branch-check.yml: -------------------------------------------------------------------------------- 1 | name: Close Non-Feature Branches 2 | 3 | on: 4 | pull_request_target: 5 | branches: 6 | - master 7 | 8 | jobs: 9 | close-master-branch: 10 | runs-on: ubuntu-latest 11 | permissions: 12 | pull-requests: write 13 | env: 14 | PR_NUMBER: ${{ github.event.pull_request.number }} 15 | GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} 16 | steps: 17 | 18 | - uses: actions/checkout@v2 19 | with: 20 | fetch-depth: 0 21 | ref: ${{ github.event.pull_request.head.sha }} 22 | 23 | - name: Close if master branch 24 | if: ${{ github.head_ref == 'master' }} 25 | run: | 26 | gh pr close $PR_NUMBER 27 | gh pr comment $PR_NUMBER --body "This pull request has been automatically closed. Please develop on a feature branch. Thank you." 28 | exit 1 29 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/.github/workflows/problem_matchers/selene.json: -------------------------------------------------------------------------------- 1 | { 2 | "problemMatcher": [ 3 | { 4 | "owner": "selene-error", 5 | "severity": "error", 6 | "pattern": [ 7 | { 8 | "regexp": "^([^:]+):(\\d+):(\\d+):\\serror(.*)$", 9 | "file": 1, 10 | "line": 2, 11 | "column": 3, 12 | "message": 4 13 | } 14 | ] 15 | }, 16 | { 17 | "owner": "selene-warning", 18 | "severity": "warning", 19 | "pattern": [ 20 | { 21 | "regexp": "^([^:]+):(\\d+):(\\d+):\\swarning(.*)$", 22 | "file": 1, 23 | "line": 2, 24 | "column": 3, 25 | "message": 4 26 | } 27 | ] 28 | } 29 | ] 30 | } 31 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/.github/workflows/sanitizer.yml: -------------------------------------------------------------------------------- 1 | name: "Dirname Checker" 2 | on: [pull_request] 3 | jobs: 4 | disallowed-root-checker: 5 | runs-on: ubuntu-latest 6 | env: 7 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 8 | steps: 9 | - uses: actions/checkout@v2 10 | with: 11 | fetch-depth: 0 12 | - run: | 13 | if ! bash .github/ci/run_sanitizer.sh ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }}; then 14 | exit 1 15 | fi 16 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/.gitignore: -------------------------------------------------------------------------------- 1 | .luacheckcache 2 | neovim 3 | doc/tags 4 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/.luacheckrc: -------------------------------------------------------------------------------- 1 | -- vim: ft=lua tw=80 2 | 3 | -- Rerun tests only if their modification time changed. 4 | cache = true 5 | 6 | ignore = { 7 | "212", -- Unused argument, In the case of callback function, _arg_name is easier to understand than _, so this option is set to off. 8 | "631", -- max_line_length, vscode pkg URL is too long 9 | } 10 | 11 | -- Global objects defined by the C code 12 | read_globals = { 13 | "vim", 14 | } 15 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/.stylua.toml: -------------------------------------------------------------------------------- 1 | column_width = 120 2 | line_endings = "Unix" 3 | indent_type = "Spaces" 4 | indent_width = 2 5 | quote_style = "AutoPreferSingle" 6 | no_call_parentheses = true 7 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/CONFIG.md: -------------------------------------------------------------------------------- 1 | Notice: CONFIG.md was moved to [doc/server_configurations.md](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md). This notice will be removed after the release of neovim 0.6. 2 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/Makefile: -------------------------------------------------------------------------------- 1 | test: 2 | sh ./scripts/run_test.sh 3 | 4 | lint: 5 | @printf "\nRunning luacheck\n" 6 | luacheck lua/* test/* 7 | @printf "\nRunning selene\n" 8 | selene --display-style=quiet . 9 | @printf "\nRunning stylua\n" 10 | stylua --check . 11 | 12 | .PHONY: test lint 13 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/flake.nix: -------------------------------------------------------------------------------- 1 | { 2 | description = "Quickstart configurations for the Nvim LSP client"; 3 | 4 | inputs.flake-utils.url = "github:numtide/flake-utils"; 5 | 6 | outputs = { self, nixpkgs, flake-utils }: 7 | flake-utils.lib.eachDefaultSystem (system: 8 | let pkgs = nixpkgs.legacyPackages.${system}; in 9 | rec { 10 | devShell = pkgs.mkShell { 11 | buildInputs = [ 12 | pkgs.stylua 13 | pkgs.luaPackages.luacheck 14 | pkgs.selene 15 | ]; 16 | }; 17 | } 18 | ); 19 | } 20 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/asm_lsp.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'asm-lsp' }, 6 | filetypes = { 'asm', 'vmasm' }, 7 | root_dir = util.find_git_ancestor, 8 | }, 9 | docs = { 10 | description = [[ 11 | https://github.com/bergercookie/asm-lsp 12 | 13 | Language Server for GAS/GO Assembly 14 | 15 | `asm-lsp` can be installed via cargo: 16 | cargo install asm-lsp 17 | ]], 18 | }, 19 | } 20 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/awk_ls.lua: -------------------------------------------------------------------------------- 1 | if vim.version().major == 0 and vim.version().minor < 7 then 2 | vim.notify('The AWK language server requires nvim >= 0.7', vim.log.levels.ERROR) 3 | return 4 | end 5 | 6 | return { 7 | default_config = { 8 | cmd = { 'awk-language-server' }, 9 | filetypes = { 'awk' }, 10 | single_file_support = true, 11 | }, 12 | docs = { 13 | description = [[ 14 | https://github.com/Beaglefoot/awk-language-server/ 15 | 16 | `awk-language-server` can be installed via `npm`: 17 | ```sh 18 | npm install -g awk-language-server 19 | ``` 20 | ]], 21 | }, 22 | } 23 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/beancount.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'beancount-langserver' }, 6 | filetypes = { 'beancount' }, 7 | root_dir = util.find_git_ancestor, 8 | single_file_support = true, 9 | init_options = { 10 | -- this is the path to the beancout journal file 11 | journalFile = '', 12 | -- this is the path to the python binary with beancount installed 13 | pythonPath = 'python3', 14 | }, 15 | }, 16 | docs = { 17 | description = [[ 18 | https://github.com/polarmutex/beancount-language-server#installation 19 | 20 | See https://github.com/polarmutex/beancount-language-server#configuration for configuration options 21 | ]], 22 | default_config = { 23 | root_dir = [[root_pattern("elm.json")]], 24 | }, 25 | }, 26 | } 27 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/bsl_ls.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | filetypes = { 'bsl', 'os' }, 6 | root_dir = util.find_git_ancestor, 7 | }, 8 | docs = { 9 | description = [[ 10 | https://github.com/1c-syntax/bsl-language-server 11 | 12 | Language Server Protocol implementation for 1C (BSL) - 1C:Enterprise 8 and OneScript languages. 13 | 14 | ]], 15 | default_config = { 16 | root_dir = [[root_pattern(".git")]], 17 | }, 18 | }, 19 | } 20 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/clojure_lsp.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'clojure-lsp' }, 6 | filetypes = { 'clojure', 'edn' }, 7 | root_dir = util.root_pattern('project.clj', 'deps.edn', 'build.boot', 'shadow-cljs.edn', '.git'), 8 | }, 9 | docs = { 10 | description = [[ 11 | https://github.com/snoe/clojure-lsp 12 | 13 | Clojure Language Server 14 | ]], 15 | default_config = { 16 | root_dir = [[root_pattern("project.clj", "deps.edn", "build.boot", "shadow-cljs.edn", ".git")]], 17 | }, 18 | }, 19 | } 20 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/cmake.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'cmake-language-server' }, 6 | filetypes = { 'cmake' }, 7 | root_dir = util.root_pattern('.git', 'compile_commands.json', 'build'), 8 | single_file_support = true, 9 | init_options = { 10 | buildDirectory = 'build', 11 | }, 12 | }, 13 | docs = { 14 | description = [[ 15 | https://github.com/regen100/cmake-language-server 16 | 17 | CMake LSP Implementation 18 | ]], 19 | default_config = { 20 | root_dir = [[root_pattern(".git", "compile_commands.json", "build") or dirname]], 21 | }, 22 | }, 23 | } 24 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/crystalline.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'crystalline' }, 6 | filetypes = { 'crystal' }, 7 | root_dir = util.root_pattern 'shard.yml' or util.find_git_ancestor, 8 | single_file_support = true, 9 | }, 10 | docs = { 11 | description = [[ 12 | https://github.com/elbywan/crystalline 13 | 14 | Crystal language server. 15 | ]], 16 | default_config = { 17 | root_dir = [[root_pattern('shard.yml', '.git') or dirname]], 18 | }, 19 | }, 20 | } 21 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/csharp_ls.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'csharp-ls' }, 6 | root_dir = util.root_pattern('*.sln', '*.csproj', '.git'), 7 | filetypes = { 'cs' }, 8 | init_options = { 9 | AutomaticWorkspaceInit = true, 10 | }, 11 | }, 12 | docs = { 13 | description = [[ 14 | https://github.com/razzmatazz/csharp-language-server 15 | 16 | Language Server for C#. 17 | 18 | csharp-ls requires the [dotnet-sdk](https://dotnet.microsoft.com/download) to be installed. 19 | 20 | The preferred way to install csharp-ls is with `dotnet tool install --global csharp-ls`. 21 | ]], 22 | }, 23 | } 24 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/cssmodules_ls.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | local bin_name = 'cssmodules-language-server' 4 | local cmd = { bin_name } 5 | 6 | if vim.fn.has 'win32' == 1 then 7 | cmd = { 'cmd.exe', '/C', bin_name } 8 | end 9 | 10 | return { 11 | default_config = { 12 | cmd = cmd, 13 | filetypes = { 'javascript', 'javascriptreact', 'typescript', 'typescriptreact' }, 14 | root_dir = util.find_package_json_ancestor, 15 | }, 16 | docs = { 17 | description = [[ 18 | https://github.com/antonk52/cssmodules-language-server 19 | 20 | Language server for autocompletion and go-to-definition functionality for CSS modules. 21 | 22 | You can install cssmodules-language-server via npm: 23 | ```sh 24 | npm install -g cssmodules-language-server 25 | ``` 26 | ]], 27 | default_config = { 28 | root_dir = [[root_pattern("package.json")]], 29 | }, 30 | }, 31 | } 32 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/cucumber_language_server.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | local bin_name = 'cucumber-language-server' 4 | local cmd = { bin_name, '--stdio' } 5 | 6 | if vim.fn.has 'win32' == 1 then 7 | cmd = { 'cmd.exe', '/C', bin_name, '--stdio' } 8 | end 9 | 10 | return { 11 | default_config = { 12 | cmd = cmd, 13 | filetypes = { 'cucumber' }, 14 | root_dir = util.find_git_ancestor, 15 | }, 16 | docs = { 17 | description = [[ 18 | https://cucumber.io 19 | https://github.com/cucumber/common 20 | https://www.npmjs.com/package/@cucumber/language-server 21 | 22 | Language server for Cucumber. 23 | 24 | `cucumber-language-server` can be installed via `npm`: 25 | ```sh 26 | npm install -g @cucumber/language-server 27 | ``` 28 | ]], 29 | default_config = { 30 | root_dir = [[util.find_git_ancestor]], 31 | }, 32 | }, 33 | } 34 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/dhall_lsp_server.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'dhall-lsp-server' }, 6 | filetypes = { 'dhall' }, 7 | root_dir = util.find_git_ancestor, 8 | single_file_support = true, 9 | }, 10 | docs = { 11 | description = [[ 12 | https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-lsp-server 13 | 14 | language server for dhall 15 | 16 | `dhall-lsp-server` can be installed via cabal: 17 | ```sh 18 | cabal install dhall-lsp-server 19 | ``` 20 | prebuilt binaries can be found [here](https://github.com/dhall-lang/dhall-haskell/releases). 21 | ]], 22 | default_config = { 23 | root_dir = [[root_pattern(".git") or dirname]], 24 | }, 25 | }, 26 | } 27 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/diagnosticls.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | local bin_name = 'diagnostic-languageserver' 4 | local cmd = { bin_name, '--stdio' } 5 | 6 | if vim.fn.has 'win32' == 1 then 7 | cmd = { 'cmd.exe', '/C', bin_name, '--stdio' } 8 | end 9 | 10 | return { 11 | default_config = { 12 | cmd = cmd, 13 | root_dir = util.find_git_ancestor, 14 | single_file_support = true, 15 | filetypes = {}, 16 | }, 17 | docs = { 18 | description = [[ 19 | https://github.com/iamcco/diagnostic-languageserver 20 | 21 | Diagnostic language server integrate with linters. 22 | ]], 23 | default_config = { 24 | filetypes = 'Empty by default, override to add filetypes', 25 | root_dir = "Vim's starting directory", 26 | init_options = 'Configuration from https://github.com/iamcco/diagnostic-languageserver#config--document', 27 | }, 28 | }, 29 | } 30 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/dockerls.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | local bin_name = 'docker-langserver' 4 | local cmd = { bin_name, '--stdio' } 5 | 6 | if vim.fn.has 'win32' == 1 then 7 | cmd = { 'cmd.exe', '/C', bin_name, '--stdio' } 8 | end 9 | 10 | return { 11 | default_config = { 12 | cmd = cmd, 13 | filetypes = { 'dockerfile' }, 14 | root_dir = util.root_pattern 'Dockerfile', 15 | single_file_support = true, 16 | }, 17 | docs = { 18 | description = [[ 19 | https://github.com/rcjsuen/dockerfile-language-server-nodejs 20 | 21 | `docker-langserver` can be installed via `npm`: 22 | ```sh 23 | npm install -g dockerfile-language-server-nodejs 24 | ``` 25 | ]], 26 | default_config = { 27 | root_dir = [[root_pattern("Dockerfile")]], 28 | }, 29 | }, 30 | } 31 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/dotls.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | local bin_name = 'dot-language-server' 4 | local cmd = { bin_name, '--stdio' } 5 | 6 | if vim.fn.has 'win32' == 1 then 7 | cmd = { 'cmd.exe', '/C', bin_name, '--stdio' } 8 | end 9 | 10 | return { 11 | default_config = { 12 | cmd = cmd, 13 | filetypes = { 'dot' }, 14 | root_dir = util.find_git_ancestor, 15 | single_file_support = true, 16 | }, 17 | docs = { 18 | description = [[ 19 | https://github.com/nikeee/dot-language-server 20 | 21 | `dot-language-server` can be installed via `npm`: 22 | ```sh 23 | npm install -g dot-language-server 24 | ``` 25 | ]], 26 | }, 27 | } 28 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/ember.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | local bin_name = 'ember-language-server' 4 | local cmd = { bin_name, '--stdio' } 5 | 6 | if vim.fn.has 'win32' == 1 then 7 | cmd = { 'cmd.exe', '/C', bin_name, '--stdio' } 8 | end 9 | 10 | return { 11 | default_config = { 12 | cmd = cmd, 13 | filetypes = { 'handlebars', 'typescript', 'javascript' }, 14 | root_dir = util.root_pattern('ember-cli-build.js', '.git'), 15 | }, 16 | docs = { 17 | description = [[ 18 | https://github.com/lifeart/ember-language-server 19 | 20 | `ember-language-server` can be installed via `npm`: 21 | 22 | ```sh 23 | npm install -g @lifeart/ember-language-server 24 | ``` 25 | ]], 26 | default_config = { 27 | root_dir = [[root_pattern("ember-cli-build.js", ".git")]], 28 | }, 29 | }, 30 | } 31 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/emmet_ls.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | local bin_name = 'emmet-ls' 4 | local cmd = { bin_name, '--stdio' } 5 | 6 | if vim.fn.has 'win32' == 1 then 7 | cmd = { 'cmd.exe', '/C', bin_name, '--stdio' } 8 | end 9 | 10 | return { 11 | default_config = { 12 | cmd = cmd, 13 | filetypes = { 'html', 'css' }, 14 | root_dir = util.find_git_ancestor, 15 | single_file_support = true, 16 | }, 17 | docs = { 18 | description = [[ 19 | https://github.com/aca/emmet-ls 20 | 21 | Package can be installed via `npm`: 22 | ```sh 23 | npm install -g emmet-ls 24 | ``` 25 | ]], 26 | default_config = { 27 | root_dir = 'git root', 28 | single_file_support = true, 29 | }, 30 | }, 31 | } 32 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/flow.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'npx', '--no-install', 'flow', 'lsp' }, 6 | filetypes = { 'javascript', 'javascriptreact', 'javascript.jsx' }, 7 | root_dir = util.root_pattern '.flowconfig', 8 | }, 9 | docs = { 10 | package_json = 'https://raw.githubusercontent.com/flowtype/flow-for-vscode/master/package.json', 11 | description = [[ 12 | https://flow.org/ 13 | https://github.com/facebook/flow 14 | 15 | See below for how to setup Flow itself. 16 | https://flow.org/en/docs/install/ 17 | 18 | See below for lsp command options. 19 | 20 | ```sh 21 | npx flow lsp --help 22 | ``` 23 | ]], 24 | default_config = { 25 | root_dir = [[root_pattern(".flowconfig")]], 26 | }, 27 | }, 28 | } 29 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/flux_lsp.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'flux-lsp' }, 6 | filetypes = { 'flux' }, 7 | root_dir = util.find_git_ancestor, 8 | single_file_support = true, 9 | }, 10 | docs = { 11 | description = [[ 12 | https://github.com/influxdata/flux-lsp 13 | `flux-lsp` can be installed via `cargo`: 14 | ```sh 15 | cargo install --git https://github.com/influxdata/flux-lsp 16 | ``` 17 | ]], 18 | default_config = { 19 | root_dir = [[util.find_git_ancestor]], 20 | }, 21 | }, 22 | } 23 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/foam_ls.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | local bin_name = 'foam-ls' 3 | local cmd = { bin_name, '--stdio' } 4 | 5 | if vim.fn.has 'win32' == 1 then 6 | cmd = { 'cmd.exe', '/C', bin_name, '--stdio' } 7 | end 8 | 9 | return { 10 | default_config = { 11 | cmd = cmd, 12 | filetypes = { 'foam', 'OpenFOAM' }, 13 | root_dir = function(fname) 14 | return util.search_ancestors(fname, function(path) 15 | if util.path.exists(util.path.join(path, 'system', 'controlDict')) then 16 | return path 17 | end 18 | end) 19 | end, 20 | }, 21 | docs = { 22 | package_json = 'https://raw.githubusercontent.com/FoamScience/foam-language-server/master/package.json', 23 | description = [[ 24 | https://github.com/FoamScience/foam-language-server 25 | 26 | `foam-language-server` can be installed via `npm` 27 | ```sh 28 | npm install -g foam-language-server 29 | ``` 30 | ]], 31 | }, 32 | } 33 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/fortls.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'fortls' }, 6 | filetypes = { 'fortran' }, 7 | root_dir = function(fname) 8 | return util.root_pattern '.fortls'(fname) or util.find_git_ancestor(fname) 9 | end, 10 | settings = { 11 | nthreads = 1, 12 | }, 13 | }, 14 | docs = { 15 | package_json = 'https://raw.githubusercontent.com/hansec/vscode-fortran-ls/master/package.json', 16 | description = [[ 17 | https://github.com/hansec/fortran-language-server 18 | 19 | Fortran Language Server for the Language Server Protocol 20 | ]], 21 | default_config = { 22 | root_dir = [[root_pattern(".fortls")]], 23 | }, 24 | }, 25 | } 26 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/fstar.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'fstar.exe', '--lsp' }, 6 | filetypes = { 'fstar' }, 7 | root_dir = util.find_git_ancestor, 8 | }, 9 | docs = { 10 | description = [[ 11 | https://github.com/FStarLang/FStar 12 | 13 | LSP support is included in FStar. Make sure `fstar.exe` is in your PATH. 14 | ]], 15 | default_config = { 16 | root_dir = [[util.find_git_ancestor]], 17 | }, 18 | }, 19 | } 20 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/gdscript.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'nc', 'localhost', '6008' }, 6 | filetypes = { 'gd', 'gdscript', 'gdscript3' }, 7 | root_dir = util.root_pattern('project.godot', '.git'), 8 | }, 9 | docs = { 10 | description = [[ 11 | https://github.com/godotengine/godot 12 | 13 | Language server for GDScript, used by Godot Engine. 14 | ]], 15 | default_config = { 16 | root_dir = [[util.root_pattern("project.godot", ".git")]], 17 | }, 18 | }, 19 | } 20 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/ghcide.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'ghcide', '--lsp' }, 6 | filetypes = { 'haskell', 'lhaskell' }, 7 | root_dir = util.root_pattern('stack.yaml', 'hie-bios', 'BUILD.bazel', 'cabal.config', 'package.yaml'), 8 | }, 9 | 10 | docs = { 11 | description = [[ 12 | https://github.com/digital-asset/ghcide 13 | 14 | A library for building Haskell IDE tooling. 15 | "ghcide" isn't for end users now. Use "haskell-language-server" instead of "ghcide". 16 | ]], 17 | default_config = { 18 | root_dir = [[root_pattern("stack.yaml", "hie-bios", "BUILD.bazel", "cabal.config", "package.yaml")]], 19 | }, 20 | }, 21 | } 22 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/gopls.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'gopls' }, 6 | filetypes = { 'go', 'gomod', 'gotmpl' }, 7 | root_dir = function(fname) 8 | return util.root_pattern 'go.work'(fname) or util.root_pattern('go.mod', '.git')(fname) 9 | end, 10 | single_file_support = true, 11 | }, 12 | docs = { 13 | description = [[ 14 | https://github.com/golang/tools/tree/master/gopls 15 | 16 | Google's lsp server for golang. 17 | ]], 18 | default_config = { 19 | root_dir = [[root_pattern("go.mod", ".git")]], 20 | }, 21 | }, 22 | } 23 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/graphql.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | local bin_name = 'graphql-lsp' 4 | local cmd = { bin_name, 'server', '-m', 'stream' } 5 | 6 | if vim.fn.has 'win32' == 1 then 7 | cmd = { 'cmd.exe', '/C', bin_name, 'server', '-m', 'stream' } 8 | end 9 | 10 | return { 11 | default_config = { 12 | cmd = cmd, 13 | filetypes = { 'graphql', 'typescriptreact', 'javascriptreact' }, 14 | root_dir = util.root_pattern('.git', '.graphqlrc*', '.graphql.config.*', 'graphql.config.*'), 15 | }, 16 | 17 | docs = { 18 | description = [[ 19 | https://github.com/graphql/graphiql/tree/main/packages/graphql-language-service-cli 20 | 21 | `graphql-lsp` can be installed via `npm`: 22 | 23 | ```sh 24 | npm install -g graphql-language-service-cli 25 | ``` 26 | ]], 27 | default_config = { 28 | root_dir = [[root_pattern('.git', '.graphqlrc*', '.graphql.config.*')]], 29 | }, 30 | }, 31 | } 32 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/hdl_checker.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'hdl_checker', '--lsp' }, 6 | filetypes = { 'vhdl', 'verilog', 'systemverilog' }, 7 | root_dir = util.find_git_ancestor, 8 | single_file_support = true, 9 | }, 10 | docs = { 11 | description = [[ 12 | https://github.com/suoto/hdl_checker 13 | Language server for hdl-checker. 14 | Install using: `pip install hdl-checker --upgrade` 15 | ]], 16 | default_config = { 17 | root_dir = [[util.find_git_ancestor]], 18 | }, 19 | }, 20 | } 21 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/hhvm.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = {'hh_client', 'lsp'}, 6 | filetypes = { 'php', 'hack' }, 7 | root_dir = util.root_pattern '.hhconfig', 8 | }, 9 | docs = { 10 | description = [[ 11 | Language server for programs written in Hack 12 | https://hhvm.com/ 13 | https://github.com/facebook/hhvm 14 | See below for how to setup HHVM & typechecker: 15 | https://docs.hhvm.com/hhvm/getting-started/getting-started 16 | ]], 17 | default_config = { 18 | root_dir = [[root_pattern(".hhconfig")]], 19 | }, 20 | }, 21 | } 22 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/java_language_server.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | filetypes = { 'java' }, 6 | root_dir = util.root_pattern('build.gradle', 'pom.xml', '.git'), 7 | settings = {}, 8 | }, 9 | docs = { 10 | package_json = 'https://raw.githubusercontent.com/georgewfraser/java-language-server/master/package.json', 11 | description = [[ 12 | https://github.com/georgewfraser/java-language-server 13 | 14 | Java language server 15 | 16 | Point `cmd` to `lang_server_linux.sh` or the equivalent script for macOS/Windows provided by java-language-server 17 | ]], 18 | }, 19 | } 20 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/jedi_language_server.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | local root_files = { 4 | 'pyproject.toml', 5 | 'setup.py', 6 | 'setup.cfg', 7 | 'requirements.txt', 8 | 'Pipfile', 9 | } 10 | 11 | return { 12 | default_config = { 13 | cmd = { 'jedi-language-server' }, 14 | filetypes = { 'python' }, 15 | root_dir = util.root_pattern(unpack(root_files)), 16 | single_file_support = true, 17 | }, 18 | docs = { 19 | description = [[ 20 | https://github.com/pappasam/jedi-language-server 21 | 22 | `jedi-language-server`, a language server for Python, built on top of jedi 23 | ]], 24 | default_config = { 25 | root_dir = "vim's starting directory", 26 | }, 27 | }, 28 | } 29 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/lelwel_ls.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'lelwel-ls' }, 6 | filetypes = { 'llw' }, 7 | root_dir = util.find_git_ancestor, 8 | }, 9 | docs = { 10 | description = [[ 11 | https://github.com/0x2a-42/lelwel 12 | 13 | Language server for lelwel grammars. 14 | 15 | You can install `lelwel-ls` via cargo: 16 | ```sh 17 | cargo install --features="lsp" lelwel 18 | ``` 19 | ]], 20 | }, 21 | } 22 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/lemminx.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'lemminx' }, 6 | filetypes = { 'xml', 'xsd', 'xsl', 'xslt', 'svg' }, 7 | root_dir = util.find_git_ancestor, 8 | single_file_support = true, 9 | }, 10 | docs = { 11 | description = [[ 12 | https://github.com/eclipse/lemminx 13 | 14 | The easiest way to install the server is to get a binary at https://download.jboss.org/jbosstools/vscode/stable/lemminx-binary/ and place it in your PATH. 15 | 16 | NOTE to macOS users: Binaries from unidentified developers are blocked by default. If you trust the downloaded binary from jboss.org, run it once, cancel the prompt, then remove the binary from Gatekeeper quarantine with `xattr -d com.apple.quarantine lemminx`. It should now run without being blocked. 17 | 18 | ]], 19 | default_config = { 20 | root_dir = [[util.find_git_ancestor]], 21 | }, 22 | }, 23 | } 24 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/mint.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'mint', 'ls' }, 6 | filetypes = { 'mint' }, 7 | root_dir = function(fname) 8 | return util.root_pattern 'mint.json'(fname) or util.find_git_ancestor(fname) 9 | end, 10 | single_file_support = true, 11 | }, 12 | docs = { 13 | description = [[ 14 | https://www.mint-lang.com 15 | 16 | Install Mint using the [instructions](https://www.mint-lang.com/install). 17 | The language server is included since version 0.12.0. 18 | ]], 19 | }, 20 | } 21 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/nickel_ls.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'nls' }, 6 | filetypes = { 'ncl', 'nickel' }, 7 | root_dir = util.find_git_ancestor, 8 | }, 9 | 10 | docs = { 11 | description = [[ 12 | Nickel Language Server 13 | 14 | https://github.com/tweag/nickel 15 | 16 | `nls` can be installed with nix, or cargo, from the Nickel repository. 17 | ```sh 18 | git clone https://github.com/tweag/nickel.git 19 | ``` 20 | 21 | Nix: 22 | ```sh 23 | cd nickel 24 | nix-env -f . -i 25 | ``` 26 | 27 | cargo: 28 | ```sh 29 | cd nickel/lsp/nls 30 | cargo install --path . 31 | ``` 32 | 33 | In order to have lspconfig detect Nickel filetypes (a prequisite for autostarting a server), 34 | install the [Nickel vim plugin](https://github.com/nickel-lang/vim-nickel). 35 | ]], 36 | }, 37 | } 38 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/nimls.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'nimlsp' }, 6 | filetypes = { 'nim' }, 7 | root_dir = function(fname) 8 | return util.root_pattern '*.nimble'(fname) or util.find_git_ancestor(fname) 9 | end, 10 | single_file_support = true, 11 | }, 12 | docs = { 13 | description = [[ 14 | https://github.com/PMunch/nimlsp 15 | `nimlsp` can be installed via the `nimble` package manager: 16 | ```sh 17 | nimble install nimlsp 18 | ``` 19 | ]], 20 | }, 21 | } 22 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/ocamlls.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | local bin_name = 'ocaml-language-server' 4 | local cmd = { bin_name, '--stdio' } 5 | 6 | if vim.fn.has 'win32' == 1 then 7 | cmd = { 'cmd.exe', '/C', bin_name, '--stdio' } 8 | end 9 | return { 10 | default_config = { 11 | cmd = cmd, 12 | filetypes = { 'ocaml', 'reason' }, 13 | root_dir = util.root_pattern('*.opam', 'esy.json', 'package.json'), 14 | }, 15 | docs = { 16 | description = [[ 17 | https://github.com/ocaml-lsp/ocaml-language-server 18 | 19 | `ocaml-language-server` can be installed via `npm` 20 | ```sh 21 | npm install -g ocaml-language-server 22 | ``` 23 | ]], 24 | default_config = { 25 | root_dir = [[root_pattern("*.opam", "esy.json", "package.json")]], 26 | }, 27 | }, 28 | } 29 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/opencl_ls.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'opencl-language-server' }, 6 | filetypes = { 'opencl' }, 7 | root_dir = util.find_git_ancestor, 8 | }, 9 | docs = { 10 | description = [[ 11 | https://github.com/Galarius/opencl-language-server 12 | 13 | Build instructions can be found [here](https://github.com/Galarius/opencl-language-server/blob/main/_dev/build.md). 14 | 15 | Prebuilt binaries are available for Linux, macOS and Windows [here](https://github.com/Galarius/opencl-language-server/releases). 16 | ]], 17 | default_config = { 18 | root_dir = [[util.root_pattern(".git")]], 19 | }, 20 | }, 21 | } 22 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/perlpls.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'pls' }, 6 | settings = { 7 | perl = { 8 | perlcritic = { enabled = false }, 9 | }, 10 | }, 11 | filetypes = { 'perl' }, 12 | root_dir = util.find_git_ancestor, 13 | single_file_support = true, 14 | }, 15 | docs = { 16 | package_json = 'https://raw.githubusercontent.com/FractalBoy/perl-language-server/master/client/package.json', 17 | description = [[ 18 | https://github.com/FractalBoy/perl-language-server 19 | https://metacpan.org/pod/PLS 20 | 21 | `PLS`, another language server for Perl. 22 | 23 | To use the language server, ensure that you have PLS installed and that it is in your path 24 | ]], 25 | default_config = { 26 | root_dir = [[util.find_git_ancestor]], 27 | }, 28 | }, 29 | } 30 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/phpactor.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'phpactor', 'language-server' }, 6 | filetypes = { 'php' }, 7 | root_dir = function(pattern) 8 | local cwd = vim.loop.cwd() 9 | local root = util.root_pattern('composer.json', '.git')(pattern) 10 | 11 | -- prefer cwd if root is a descendant 12 | return util.path.is_descendant(cwd, root) and cwd or root 13 | end, 14 | }, 15 | docs = { 16 | description = [[ 17 | https://github.com/phpactor/phpactor 18 | 19 | Installation: https://phpactor.readthedocs.io/en/master/usage/standalone.html#global-installation 20 | ]], 21 | default_config = { 22 | cmd = { 'phpactor', 'language-server' }, 23 | root_dir = [[root_pattern("composer.json", ".git")]], 24 | }, 25 | }, 26 | } 27 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/prismals.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | local bin_name = 'prisma-language-server' 4 | local cmd = { bin_name, '--stdio' } 5 | 6 | if vim.fn.has 'win32' == 1 then 7 | cmd = { 'cmd.exe', '/C', bin_name, '--stdio' } 8 | end 9 | 10 | return { 11 | default_config = { 12 | cmd = cmd, 13 | filetypes = { 'prisma' }, 14 | settings = { 15 | prisma = { 16 | prismaFmtBinPath = '', 17 | }, 18 | }, 19 | root_dir = util.root_pattern('.git', 'package.json'), 20 | }, 21 | docs = { 22 | description = [[ 23 | Language Server for the Prisma JavaScript and TypeScript ORM 24 | 25 | `@prisma/language-server` can be installed via npm 26 | ```sh 27 | npm install -g @prisma/language-server 28 | ``` 29 | ]], 30 | default_config = { 31 | root_dir = [[root_pattern(".git", "package.json")]], 32 | }, 33 | }, 34 | } 35 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/psalm.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | local bin_name = 'psalm-language-server' 4 | 5 | if vim.fn.has 'win32' == 1 then 6 | bin_name = bin_name .. '.bat' 7 | end 8 | 9 | return { 10 | default_config = { 11 | cmd = { bin_name }, 12 | filetypes = { 'php' }, 13 | root_dir = util.root_pattern('psalm.xml', 'psalm.xml.dist'), 14 | }, 15 | docs = { 16 | description = [[ 17 | https://github.com/vimeo/psalm 18 | 19 | Can be installed with composer. 20 | ```sh 21 | composer global require vimeo/psalm 22 | ``` 23 | ]], 24 | default_config = { 25 | cmd = { 'psalm-language-server' }, 26 | root_dir = [[root_pattern("psalm.xml", "psalm.xml.dist")]], 27 | }, 28 | }, 29 | } 30 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/purescriptls.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | local bin_name = 'purescript-language-server' 4 | local cmd = { bin_name, '--stdio' } 5 | 6 | if vim.fn.has 'win32' == 1 then 7 | cmd = { 'cmd.exe', '/C', bin_name, '--stdio' } 8 | end 9 | 10 | return { 11 | default_config = { 12 | cmd = cmd, 13 | filetypes = { 'purescript' }, 14 | root_dir = util.root_pattern('bower.json', 'psc-package.json', 'spago.dhall'), 15 | }, 16 | docs = { 17 | package_json = 'https://raw.githubusercontent.com/nwolverson/vscode-ide-purescript/master/package.json', 18 | description = [[ 19 | https://github.com/nwolverson/purescript-language-server 20 | `purescript-language-server` can be installed via `npm` 21 | ```sh 22 | npm install -g purescript-language-server 23 | ``` 24 | ]], 25 | default_config = { 26 | root_dir = [[root_pattern("spago.dhall, 'psc-package.json', bower.json")]], 27 | }, 28 | }, 29 | } 30 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/pylsp.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'pylsp' }, 6 | filetypes = { 'python' }, 7 | root_dir = function(fname) 8 | local root_files = { 9 | 'pyproject.toml', 10 | 'setup.py', 11 | 'setup.cfg', 12 | 'requirements.txt', 13 | 'Pipfile', 14 | } 15 | return util.root_pattern(unpack(root_files))(fname) or util.find_git_ancestor(fname) 16 | end, 17 | single_file_support = true, 18 | }, 19 | docs = { 20 | description = [[ 21 | https://github.com/python-lsp/python-lsp-server 22 | 23 | A Python 3.6+ implementation of the Language Server Protocol. 24 | 25 | The language server can be installed via `pipx install 'python-lsp-server[all]'`. 26 | Further instructions can be found in the [project's README](https://github.com/python-lsp/python-lsp-server). 27 | 28 | Note: This is a community fork of `pyls`. 29 | ]], 30 | }, 31 | } 32 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/pyre.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'pyre', 'persistent' }, 6 | filetypes = { 'python' }, 7 | root_dir = util.root_pattern '.pyre_configuration', 8 | }, 9 | docs = { 10 | description = [[ 11 | https://pyre-check.org/ 12 | 13 | `pyre` a static type checker for Python 3. 14 | 15 | `pyre` offers an extremely limited featureset. It currently only supports diagnostics, 16 | which are triggered on save. 17 | 18 | Do not report issues for missing features in `pyre` to `lspconfig`. 19 | 20 | ]], 21 | }, 22 | } 23 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/quick_lint_js.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'quick-lint-js', '--lsp-server' }, 6 | filetypes = { 'javascript' }, 7 | root_dir = util.root_pattern('package.json', 'jsconfig.json', '.git'), 8 | single_file_support = true, 9 | }, 10 | docs = { 11 | description = [[ 12 | https://quick-lint-js.com/ 13 | 14 | quick-lint-js finds bugs in JavaScript programs. 15 | 16 | See installation [instructions](https://quick-lint-js.com/install/) 17 | ]], 18 | }, 19 | } 20 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/r_language_server.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'R', '--slave', '-e', 'languageserver::run()' }, 6 | filetypes = { 'r', 'rmd' }, 7 | root_dir = function(fname) 8 | return util.find_git_ancestor(fname) or vim.loop.os_homedir() 9 | end, 10 | log_level = vim.lsp.protocol.MessageType.Warning, 11 | }, 12 | docs = { 13 | package_json = 'https://raw.githubusercontent.com/REditorSupport/vscode-r-lsp/master/package.json', 14 | description = [[ 15 | [languageserver](https://github.com/REditorSupport/languageserver) is an 16 | implementation of the Microsoft's Language Server Protocol for the R 17 | language. 18 | 19 | It is released on CRAN and can be easily installed by 20 | 21 | ```R 22 | install.packages("languageserver") 23 | ``` 24 | ]], 25 | default_config = { 26 | root_dir = [[root_pattern(".git") or os_homedir]], 27 | }, 28 | }, 29 | } 30 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/racket_langserver.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'racket', '--lib', 'racket-langserver' }, 6 | filetypes = { 'racket', 'scheme' }, 7 | root_dir = util.find_git_ancestor, 8 | single_file_support = true, 9 | }, 10 | docs = { 11 | description = [[ 12 | [https://github.com/jeapostrophe/racket-langserver](https://github.com/jeapostrophe/racket-langserver) 13 | 14 | The Racket language server. This project seeks to use 15 | [DrRacket](https://github.com/racket/drracket)'s public API to provide 16 | functionality that mimics DrRacket's code tools as closely as possible. 17 | 18 | Install via `raco`: `raco pkg install racket-langserver` 19 | ]], 20 | }, 21 | } 22 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/rnix.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'rnix-lsp' }, 6 | filetypes = { 'nix' }, 7 | root_dir = function(fname) 8 | return util.find_git_ancestor(fname) or vim.loop.os_homedir() 9 | end, 10 | settings = {}, 11 | init_options = {}, 12 | }, 13 | docs = { 14 | description = [[ 15 | https://github.com/nix-community/rnix-lsp 16 | 17 | A language server for Nix providing basic completion and formatting via nixpkgs-fmt. 18 | 19 | To install manually, run `cargo install rnix-lsp`. If you are using nix, rnix-lsp is in nixpkgs. 20 | 21 | This server accepts configuration via the `settings` key. 22 | 23 | ]], 24 | default_config = { 25 | root_dir = "vim's starting directory", 26 | }, 27 | }, 28 | } 29 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/robotframework_ls.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'robotframework_ls' }, 6 | filetypes = { 'robot' }, 7 | root_dir = function(fname) 8 | return util.root_pattern('robotidy.toml', 'pyproject.toml')(fname) or util.find_git_ancestor(fname) 9 | end, 10 | }, 11 | docs = { 12 | description = [[ 13 | https://github.com/robocorp/robotframework-lsp 14 | 15 | Language Server Protocol implementation for Robot Framework. 16 | ]], 17 | default_config = { 18 | root_dir = "util.root_pattern('robotidy.toml', 'pyproject.toml')(fname) or util.find_git_ancestor(fname)", 19 | }, 20 | }, 21 | } 22 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/salt_ls.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'salt_lsp_server' }, 6 | filetypes = { 'sls' }, 7 | root_dir = util.find_git_ancestor, 8 | single_file_support = true, 9 | }, 10 | docs = { 11 | description = [[ 12 | Language server for Salt configuration files. 13 | https://github.com/dcermak/salt-lsp 14 | 15 | The language server can be installed with `pip`: 16 | ```sh 17 | pip install salt-lsp 18 | ``` 19 | ]], 20 | default_config = { 21 | root_dir = [[root_pattern('.git')]], 22 | }, 23 | }, 24 | } 25 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/scry.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'scry' }, 6 | filetypes = { 'crystal' }, 7 | root_dir = function(fname) 8 | return util.root_pattern 'shard.yml'(fname) or util.find_git_ancestor(fname) 9 | end, 10 | single_file_support = true, 11 | }, 12 | docs = { 13 | description = [[ 14 | https://github.com/crystal-lang-tools/scry 15 | 16 | Crystal language server. 17 | ]], 18 | default_config = { 19 | root_dir = [[root_pattern('shard.yml', '.git') or dirname]], 20 | }, 21 | }, 22 | } 23 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/serve_d.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'serve-d' }, 6 | filetypes = { 'd' }, 7 | root_dir = util.root_pattern('dub.json', 'dub.sdl', '.git'), 8 | }, 9 | docs = { 10 | description = [[ 11 | https://github.com/Pure-D/serve-d 12 | 13 | `Microsoft language server protocol implementation for D using workspace-d.` 14 | Download a binary from https://github.com/Pure-D/serve-d/releases and put it in your $PATH. 15 | ]], 16 | default_config = { 17 | root_dir = [[util.root_pattern("dub.json", "dub.sdl", ".git")]], 18 | }, 19 | }, 20 | } 21 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/sixtyfps.lua: -------------------------------------------------------------------------------- 1 | return { 2 | default_config = { 3 | cmd = { 'sixtyfps-lsp' }, 4 | filetypes = { 'sixtyfps' }, 5 | single_file_support = true, 6 | }, 7 | docs = { 8 | description = [=[ 9 | https://github.com/sixtyfpsui/sixtyfps 10 | `SixtyFPS`'s language server 11 | 12 | You can build and install `sixtyfps-lsp` binary with `cargo`: 13 | ```sh 14 | cargo install sixtyfps-lsp 15 | ``` 16 | 17 | Vim does not have built-in syntax for the `sixtyfps` filetype currently. 18 | 19 | This can be added via an autocmd: 20 | 21 | ```lua 22 | vim.cmd [[ autocmd BufRead,BufNewFile *.60 set filetype=sixtyfps ]] 23 | ``` 24 | 25 | or by installing a filetype plugin such as https://github.com/RustemB/sixtyfps-vim 26 | ]=], 27 | }, 28 | } 29 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/slint_lsp.lua: -------------------------------------------------------------------------------- 1 | return { 2 | default_config = { 3 | cmd = { 'slint-lsp' }, 4 | filetypes = { 'slint' }, 5 | single_file_support = true, 6 | }, 7 | docs = { 8 | description = [=[ 9 | https://github.com/slint-ui/slint 10 | `Slint`'s language server 11 | 12 | You can build and install `slint-lsp` binary with `cargo`: 13 | ```sh 14 | cargo install slint-lsp 15 | ``` 16 | 17 | Vim does not have built-in syntax for the `slint` filetype at this time. 18 | 19 | This can be added via an autocmd: 20 | 21 | ```lua 22 | vim.cmd [[ autocmd BufRead,BufNewFile *.slint set filetype=slint ]] 23 | ``` 24 | ]=], 25 | }, 26 | } 27 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/solang.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'solang', '--language-server', '--target', 'ewasm' }, 6 | filetypes = { 'solidity' }, 7 | root_dir = util.find_git_ancestor, 8 | }, 9 | docs = { 10 | description = [[ 11 | A language server for Solidity 12 | 13 | See the [documentation](https://solang.readthedocs.io/en/latest/installing.html) for installation instructions. 14 | 15 | The language server only provides the following capabilities: 16 | * Syntax highlighting 17 | * Diagnostics 18 | * Hover 19 | 20 | There is currently no support for completion, goto definition, references, or other functionality. 21 | 22 | ]], 23 | default_config = { 24 | root_dir = [[util.find_git_ancestor]], 25 | }, 26 | }, 27 | } 28 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/solc.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'solc', '--lsp' }, 6 | filetypes = { 'solidity' }, 7 | root_dir = util.root_pattern '.git', 8 | }, 9 | docs = { 10 | description = [[ 11 | https://docs.soliditylang.org/en/latest/installing-solidity.html 12 | 13 | solc is the native language server for the Solidity language. 14 | ]], 15 | default_config = { 16 | root_dir = [[root_pattern(".git")]], 17 | }, 18 | }, 19 | } 20 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/solidity_ls.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | local bin_name = 'solidity-language-server' 4 | if vim.fn.has 'win32' == 1 then 5 | bin_name = bin_name .. '.cmd' 6 | end 7 | 8 | return { 9 | default_config = { 10 | cmd = { bin_name, '--stdio' }, 11 | filetypes = { 'solidity' }, 12 | root_dir = util.root_pattern('.git', 'package.json'), 13 | }, 14 | docs = { 15 | description = [[ 16 | npm install -g solidity-language-server 17 | 18 | solidity-language-server is a language server for the solidity language ported from the vscode solidity extension 19 | ]], 20 | default_config = { 21 | root_dir = [[root_pattern(".git", "package.json")]], 22 | }, 23 | }, 24 | } 25 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/sorbet.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'srb', 'tc', '--lsp' }, 6 | filetypes = { 'ruby' }, 7 | root_dir = util.root_pattern('Gemfile', '.git'), 8 | }, 9 | docs = { 10 | description = [[ 11 | https://sorbet.org 12 | 13 | Sorbet is a fast, powerful type checker designed for Ruby. 14 | 15 | You can install Sorbet via gem install. You might also be interested in how to set 16 | Sorbet up for new projects: https://sorbet.org/docs/adopting. 17 | 18 | ```sh 19 | gem install sorbet 20 | ``` 21 | ]], 22 | default_config = { 23 | root_dir = [[root_pattern("Gemfile", ".git")]], 24 | }, 25 | }, 26 | } 27 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/sourcekit.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'sourcekit-lsp' }, 6 | filetypes = { 'swift', 'c', 'cpp', 'objective-c', 'objective-cpp' }, 7 | root_dir = util.root_pattern('Package.swift', '.git'), 8 | }, 9 | docs = { 10 | description = [[ 11 | https://github.com/apple/sourcekit-lsp 12 | 13 | Language server for Swift and C/C++/Objective-C. 14 | ]], 15 | default_config = { 16 | root_dir = [[root_pattern("Package.swift", ".git")]], 17 | }, 18 | }, 19 | } 20 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/sqlls.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'sql-language-server', 'up', '--method', 'stdio' }, 6 | filetypes = { 'sql', 'mysql' }, 7 | root_dir = util.root_pattern '.sqllsrc.json', 8 | settings = {}, 9 | }, 10 | docs = { 11 | description = [[ 12 | https://github.com/joe-re/sql-language-server 13 | 14 | This LSP can be installed via `npm`. Find further instructions on manual installation of the sql-language-server at [joe-re/sql-language-server](https://github.com/joe-re/sql-language-server). 15 |
16 | ]], 17 | }, 18 | } 19 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/sqls.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'sqls' }, 6 | filetypes = { 'sql', 'mysql' }, 7 | root_dir = util.root_pattern 'config.yml', 8 | single_file_support = true, 9 | settings = {}, 10 | }, 11 | docs = { 12 | description = [[ 13 | https://github.com/lighttiger2505/sqls 14 | 15 | ```lua 16 | require'lspconfig'.sqls.setup{ 17 | cmd = {"path/to/command", "-config", "path/to/config.yml"}; 18 | ... 19 | } 20 | ``` 21 | Sqls can be installed via `go get github.com/lighttiger2505/sqls`. Instructions for compiling Sqls from the source can be found at [lighttiger2505/sqls](https://github.com/lighttiger2505/sqls). 22 | 23 | ]], 24 | }, 25 | } 26 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/svelte.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | local bin_name = 'svelteserver' 4 | local cmd = { bin_name, '--stdio' } 5 | 6 | if vim.fn.has 'win32' == 1 then 7 | cmd = { 'cmd.exe', '/C', bin_name, '--stdio' } 8 | end 9 | 10 | return { 11 | default_config = { 12 | cmd = cmd, 13 | filetypes = { 'svelte' }, 14 | root_dir = util.root_pattern('package.json', '.git'), 15 | }, 16 | docs = { 17 | description = [[ 18 | https://github.com/sveltejs/language-tools/tree/master/packages/language-server 19 | 20 | `svelte-language-server` can be installed via `npm`: 21 | ```sh 22 | npm install -g svelte-language-server 23 | ``` 24 | ]], 25 | default_config = { 26 | root_dir = [[root_pattern("package.json", ".git")]], 27 | }, 28 | }, 29 | } 30 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/svls.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'svls' }, 6 | filetypes = { 'verilog', 'systemverilog' }, 7 | root_dir = util.find_git_ancestor, 8 | }, 9 | docs = { 10 | description = [[ 11 | https://github.com/dalance/svls 12 | 13 | Language server for verilog and SystemVerilog 14 | 15 | `svls` can be installed via `cargo`: 16 | ```sh 17 | cargo install svls 18 | ``` 19 | ]], 20 | default_config = { 21 | root_dir = [[util.find_git_ancestor]], 22 | }, 23 | }, 24 | } 25 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/taplo.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'taplo-lsp', 'run' }, 6 | filetypes = { 'toml' }, 7 | root_dir = function(fname) 8 | return util.root_pattern '*.toml'(fname) or util.find_git_ancestor(fname) 9 | end, 10 | single_file_support = true, 11 | }, 12 | docs = { 13 | description = [[ 14 | https://taplo.tamasfe.dev/lsp/ 15 | 16 | Language server for Taplo, a TOML toolkit. 17 | 18 | `taplo-lsp` can be installed via `cargo`: 19 | ```sh 20 | cargo install --locked taplo-lsp 21 | ``` 22 | ]], 23 | default_config = { 24 | root_dir = [[root_pattern("*.toml", ".git")]], 25 | }, 26 | }, 27 | } 28 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/tflint.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'tflint', '--langserver' }, 6 | filetypes = { 'terraform' }, 7 | root_dir = util.root_pattern('.terraform', '.git', '.tflint.hcl'), 8 | }, 9 | docs = { 10 | description = [[ 11 | https://github.com/terraform-linters/tflint 12 | 13 | A pluggable Terraform linter that can act as lsp server. 14 | Installation instructions can be found in https://github.com/terraform-linters/tflint#installation. 15 | ]], 16 | default_config = { 17 | root_dir = [[root_pattern(".terraform", ".git", ".tflint.hcl")]], 18 | }, 19 | }, 20 | } 21 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/theme_check.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | local bin_name = 'theme-check-language-server' 4 | 5 | return { 6 | default_config = { 7 | cmd = { bin_name, '--stdio' }, 8 | filetypes = { 'liquid' }, 9 | root_dir = util.root_pattern '.theme-check.yml', 10 | settings = {}, 11 | }, 12 | docs = { 13 | description = [[ 14 | https://github.com/Shopify/shopify-cli 15 | 16 | `theme-check-language-server` is bundled with `shopify-cli` or it can also be installed via 17 | 18 | https://github.com/Shopify/theme-check#installation 19 | 20 | **NOTE:** 21 | If installed via Homebrew, `cmd` must be set to 'theme-check-liquid-server' 22 | 23 | ```lua 24 | require lspconfig.theme_check.setup { 25 | cmd = { 'theme-check-liquid-server' } 26 | } 27 | ``` 28 | 29 | ]], 30 | }, 31 | } 32 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/typeprof.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'typeprof', '--lsp', '--stdio' }, 6 | filetypes = { 'ruby', 'eruby' }, 7 | root_dir = util.root_pattern('Gemfile', '.git'), 8 | }, 9 | docs = { 10 | description = [[ 11 | https://github.com/ruby/typeprof 12 | 13 | `typeprof` is the built-in analysis and LSP tool for Ruby 3.1+. 14 | ]], 15 | default_config = { 16 | root_dir = [[root_pattern("Gemfile", ".git")]], 17 | }, 18 | }, 19 | } 20 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/verible.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'verible-verilog-ls' }, 6 | filetypes = { 'systemverilog', 'verilog' }, 7 | root_dir = util.find_git_ancestor, 8 | }, 9 | docs = { 10 | description = [[ 11 | https://github.com/chipsalliance/verible 12 | 13 | A linter and formatter for verilog and SystemVerilog files. 14 | 15 | Release binaries can be downloaded from [here](https://github.com/chipsalliance/verible/releases) 16 | and placed in a directory on PATH. 17 | 18 | See https://github.com/chipsalliance/verible/tree/master/verilog/tools/ls/README.md for options. 19 | ]], 20 | }, 21 | } 22 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/zls.lua: -------------------------------------------------------------------------------- 1 | local util = require 'lspconfig.util' 2 | 3 | return { 4 | default_config = { 5 | cmd = { 'zls' }, 6 | filetypes = { 'zig', 'zir' }, 7 | root_dir = util.root_pattern('zls.json', '.git'), 8 | single_file_support = true, 9 | }, 10 | docs = { 11 | description = [[ 12 | https://github.com/zigtools/zls 13 | 14 | `Zig LSP implementation + Zig Language Server`. 15 | ]], 16 | default_config = { 17 | root_dir = [[util.root_pattern("zls.json", ".git") or current_file_dirname]], 18 | }, 19 | }, 20 | } 21 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/neovim.toml: -------------------------------------------------------------------------------- 1 | [selene] 2 | base = "lua51" 3 | name = "neovim" 4 | 5 | [vim] 6 | any = true 7 | 8 | [[assert.args]] 9 | type = "bool" 10 | 11 | [[assert.args]] 12 | type = "string" 13 | required = false 14 | 15 | [[after_each.args]] 16 | type = "function" 17 | 18 | [[before_each.args]] 19 | type = "function" 20 | 21 | [[describe.args]] 22 | type = "string" 23 | 24 | [[describe.args]] 25 | type = "function" 26 | 27 | [[it.args]] 28 | type = "string" 29 | 30 | [[it.args]] 31 | type = "function" 32 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/plugin/lspconfig.vim: -------------------------------------------------------------------------------- 1 | if exists('g:lspconfig') 2 | finish 3 | endif 4 | let g:lspconfig = 1 5 | 6 | lua << EOF 7 | lsp_complete_configured_servers = function() 8 | return table.concat(require'lspconfig'.available_servers(), '\n') 9 | end 10 | lsp_get_active_client_ids = function() 11 | return vim.tbl_map(function(client) 12 | return ("%d (%s)"):format(client.id, client.name) 13 | end, require'lspconfig.util'.get_managed_clients()) 14 | end 15 | require'lspconfig'._root._setup() 16 | EOF 17 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/scripts/README_template.md: -------------------------------------------------------------------------------- 1 | # Configurations 2 | 3 | 4 | The following LSP configs are included. This documentation is autogenerated from the lua files. Follow a link to find documentation for 5 | that config. This file is accessible in neovim via `:help lspconfig-server-configurations` 6 | 7 | {{implemented_servers_list}} 8 | 9 | {{lsp_server_details}} 10 | 11 | vim:ft=markdown 12 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/scripts/docgen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec nvim -u NONE -E -R --headless +'set rtp+=$PWD' +'luafile scripts/docgen.lua' +q 3 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/scripts/run_test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | PJ_ROOT=$(pwd) 4 | 5 | if [ ! -d ./neovim ]; then 6 | git clone --depth 1 https://github.com/neovim/neovim 7 | fi 8 | 9 | cd ./neovim 10 | 11 | make functionaltest \ 12 | BUSTED_ARGS="--lpath=$PJ_ROOT/?.lua --lpath=$PJ_ROOT/lua/?.lua --lpath=$PJ_ROOT/lua/lspconfig/?.lua" \ 13 | TEST_FILE="../test/lspconfig_spec.lua" 14 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/selene.toml: -------------------------------------------------------------------------------- 1 | std = "neovim" 2 | 3 | [rules] 4 | global_usage = "allow" 5 | multiple_statements = "allow" 6 | -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/test/test_dir/a/a_marker.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/purzelrakete/dotfiles/bdd8527d76158a99bb9f7f30544a2f932bc573b4/.vim/bundle/nvim-lspconfig/test/test_dir/a/a_marker.txt -------------------------------------------------------------------------------- /.vim/bundle/nvim-lspconfig/test/test_dir/root_marker.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/purzelrakete/dotfiles/bdd8527d76158a99bb9f7f30544a2f932bc573b4/.vim/bundle/nvim-lspconfig/test/test_dir/root_marker.txt -------------------------------------------------------------------------------- /.vim/bundle/vim-airline/.gitignore: -------------------------------------------------------------------------------- 1 | doc/tags 2 | *.lock 3 | .vim-flavor 4 | -------------------------------------------------------------------------------- /.vim/bundle/vim-airline/.travis.yml: -------------------------------------------------------------------------------- 1 | language: ruby 2 | rvm: 3 | - 1.9.3 4 | script: rake ci 5 | -------------------------------------------------------------------------------- /.vim/bundle/vim-airline/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | gem 'vim-flavor', '~> 1.1' 3 | -------------------------------------------------------------------------------- /.vim/bundle/vim-airline/Rakefile: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env rake 2 | 3 | task :default => [:test] 4 | 5 | task :ci => [:dump, :test] 6 | 7 | task :dump do 8 | sh 'vim --version' 9 | end 10 | 11 | task :test do 12 | sh 'bundle exec vim-flavor test' 13 | end 14 | 15 | -------------------------------------------------------------------------------- /.vim/bundle/vim-airline/autoload/airline/extensions/bufferline.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013 Bailey Ling. 2 | " vim: et ts=2 sts=2 sw=2 3 | 4 | if !exists('*bufferline#get_status_string') 5 | finish 6 | endif 7 | 8 | let s:overwrite = get(g:, 'airline#extensions#bufferline#overwrite_variables', 1) 9 | 10 | function! airline#extensions#bufferline#init(ext) 11 | if s:overwrite 12 | highlight bufferline_selected gui=bold cterm=bold term=bold 13 | highlight link bufferline_selected_inactive airline_c_inactive 14 | let g:bufferline_inactive_highlight = 'airline_c' 15 | let g:bufferline_active_highlight = 'bufferline_selected' 16 | let g:bufferline_active_buffer_left = '' 17 | let g:bufferline_active_buffer_right = '' 18 | let g:bufferline_separator = ' ' 19 | endif 20 | 21 | call airline#parts#define_raw('file', '%{bufferline#refresh_status()}'.bufferline#get_status_string()) 22 | endfunction 23 | 24 | -------------------------------------------------------------------------------- /.vim/bundle/vim-airline/autoload/airline/extensions/commandt.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013 Bailey Ling. 2 | " vim: et ts=2 sts=2 sw=2 3 | 4 | if !get(g:, 'command_t_loaded', 0) 5 | finish 6 | endif 7 | 8 | function! airline#extensions#commandt#apply(...) 9 | if bufname('%') ==# 'GoToFile' 10 | call airline#extensions#apply_left_override('CommandT', '') 11 | endif 12 | endfunction 13 | 14 | function! airline#extensions#commandt#init(ext) 15 | call a:ext.add_statusline_func('airline#extensions#commandt#apply') 16 | endfunction 17 | -------------------------------------------------------------------------------- /.vim/bundle/vim-airline/autoload/airline/extensions/csv.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013 Bailey Ling. 2 | " vim: et ts=2 sts=2 sw=2 3 | 4 | if !get(g:, 'loaded_csv', 0) && !exists(':Table') 5 | finish 6 | endif 7 | 8 | let s:column_display = get(g:, 'airline#extensions#csv#column_display', 'Number') 9 | 10 | function! airline#extensions#csv#get_column() 11 | if exists('*CSV_WCol') 12 | if s:column_display ==# 'Name' 13 | return '['.CSV_WCol('Name').CSV_WCol().']' 14 | else 15 | return '['.CSV_WCol().']' 16 | endif 17 | endif 18 | return '' 19 | endfunction 20 | 21 | function! airline#extensions#csv#apply(...) 22 | if &ft ==# "csv" 23 | call airline#extensions#prepend_to_section('gutter', 24 | \ g:airline_left_alt_sep.' %{airline#extensions#csv#get_column()}') 25 | endif 26 | endfunction 27 | 28 | function! airline#extensions#csv#init(ext) 29 | call a:ext.add_statusline_func('airline#extensions#csv#apply') 30 | endfunction 31 | 32 | -------------------------------------------------------------------------------- /.vim/bundle/vim-airline/autoload/airline/extensions/syntastic.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013 Bailey Ling. 2 | " vim: et ts=2 sts=2 sw=2 3 | 4 | if !exists(':SyntasticCheck') 5 | finish 6 | endif 7 | 8 | function! airline#extensions#syntastic#get_warnings() 9 | let errors = SyntasticStatuslineFlag() 10 | if strlen(errors) > 0 11 | return errors.' ' 12 | endif 13 | return '' 14 | endfunction 15 | 16 | function! airline#extensions#syntastic#init(ext) 17 | call airline#parts#define_function('syntastic', 'airline#extensions#syntastic#get_warnings') 18 | endfunction 19 | 20 | -------------------------------------------------------------------------------- /.vim/bundle/vim-airline/autoload/airline/extensions/undotree.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013 Bailey Ling. 2 | " vim: et ts=2 sts=2 sw=2 3 | 4 | if !exists(':UndotreeToggle') 5 | finish 6 | endif 7 | 8 | function! airline#extensions#undotree#apply(...) 9 | if exists('t:undotree') 10 | if &ft == 'undotree' 11 | if exists('*t:undotree.GetStatusLine') 12 | call airline#extensions#apply_left_override('undo', '%{t:undotree.GetStatusLine()}') 13 | else 14 | call airline#extensions#apply_left_override('undotree', '%f') 15 | endif 16 | endif 17 | 18 | if &ft == 'diff' && exists('*t:diffpanel.GetStatusLine') 19 | call airline#extensions#apply_left_override('diff', '%{t:diffpanel.GetStatusLine()}') 20 | endif 21 | endif 22 | endfunction 23 | 24 | function! airline#extensions#undotree#init(ext) 25 | call a:ext.add_statusline_func('airline#extensions#undotree#apply') 26 | endfunction 27 | 28 | -------------------------------------------------------------------------------- /.vim/bundle/vim-airline/autoload/airline/extensions/unite.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013 Bailey Ling. 2 | " vim: et ts=2 sts=2 sw=2 3 | 4 | if !get(g:, 'loaded_unite', 0) 5 | finish 6 | endif 7 | 8 | function! airline#extensions#unite#apply(...) 9 | if &ft == 'unite' 10 | call a:1.add_section('airline_a', ' Unite ') 11 | call a:1.add_section('airline_b', ' %{get(unite#get_context(), "buffer_name", "")} ') 12 | call a:1.add_section('airline_c', ' %{unite#get_status_string()} ') 13 | call a:1.split() 14 | call a:1.add_section('airline_y', ' %{get(unite#get_context(), "real_buffer_name", "")} ') 15 | return 1 16 | endif 17 | endfunction 18 | 19 | function! airline#extensions#unite#init(ext) 20 | let g:unite_force_overwrite_statusline = 0 21 | call a:ext.add_statusline_func('airline#extensions#unite#apply') 22 | endfunction 23 | 24 | -------------------------------------------------------------------------------- /.vim/bundle/vim-airline/autoload/airline/extensions/virtualenv.vim: -------------------------------------------------------------------------------- 1 | " MIT License. Copyright (c) 2013 Bailey Ling. 2 | " vim: et ts=2 sts=2 sw=2 3 | 4 | if !get(g:, 'virtualenv_loaded', 0) 5 | finish 6 | endif 7 | 8 | function! airline#extensions#virtualenv#init(ext) 9 | call a:ext.add_statusline_func('airline#extensions#virtualenv#apply') 10 | endfunction 11 | 12 | function! airline#extensions#virtualenv#apply(...) 13 | if &filetype =~ "python" 14 | call airline#extensions#append_to_section('x', ' '.g:airline_right_alt_sep.' %{virtualenv#statusline()}') 15 | endif 16 | endfunction 17 | 18 | -------------------------------------------------------------------------------- /.vim/bundle/vim-airline/t/commands.vim: -------------------------------------------------------------------------------- 1 | call airline#init#bootstrap() 2 | call airline#init#sections() 3 | 4 | source plugin/airline.vim 5 | 6 | describe 'commands' 7 | it 'should toggle off and on' 8 | execute 'AirlineToggle' 9 | Expect exists('#airline') to_be_false 10 | execute 'AirlineToggle' 11 | Expect exists('#airline') to_be_true 12 | end 13 | 14 | it 'should toggle whitespace off and on' 15 | call airline#extensions#load() 16 | execute 'AirlineToggleWhitespace' 17 | Expect exists('#airline_whitespace') to_be_false 18 | execute 'AirlineToggleWhitespace' 19 | Expect exists('#airline_whitespace') to_be_true 20 | end 21 | 22 | it 'should display theme name with no args' 23 | execute 'AirlineTheme simple' 24 | Expect g:airline_theme == 'simple' 25 | execute 'AirlineTheme dark' 26 | Expect g:airline_theme == 'dark' 27 | end 28 | end 29 | 30 | -------------------------------------------------------------------------------- /.vim/bundle/vim-airline/t/highligher.vim: -------------------------------------------------------------------------------- 1 | describe 'highlighter' 2 | it 'should create separator highlight groups' 3 | hi Foo1 ctermfg=1 ctermbg=2 4 | hi Foo2 ctermfg=3 ctermbg=4 5 | call airline#highlighter#add_separator('Foo1', 'Foo2', 0) 6 | let hl = airline#highlighter#get_highlight('Foo1_to_Foo2') 7 | Expect hl == [ '', '', '4', '2', '' ] 8 | end 9 | end 10 | 11 | -------------------------------------------------------------------------------- /.vim/bundle/vim-colors-solarized/bitmaps/togglebg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/purzelrakete/dotfiles/bdd8527d76158a99bb9f7f30544a2f932bc573b4/.vim/bundle/vim-colors-solarized/bitmaps/togglebg.png -------------------------------------------------------------------------------- /.vim/bundle/vim-fugitive/.gitignore: -------------------------------------------------------------------------------- 1 | /doc/tags 2 | -------------------------------------------------------------------------------- /.vim/bundle/vim-fzf/.gitattributes: -------------------------------------------------------------------------------- 1 | *.sh text eol=lf 2 | -------------------------------------------------------------------------------- /.vim/bundle/vim-fzf/.gitignore: -------------------------------------------------------------------------------- 1 | doc/tags 2 | -------------------------------------------------------------------------------- /.vim/bundle/vim-fzf/bin/preview.rb: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | 3 | puts 'preview.rb is deprecated. Use preview.sh instead.' 4 | -------------------------------------------------------------------------------- /.vim/bundle/vim-fzf/bin/tags.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | 3 | use strict; 4 | 5 | foreach my $file (@ARGV) { 6 | open my $lines, $file; 7 | while (<$lines>) { 8 | unless (/^\!/) { 9 | s/^[^\t]*/sprintf("%-24s", $&)/e; 10 | s/$/\t$file/; 11 | print; 12 | } 13 | } 14 | close $lines; 15 | } 16 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go-explorer/plugin/ge.vim: -------------------------------------------------------------------------------- 1 | if exists('g:loaded_ge') 2 | finish 3 | endif 4 | let g:loaded_ge = 1 5 | 6 | augroup ge_doc 7 | autocmd! 8 | autocmd BufReadCmd godoc://** execute ge#doc#read() 9 | augroup END 10 | 11 | command! -nargs=* -complete=customlist,ge#complete#complete_package_id GeDoc :execute ge#doc#open() 12 | 13 | " vim:ts=4:sw=4:et 14 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go-explorer/src/getool/def.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 Gary Burd. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package main 6 | 7 | import "flag" 8 | 9 | func init() { 10 | var fs flag.FlagSet 11 | commands["def"] = &Command{ 12 | fs: &fs, 13 | do: func(ctx *Context) int { return doDef(ctx) }, 14 | } 15 | } 16 | 17 | func doDef(ctx *Context) int { 18 | return 0 19 | } 20 | -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go/.coveragerc: -------------------------------------------------------------------------------- 1 | [run] 2 | plugins = covimerage 3 | data_file = .coverage_covimerage 4 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go/.dockerignore: -------------------------------------------------------------------------------- 1 | .local/ 2 | .cache/ 3 | .dlv/ 4 | .git/ 5 | .viminfo 6 | -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go/.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ### What did you do? (required. The issue will be **closed** when not provided.) 2 | 3 | 4 | ### What did you expect to happen? 5 | 6 | 7 | ### What happened instead? 8 | 9 | 10 | ### Configuration (**MUST** fill this out): 11 | 12 | * vim-go version: 13 | 14 | * `vimrc` you used to reproduce (use a *minimal* vimrc with other plugins disabled; do not link to a 2,000 line vimrc): 15 | 16 | * Vim version (first three lines from `:version`): 17 | 18 | * Go version (`go version`): 19 | 20 | * Go environment (`go env`): 21 | 22 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | /doc/tags 3 | /.coverage.covimerage 4 | /coverage.xml 5 | *.pyc 6 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.11.x 4 | notifications: 5 | email: false 6 | matrix: 7 | include: 8 | - env: SCRIPT="test -c" VIM_VERSION=vim-7.4 9 | - env: SCRIPT="test -c" VIM_VERSION=vim-8.0 10 | - env: SCRIPT="test -c" VIM_VERSION=nvim 11 | - env: ENV=vimlint SCRIPT=lint VIM_VERSION=vim-8.0 12 | language: python 13 | python: 3.6 14 | install: 15 | - ./scripts/install-vim $VIM_VERSION 16 | - | 17 | if [ "$ENV" = "vimlint" ]; then 18 | pip install vim-vint covimerage codecov pathlib 19 | else 20 | pip install --user vim-vint covimerage codecov pathlib 21 | fi 22 | script: 23 | - ./scripts/$SCRIPT $VIM_VERSION 24 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go/.vintrc.yaml: -------------------------------------------------------------------------------- 1 | policies: 2 | ProhibitUnnecessaryDoubleQuote: 3 | enabled: false 4 | ProhibitEqualTildeOperator: 5 | enabled: false 6 | ProhibitNoAbortFunction: 7 | enabled: false 8 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM golang:1.11 2 | 3 | RUN apt-get update -y && \ 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 . /vim-go/ 14 | WORKDIR /vim-go 15 | 16 | RUN scripts/install-vim vim-7.4 17 | RUN scripts/install-vim vim-8.0 18 | RUN scripts/install-vim nvim 19 | 20 | ENTRYPOINT ["make"] 21 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go/Makefile: -------------------------------------------------------------------------------- 1 | VIMS ?= vim-7.4 vim-8.0 nvim 2 | 3 | all: install test lint 4 | 5 | install: 6 | @echo "==> Installing Vims: $(VIMS)" 7 | @for vim in $(VIMS); do \ 8 | ./scripts/install-vim $$vim; \ 9 | done 10 | 11 | test: 12 | @echo "==> Running tests for $(VIMS)" 13 | @for vim in $(VIMS); do \ 14 | ./scripts/test $$vim; \ 15 | done 16 | 17 | lint: 18 | @echo "==> Running linting tools" 19 | @./scripts/lint vim-8.0 20 | 21 | docker: 22 | @echo "==> Building/starting Docker container" 23 | @./scripts/docker-test 24 | 25 | clean: 26 | @echo "==> Cleaning /tmp/vim-go-test" 27 | @rm -rf /tmp/vim-go-test 28 | 29 | .PHONY: all test install clean lint docker 30 | -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go/assets/vim-go.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/purzelrakete/dotfiles/bdd8527d76158a99bb9f7f30544a2f932bc573b4/.vim/bundle/vim-go/assets/vim-go.png -------------------------------------------------------------------------------- /.vim/bundle/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() 6 | let l:filename = 'complete/complete.go' 7 | let l:tmp = gotest#load_fixture(l:filename) 8 | 9 | call cursor(8, 3) 10 | 11 | let g:go_info_mode = 'gocode' 12 | let expected = 'func Example(s string)' 13 | let actual = go#complete#GetInfo() 14 | call assert_equal(expected, actual) 15 | 16 | let g:go_info_mode = 'guru' 17 | call go#config#InfoMode() 18 | let actual = go#complete#GetInfo() 19 | call assert_equal(expected, actual) 20 | 21 | unlet g:go_info_mode 22 | endfunction 23 | 24 | " restore Vi compatibility settings 25 | let &cpo = s:cpo_save 26 | unlet s:cpo_save 27 | 28 | " vim: sw=2 ts=2 et 29 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go/autoload/go/decls.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#decls#Decls(mode, ...) abort 6 | let decls_mode = go#config#DeclsMode() 7 | if decls_mode == 'ctrlp' 8 | call ctrlp#init(call("ctrlp#decls#cmd", [a:mode] + a:000)) 9 | elseif decls_mode == 'fzf' 10 | call call("fzf#decls#cmd", [a:mode] + a:000) 11 | else 12 | if globpath(&rtp, 'plugin/ctrlp.vim') != "" 13 | call ctrlp#init(call("ctrlp#decls#cmd", [a:mode] + a:000)) 14 | elseif globpath(&rtp, 'plugin/fzf.vim') != "" 15 | call call("fzf#decls#cmd", [a:mode] + a:000) 16 | else 17 | call go#util#EchoError("neither ctrlp.vim nor fzf.vim are installed. Please install either one") 18 | end 19 | end 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 | -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go/autoload/go/tags_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_add_tags() abort 6 | try 7 | let l:tmp = gotest#load_fixture('tags/add_all_input.go') 8 | silent call go#tags#run(0, 0, 40, "add", bufname(''), 1) 9 | call gotest#assert_fixture('tags/add_all_golden.go') 10 | finally 11 | call delete(l:tmp, 'rf') 12 | endtry 13 | endfunc 14 | 15 | 16 | func! Test_remove_tags() abort 17 | try 18 | let l:tmp = gotest#load_fixture('tags/remove_all_input.go') 19 | silent call go#tags#run(0, 0, 40, "remove", bufname(''), 1) 20 | call gotest#assert_fixture('tags/remove_all_golden.go') 21 | finally 22 | call delete(l:tmp, 'rf') 23 | endtry 24 | endfunc 25 | 26 | " restore Vi compatibility settings 27 | let &cpo = s:cpo_save 28 | unlet s:cpo_save 29 | 30 | " vim:ts=2:sts=2:sw=2:et 31 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go/autoload/go/test-fixtures/cmd/bad.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | func main() { 4 | notafunc() 5 | } 6 | -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go/autoload/go/test-fixtures/fmt/imports/goimports.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | ) 6 | 7 | func Foo(log *logging.TestLogger) { 8 | log.Debug("vim-go") 9 | } 10 | 11 | func main() { 12 | fmt.Println("vim-go") 13 | } 14 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go/autoload/go/test-fixtures/fmt/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 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go/autoload/go/test-fixtures/fmt/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 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go/autoload/go/test-fixtures/fmt/src/imports: -------------------------------------------------------------------------------- 1 | ../imports/ -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go/autoload/go/test-fixtures/term/term.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | func main() { 4 | println("hello, world") 5 | } 6 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go/autoload/go/test-fixtures/test/.gitignore: -------------------------------------------------------------------------------- 1 | /pkg 2 | -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go/autoload/go/tool_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_ExecuteInDir() abort 6 | let l:tmp = gotest#write_file('a/a.go', ['package a']) 7 | try 8 | let l:out = go#util#ExecInDir(['pwd']) 9 | call assert_equal([l:tmp . "/src/a\n", 0], l:out) 10 | finally 11 | call delete(l:tmp, 'rf') 12 | endtry 13 | endfunc 14 | 15 | func! Test_ExecuteInDir_nodir() abort 16 | let l:tmp = go#util#tempdir("executeindir") 17 | exe ':e ' . l:tmp . '/new-dir/a' 18 | 19 | try 20 | let l:out = go#util#ExecInDir(['pwd']) 21 | call assert_equal(['', 1], l:out) 22 | finally 23 | call delete(l:tmp, 'rf') 24 | endtry 25 | endfunc 26 | 27 | " restore Vi compatibility settings 28 | let &cpo = s:cpo_save 29 | unlet s:cpo_save 30 | 31 | " vim: sw=2 ts=2 et 32 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go/ftplugin/asm.vim: -------------------------------------------------------------------------------- 1 | " asm.vim: Vim filetype plugin for Go assembler. 2 | 3 | if exists("b:did_ftplugin") 4 | finish 5 | endif 6 | let b:did_ftplugin = 1 7 | 8 | " don't spam the user when Vim is started in Vi compatibility mode 9 | let s:cpo_save = &cpo 10 | set cpo&vim 11 | 12 | let b:undo_ftplugin = "setl fo< com< cms< 13 | \ | exe 'au! vim-go-asm-buffer * '" 14 | 15 | setlocal formatoptions-=t 16 | 17 | setlocal comments=s1:/*,mb:*,ex:*/,:// 18 | setlocal commentstring=//\ %s 19 | 20 | setlocal noexpandtab 21 | 22 | command! -nargs=0 AsmFmt call go#asmfmt#Format() 23 | 24 | " Autocommands 25 | " ============================================================================ 26 | 27 | augroup vim-go-asm-buffer 28 | autocmd! * 29 | 30 | autocmd BufWritePre call go#auto#asmfmt_autosave() 31 | augroup end 32 | 33 | " restore Vi compatibility settings 34 | let &cpo = s:cpo_save 35 | unlet s:cpo_save 36 | 37 | " vim: sw=2 ts=2 et 38 | -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go/ftplugin/gomod.vim: -------------------------------------------------------------------------------- 1 | " gomod.vim: Vim filetype plugin for Go assembler. 2 | 3 | if exists("b:did_ftplugin") 4 | finish 5 | endif 6 | let b:did_ftplugin = 1 7 | 8 | " don't spam the user when Vim is started in Vi compatibility mode 9 | let s:cpo_save = &cpo 10 | set cpo&vim 11 | 12 | let b:undo_ftplugin = "setl fo< com< cms< 13 | \ | exe 'au! vim-go-gomod-buffer * '" 14 | 15 | setlocal formatoptions-=t 16 | 17 | setlocal comments=s1:/*,mb:*,ex:*/,:// 18 | setlocal commentstring=//\ %s 19 | 20 | " Autocommands 21 | " ============================================================================ 22 | 23 | augroup vim-go-gomod-buffer 24 | autocmd! * 25 | 26 | autocmd BufWritePre call go#auto#modfmt_autosave() 27 | augroup end 28 | 29 | " restore Vi compatibility settings 30 | let &cpo = s:cpo_save 31 | unlet s:cpo_save 32 | 33 | " vim: sw=2 ts=2 et 34 | -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go/ftplugin/gomod/mappings.vim: -------------------------------------------------------------------------------- 1 | nnoremap (go-mod-fmt) :call go#mod#Format() 2 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go/gosnippets/minisnip/_go_eq: -------------------------------------------------------------------------------- 1 | if !reflect.DeepEqual({{+got+}}, {{+want+}}) { 2 | t.Errorf("\ngot: %#v\nwant: %#v\n", {{+~\~2+}}, {{+~\~2+}}) 3 | } 4 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go/gosnippets/minisnip/_go_err: -------------------------------------------------------------------------------- 1 | if err != nil { 2 | return {{+err+}} 3 | } 4 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go/gosnippets/minisnip/_go_errt: -------------------------------------------------------------------------------- 1 | if err != nil { 2 | t.Fatal(err) 3 | } 4 | {{++}} 5 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go/gosnippets/minisnip/_go_errw: -------------------------------------------------------------------------------- 1 | if err != nil { 2 | return errors.Wrap(err, "{{++}}") 3 | } 4 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go/gosnippets/minisnip/_go_f: -------------------------------------------------------------------------------- 1 | // {{++}} 2 | func {{+~\~1+}}() { 3 | } 4 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go/gosnippets/minisnip/_go_ff: -------------------------------------------------------------------------------- 1 | fmt.Printf("%#v\n", {{++}}) 2 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go/gosnippets/minisnip/_go_fori: -------------------------------------------------------------------------------- 1 | for i := 0; i < {{++}}; i++ { 2 | {{++}} 3 | } 4 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go/gosnippets/minisnip/_go_pkg: -------------------------------------------------------------------------------- 1 | // Package {{+~expand('%:p:h:t')+}} {{++}} 2 | package {{+~\~2+}} 3 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go/gosnippets/minisnip/_go_sp: -------------------------------------------------------------------------------- 1 | fmt.Sprintf("{{++}}", {{++}}) 2 | 3 | -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /.vim/bundle/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 --rm --security-opt="seccomp=unconfined" vim-go-test 14 | 15 | # vim:ts=2:sts=2:sw=2:et 16 | -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go/syntax/godefstack.vim: -------------------------------------------------------------------------------- 1 | if exists("b:current_syntax") 2 | finish 3 | endif 4 | 5 | syn match godefStackComment '^".*' 6 | syn match godefLinePrefix '^[>\s]\s' nextgroup=godefStackEntryNumber contains=godefStackCurrentPosition 7 | syn match godefStackEntryNumber '\d\+' nextgroup=godefStackFilename skipwhite 8 | syn match godefStackCurrentPosition '>' contained 9 | syn match godefStackFilename '[^|]\+' contained nextgroup=godefStackEntryLocation 10 | syn region godefStackEntryLocation oneline start='|' end='|' contained contains=godefStackEntryLocationNumber 11 | syn match godefStackEntryLocationNumber '\d\+' contained display 12 | 13 | let b:current_syntax = "godefstack" 14 | 15 | hi def link godefStackComment Comment 16 | hi def link godefStackCurrentPosition Special 17 | hi def link godefStackFilename Directory 18 | hi def link godefStackEntryLocationNumber LineNr 19 | 20 | " vim: sw=2 ts=2 et 21 | -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /.vim/bundle/vim-go/templates/hello_world.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func main() { 6 | fmt.Println("vim-go") 7 | } 8 | -------------------------------------------------------------------------------- /.vim/bundle/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 | -------------------------------------------------------------------------------- /.vim/bundle/vim-jsx/after/ftdetect/javascript.vim: -------------------------------------------------------------------------------- 1 | """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" 2 | " Vim ftdetect file 3 | " 4 | " Language: JSX (JavaScript) 5 | " Maintainer: Max Wang 6 | " 7 | """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" 8 | 9 | exec 'source '.fnameescape(expand(':p:h:h').'/jsx-config.vim') 10 | 11 | fu! EnableJSX() 12 | if g:jsx_pragma_required && !b:jsx_pragma_found | return 0 | endif 13 | if g:jsx_ext_required && !exists('b:jsx_ext_found') | return 0 | endif 14 | return 1 15 | endfu 16 | 17 | autocmd BufNewFile,BufRead *.jsx let b:jsx_ext_found = 1 18 | autocmd BufNewFile,BufRead *.jsx set filetype=javascript.jsx 19 | autocmd BufNewFile,BufRead *.js 20 | \ if EnableJSX() | set filetype=javascript.jsx | endif 21 | -------------------------------------------------------------------------------- /.vim/bundle/vim-jsx/after/ftplugin/jsx.vim: -------------------------------------------------------------------------------- 1 | """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" 2 | " Vim ftplugin file 3 | " 4 | " Language: JSX (JavaScript) 5 | " Maintainer: Max Wang 6 | " Depends: pangloss/vim-javascript 7 | " 8 | """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" 9 | 10 | " modified from html.vim 11 | if exists("loaded_matchit") 12 | let b:match_ignorecase = 0 13 | let b:match_words = '(:),\[:\],{:},<:>,' . 14 | \ '<\@<=\([^/][^ \t>]*\)[^>]*\%(>\|$\):<\@<=/\1>' 15 | endif 16 | 17 | setlocal suffixesadd+=.jsx 18 | -------------------------------------------------------------------------------- /.vim/bundle/vim-julia/autoload/generate_latex_symbols_table.jl: -------------------------------------------------------------------------------- 1 | #!/bin/env julia 2 | 3 | const filename = "julia_latex_symbols" 4 | const funcname = "get_dict" 5 | 6 | open("$filename.vim","w") do f 7 | println(f, "\" This file is autogenerated from the script '$(basename(Base.source_path()))'") 8 | println(f, "\" The symbols are based on Julia version $VERSION\n") 9 | println(f, "scriptencoding utf-8\n") 10 | println(f, "function! $filename#$funcname()\n", 11 | " return {\n", 12 | " \\ ", 13 | join([string("'", latex, "': '", unicode, "'") for (latex,unicode) in sort!(vcat(collect(REPL.REPLCompletions.latex_symbols),collect(REPL.REPLCompletions.emoji_symbols)), by=x->x[2])], 14 | ",\n \\ "), 15 | "}") 16 | println(f, "endfunction") 17 | end 18 | -------------------------------------------------------------------------------- /.vim/bundle/vim-julia/ftplugin/juliadoc.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: Julia document 3 | 4 | if exists("b:did_ftplugin") 5 | finish 6 | endif 7 | let b:did_ftplugin = 1 8 | 9 | let s:save_cpo = &cpo 10 | set cpo-=C 11 | 12 | setlocal conceallevel=2 13 | setlocal concealcursor=nc 14 | setlocal wrap 15 | 16 | if !exists('b:undo_ftplugin') 17 | let b:undo_ftplugin = '' 18 | endif 19 | let b:undo_ftplugin .= 'setlocal conceallevel< concealcursor< wrap<' 20 | 21 | " Lookup documents 22 | nnoremap (JuliaDocPrompt) :call julia#doc#prompt() 23 | command! -nargs=1 -buffer -complete=customlist,julia#doc#complete JuliaDoc call julia#doc#open() 24 | command! -nargs=1 -buffer JuliaDocKeywordprg call julia#doc#keywordprg() 25 | setlocal keywordprg=:JuliaDocKeywordprg 26 | let b:undo_ftplugin .= " | setlocal keywordprg<" 27 | let b:undo_ftplugin .= " | delcommand JuliaDoc | delcommand JuliaDocKeywordprg" 28 | 29 | let &cpo = s:save_cpo 30 | unlet s:save_cpo 31 | -------------------------------------------------------------------------------- /.vim/bundle/vim-julia/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/purzelrakete/dotfiles/bdd8527d76158a99bb9f7f30544a2f932bc573b4/.vim/bundle/vim-julia/logo.png -------------------------------------------------------------------------------- /.vim/bundle/vim-powerline-fonts/Consolas.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/purzelrakete/dotfiles/bdd8527d76158a99bb9f7f30544a2f932bc573b4/.vim/bundle/vim-powerline-fonts/Consolas.ttf -------------------------------------------------------------------------------- /.vim/bundle/vim-powerline-fonts/Inconsolata-dz-Powerline.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/purzelrakete/dotfiles/bdd8527d76158a99bb9f7f30544a2f932bc573b4/.vim/bundle/vim-powerline-fonts/Inconsolata-dz-Powerline.otf -------------------------------------------------------------------------------- /.vim/bundle/vim-powerline-fonts/Menlo-Powerline.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/purzelrakete/dotfiles/bdd8527d76158a99bb9f7f30544a2f932bc573b4/.vim/bundle/vim-powerline-fonts/Menlo-Powerline.otf -------------------------------------------------------------------------------- /.vim/bundle/vim-powerline-fonts/Monaco-Powerline.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/purzelrakete/dotfiles/bdd8527d76158a99bb9f7f30544a2f932bc573b4/.vim/bundle/vim-powerline-fonts/Monaco-Powerline.otf -------------------------------------------------------------------------------- /.vim/bundle/vim-powerline-fonts/monaco.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/purzelrakete/dotfiles/bdd8527d76158a99bb9f7f30544a2f932bc573b4/.vim/bundle/vim-powerline-fonts/monaco.ttf -------------------------------------------------------------------------------- /.vim/bundle/vim-rust/README.md: -------------------------------------------------------------------------------- 1 | # rust.vim 2 | 3 | ## Description 4 | 5 | This is a vim plugin provides [Rust][r] file detection and syntax highlighting. 6 | 7 | It is synchronized daily to the vim support code in [mozilla/rust][mr]'s 8 | master branch via cronjob. 9 | 10 | ## Installation 11 | 12 | ### Using [Vundle][v] 13 | 14 | 1. Add `Bundle 'wting/rust.vim'` to `~/.vimrc` 15 | 2. `vim +BundleInstall +qall` 16 | 17 | *Note:* Vundle will not automatically detect Rust files properly if `filetype 18 | on` is executed before Vundle. Please check the [quickstart][vqs] for more 19 | details. 20 | 21 | ### Using [Pathogen][p] 22 | 23 | 1. `cd ~/.vim/bundle` 24 | 2. `git clone git://github.com/wting/rust.vim.git` 25 | 26 | [mr]: https://github.com/mozilla/rust 27 | [p]: https://github.com/tpope/vim-pathogen 28 | [r]: https://en.wikipedia.org/wiki/Rust_language 29 | [v]: https://github.com/gmarik/vundle 30 | [vqs]: https://github.com/gmarik/vundle#quick-start 31 | -------------------------------------------------------------------------------- /.vim/bundle/vim-rust/compiler/rustc.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: Rust Compiler 3 | " Maintainer: Chris Morgan 4 | " Latest Revision: 2013 Jul 12 5 | 6 | if exists("current_compiler") 7 | finish 8 | endif 9 | let current_compiler = "rustc" 10 | 11 | let s:cpo_save = &cpo 12 | set cpo&vim 13 | 14 | if exists(":CompilerSet") != 2 15 | command -nargs=* CompilerSet setlocal 16 | endif 17 | 18 | if exists("g:rustc_makeprg_no_percent") && g:rustc_makeprg_no_percent == 1 19 | CompilerSet makeprg=rustc 20 | else 21 | CompilerSet makeprg=rustc\ \% 22 | endif 23 | 24 | CompilerSet errorformat= 25 | \%f:%l:%c:\ %t%*[^:]:\ %m, 26 | \%f:%l:%c:\ %*\\d:%*\\d\ %t%*[^:]:\ %m, 27 | \%-G%f:%l\ %s, 28 | \%-G%*[\ ]^, 29 | \%-G%*[\ ]^%*[~], 30 | \%-G%*[\ ]... 31 | 32 | let &cpo = s:cpo_save 33 | unlet s:cpo_save 34 | -------------------------------------------------------------------------------- /.vim/bundle/vim-rust/doc/rust.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/purzelrakete/dotfiles/bdd8527d76158a99bb9f7f30544a2f932bc573b4/.vim/bundle/vim-rust/doc/rust.txt -------------------------------------------------------------------------------- /.vim/bundle/vim-rust/ftdetect/rust.vim: -------------------------------------------------------------------------------- 1 | au BufRead,BufNewFile *.rs,*.rc set filetype=rust 2 | -------------------------------------------------------------------------------- /.vim/bundle/vim-rust/plugin/rust.vim: -------------------------------------------------------------------------------- 1 | if exists("loaded_rust") || &cp 2 | finish 3 | endif 4 | 5 | let loaded_rust = 1 6 | -------------------------------------------------------------------------------- /.vim/bundle/vim-scala/ftdetect/scala.vim: -------------------------------------------------------------------------------- 1 | 2 | au BufRead,BufNewFile *.scala set filetype=scala 3 | -------------------------------------------------------------------------------- /.vim/bundle/vim-typescript/compiler/typescript.vim: -------------------------------------------------------------------------------- 1 | if exists("current_compiler") 2 | finish 3 | endif 4 | let current_compiler = "typescript" 5 | 6 | if !exists("g:typescript_compiler_binary") 7 | let g:typescript_compiler_binary = "tsc" 8 | endif 9 | 10 | if !exists("g:typescript_compiler_options") 11 | let g:typescript_compiler_options = "" 12 | endif 13 | 14 | if exists(":CompilerSet") != 2 15 | command! -nargs=* CompilerSet setlocal 16 | endif 17 | 18 | let s:cpo_save = &cpo 19 | set cpo-=C 20 | 21 | execute 'CompilerSet makeprg=' 22 | \ . escape(g:typescript_compiler_binary, ' ') 23 | \ . '\ ' 24 | \ . escape(g:typescript_compiler_options, ' ') 25 | \ . '\ $*\ %' 26 | 27 | CompilerSet errorformat=%+A\ %#%f\ %#(%l\\\,%c):\ %m,%C%m 28 | 29 | let &cpo = s:cpo_save 30 | unlet s:cpo_save 31 | -------------------------------------------------------------------------------- /.vim/bundle/vim-typescript/compiler/typescriptreact.vim: -------------------------------------------------------------------------------- 1 | runtime! compiler/typescript.vim 2 | -------------------------------------------------------------------------------- /.vim/bundle/vim-typescript/ftdetect/typescript.vim: -------------------------------------------------------------------------------- 1 | " use `set filetype` to override default filetype=xml for *.ts files 2 | autocmd BufNewFile,BufRead *.ts set filetype=typescript 3 | " use `setfiletype` to not override any other plugins like ianks/vim-tsx 4 | autocmd BufNewFile,BufRead *.tsx setfiletype typescript 5 | -------------------------------------------------------------------------------- /.vim/bundle/vim-typescript/ftplugin/typescript.vim: -------------------------------------------------------------------------------- 1 | if exists("b:did_ftplugin") 2 | finish 3 | endif 4 | let b:did_ftplugin = 1 5 | 6 | let s:cpo_save = &cpo 7 | set cpo-=C 8 | 9 | compiler typescript 10 | setlocal commentstring=//\ %s 11 | 12 | " Set 'formatoptions' to break comment lines but not other lines, 13 | " " and insert the comment leader when hitting or using "o". 14 | setlocal formatoptions-=t formatoptions+=croql 15 | 16 | setlocal suffixesadd+=.ts,.tsx 17 | 18 | let b:undo_ftplugin = "setl fo< ofu< com< cms<" 19 | 20 | let &cpo = s:cpo_save 21 | unlet s:cpo_save 22 | -------------------------------------------------------------------------------- /.vim/bundle/vim-typescript/ftplugin/typescriptreact.vim: -------------------------------------------------------------------------------- 1 | runtime! ftplugin/typescript.vim 2 | -------------------------------------------------------------------------------- /.vim/bundle/vim-typescript/indent/typescriptreact.vim: -------------------------------------------------------------------------------- 1 | runtime! indent/typescript.vim 2 | -------------------------------------------------------------------------------- /.vim/bundle/vim-typescript/syntax/typescriptreact.vim: -------------------------------------------------------------------------------- 1 | runtime! syntax/typescript.vim 2 | -------------------------------------------------------------------------------- /.vim/bundle/vim-typescript/vimshot01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/purzelrakete/dotfiles/bdd8527d76158a99bb9f7f30544a2f932bc573b4/.vim/bundle/vim-typescript/vimshot01.png -------------------------------------------------------------------------------- /.vim/bundle/vim-vsnip/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [hrsh7th] 4 | -------------------------------------------------------------------------------- /.vim/bundle/vim-vsnip/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | /doc/tags 3 | -------------------------------------------------------------------------------- /.vim/bundle/vim-vsnip/.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | -------------------------------------------------------------------------------- /.vim/bundle/vim-vsnip/autoload/vital/_vsnip.vim: -------------------------------------------------------------------------------- 1 | let s:_plugin_name = expand(':t:r') 2 | 3 | function! vital#{s:_plugin_name}#new() abort 4 | return vital#{s:_plugin_name[1:]}#new() 5 | endfunction 6 | 7 | function! vital#{s:_plugin_name}#function(funcname) abort 8 | silent! return function(a:funcname) 9 | endfunction 10 | -------------------------------------------------------------------------------- /.vim/bundle/vim-vsnip/autoload/vital/_vsnip/VS/LSP/Text.vim: -------------------------------------------------------------------------------- 1 | " ___vital___ 2 | " NOTE: lines between '" ___vital___' is generated by :Vitalize. 3 | " Do not modify the code nor insert new lines before '" ___vital___' 4 | function! s:_SID() abort 5 | return matchstr(expand(''), '\zs\d\+\ze__SID$') 6 | endfunction 7 | execute join(['function! vital#_vsnip#VS#LSP#Text#import() abort', printf("return map({'normalize_eol': '', 'split_by_eol': ''}, \"vital#_vsnip#function('%s_' . v:key)\")", s:_SID()), 'endfunction'], "\n") 8 | delfunction s:_SID 9 | " ___vital___ 10 | " 11 | " normalize_eol 12 | " 13 | function! s:normalize_eol(text) abort 14 | return substitute(a:text, "\r\n\\|\r", "\n", 'g') 15 | endfunction 16 | 17 | " 18 | " split_by_eol 19 | " 20 | function! s:split_by_eol(text) abort 21 | return split(a:text, "\r\n\\|\r\\|\n", v:true) 22 | endfunction 23 | 24 | -------------------------------------------------------------------------------- /.vim/bundle/vim-vsnip/autoload/vital/_vsnip/VS/Vim/Option.vim: -------------------------------------------------------------------------------- 1 | " ___vital___ 2 | " NOTE: lines between '" ___vital___' is generated by :Vitalize. 3 | " Do not modify the code nor insert new lines before '" ___vital___' 4 | function! s:_SID() abort 5 | return matchstr(expand(''), '\zs\d\+\ze__SID$') 6 | endfunction 7 | execute join(['function! vital#_vsnip#VS#Vim#Option#import() abort', printf("return map({'define': ''}, \"vital#_vsnip#function('%s_' . v:key)\")", s:_SID()), 'endfunction'], "\n") 8 | delfunction s:_SID 9 | " ___vital___ 10 | " 11 | " define 12 | " 13 | function! s:define(map) abort 14 | let l:old = {} 15 | for [l:key, l:value] in items(a:map) 16 | let l:old[l:key] = eval(printf('&%s', l:key)) 17 | execute printf('let &%s = "%s"', l:key, l:value) 18 | endfor 19 | return { -> s:define(l:old) } 20 | endfunction 21 | 22 | -------------------------------------------------------------------------------- /.vim/bundle/vim-vsnip/autoload/vital/vsnip.vital: -------------------------------------------------------------------------------- 1 | vsnip 2 | 2755f0c8fbd3442bcb7f567832e4d1455b57f9a2 3 | 4 | VS.LSP.TextEdit 5 | VS.LSP.Diff 6 | VS.LSP.Position 7 | -------------------------------------------------------------------------------- /.vim/bundle/vim-vsnip/autoload/vsnip/snippet/node/text.vim: -------------------------------------------------------------------------------- 1 | let s:uid = 0 2 | 3 | function! vsnip#snippet#node#text#import() abort 4 | return s:Text 5 | endfunction 6 | 7 | let s:Text = {} 8 | 9 | " 10 | " new. 11 | " 12 | function! s:Text.new(ast) abort 13 | let s:uid += 1 14 | 15 | return extend(deepcopy(s:Text), { 16 | \ 'uid': s:uid, 17 | \ 'type': 'text', 18 | \ 'value': a:ast.escaped, 19 | \ 'children': [], 20 | \ }) 21 | endfunction 22 | 23 | " 24 | " text. 25 | " 26 | function! s:Text.text() abort 27 | return self.value 28 | endfunction 29 | 30 | " 31 | " to_string 32 | " 33 | function! s:Text.to_string() abort 34 | return printf('%s(%s)', 35 | \ self.type, 36 | \ self.value 37 | \ ) 38 | endfunction 39 | -------------------------------------------------------------------------------- /.vim/bundle/vim-vsnip/misc/basic_spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "if": { 3 | "prefix": "if", 4 | "body": [ 5 | "if ${1:condition}", 6 | "\t$0", 7 | "endif" 8 | ] 9 | }, 10 | "inline-fn": { 11 | "prefix": ["inline-fn"], 12 | "body": [ 13 | "{ -> $1 }$0" 14 | ] 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /.vim/bundle/vim-vsnip/misc/source_spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "no-prefix-alias": { 3 | "prefix": ["---"], 4 | "body": ["${VIM:repeat('-', &tw)}"] 5 | }, 6 | "prefix-alias": { 7 | "prefix": ["arrow-function"], 8 | "body": "() => " 9 | }, 10 | "has-no-prefix": { 11 | "body": "() => " 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /.vim/bundle/vim-vsnip/misc/source_spec_vscode/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "contributes": { 3 | "snippets": [ 4 | { 5 | "path": "./source_spec_vscode.json", 6 | "language": "source_spec_vscode" 7 | } 8 | ] 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /.vim/bundle/vim-vsnip/misc/source_spec_vscode/source_spec_vscode.json: -------------------------------------------------------------------------------- 1 | { 2 | "func": { 3 | "prefix": "func", 4 | "body": [ 5 | "function! ${1:name}() abort", 6 | "\t$0", 7 | "endfunction" 8 | ] 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /.vim/plugin/soywiki_starter.vim: -------------------------------------------------------------------------------- 1 | " Vim script that turns Vim into a personal wiki 2 | " Maintainer: Daniel Choi 3 | " License: MIT License (c) 2011 Daniel Choi 4 | 5 | if exists("g:SoyWikiStarterLoaded") || &cp || version < 700 6 | finish 7 | endif 8 | let g:SoyWikiStarterLoaded = 1 9 | 10 | 11 | func! Soywiki() 12 | source /Library/Ruby/Gems/2.6.0/gems/soywiki-0.9.8.3/lib/soywiki.vim 13 | endfunc 14 | 15 | command! -bar -nargs=0 Soywiki :call Soywiki() 16 | 17 | -------------------------------------------------------------------------------- /.vimrc: -------------------------------------------------------------------------------- 1 | if exists('g:vscode') 2 | source ~/.vscode.vimrc 3 | else 4 | source ~/.terminal.vimrc 5 | endif 6 | 7 | -------------------------------------------------------------------------------- /.zsh/.prompt: -------------------------------------------------------------------------------- 1 | #!/bin/zsh 2 | 3 | setopt prompt_subst 4 | autoload -Uz vcs_info 5 | autoload -U colors && colors 6 | 7 | zstyle ':vcs_info:*' actionformats '%F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{3}|%F{1}%a%F{5}]%f ' 8 | zstyle ':vcs_info:*' formats '%F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{5}]%f ' 9 | zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat '%b%F{1}:%F{3}%r' 10 | zstyle ':vcs_info:*' enable git cvs svn 11 | 12 | vcs_info_wrapper() { 13 | vcs_info 14 | if [ -n "$vcs_info_msg_0_" ]; then 15 | echo "%{$fg[grey]%}${vcs_info_msg_0_}%{$reset_color%}$del" 16 | fi 17 | } 18 | 19 | RPROMPT=$'$(vcs_info_wrapper)' 20 | 21 | if [[ $(hostname) = "przl.local" ]] || [[ $(hostname) = "purzelcave" ]] || [[ $(hostname) = "przl" ]] 22 | then 23 | PS1="%(?.%{$fg[blue]%}.%{$fg[red]%}) ο %{$reset_color%}%m:%2c " 24 | else 25 | PS1="%(?.%{$fg[blue]%}.%{$fg[red]%})φ %{$reset_color%}%m:%2c " 26 | fi 27 | -------------------------------------------------------------------------------- /.zsh/syntax-highlighting/.gitignore: -------------------------------------------------------------------------------- 1 | *.zwc* 2 | -------------------------------------------------------------------------------- /.zsh/syntax-highlighting/highlighters/cursor/README.md: -------------------------------------------------------------------------------- 1 | zsh-syntax-highlighting / highlighters / cursor 2 | ================================================= 3 | 4 | This is the ***cursor*** highlighter, that highlights the cursor. 5 | 6 | 7 | How to activate it 8 | ------------------ 9 | To activate it, add it to `ZSH_HIGHLIGHT_HIGHLIGHTERS`: 10 | 11 | ZSH_HIGHLIGHT_HIGHLIGHTERS=( [...] cursor) 12 | 13 | 14 | How to tweak it 15 | --------------- 16 | This highlighter defines the following styles: 17 | 18 | * `cursor` - the style for the current cursor position 19 | 20 | To override one of those styles, change its entry in `ZSH_HIGHLIGHT_STYLES`, for example in `~/.zshrc`: 21 | 22 | ZSH_HIGHLIGHT_STYLES[cursor]='bg=blue' 23 | 24 | The syntax for declaring styles is [documented here](http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#SEC135). 25 | -------------------------------------------------------------------------------- /.zsh/syntax-highlighting/highlighters/pattern/README.md: -------------------------------------------------------------------------------- 1 | zsh-syntax-highlighting / highlighters / pattern 2 | ================================================ 3 | 4 | This is the ***pattern*** highlighter, that highlights user defined patterns. 5 | 6 | 7 | How to activate it 8 | ------------------ 9 | To activate it, add it to `ZSH_HIGHLIGHT_HIGHLIGHTERS`: 10 | 11 | ZSH_HIGHLIGHT_HIGHLIGHTERS=( [...] pattern) 12 | 13 | 14 | How to tweak it 15 | --------------- 16 | To use this highlighter, associate patterns with styles in the `ZSH_HIGHLIGHT_PATTERNS` array, for example in `~/.zshrc`: 17 | 18 | # To have commands starting with `rm -rf` in red: 19 | ZSH_HIGHLIGHT_PATTERNS+=('rm -rf *' 'fg=white,bold,bg=red') 20 | 21 | The syntax for declaring styles is [documented here](http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#SEC135). 22 | -------------------------------------------------------------------------------- /.zsh/syntax-highlighting/highlighters/root/README.md: -------------------------------------------------------------------------------- 1 | zsh-syntax-highlighting / highlighters / root 2 | ================================================= 3 | 4 | This is the ***root*** highlighter, that highlights the whole line if the current user is root. 5 | 6 | 7 | How to activate it 8 | ------------------ 9 | To activate it, add it to `ZSH_HIGHLIGHT_HIGHLIGHTERS`: 10 | 11 | ZSH_HIGHLIGHT_HIGHLIGHTERS=( [...] root) 12 | 13 | 14 | How to tweak it 15 | --------------- 16 | This highlighter defines the following styles: 17 | 18 | * `root` - the style for the whole line if the current user is root. 19 | 20 | To override one of those styles, change its entry in `ZSH_HIGHLIGHT_STYLES`, for example in `~/.zshrc`: 21 | 22 | ZSH_HIGHLIGHT_STYLES[root]='bg=red' 23 | 24 | The syntax for declaring styles is [documented here](http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#SEC135). 25 | -------------------------------------------------------------------------------- /.zsh/syntax-highlighting/tests/README.md: -------------------------------------------------------------------------------- 1 | zsh-syntax-highlighting / tests 2 | =============================== 3 | 4 | Utility scripts for testing zsh-syntax-highlighting highlighters. 5 | 6 | The tests expect the highlighter directory to contain a `test-data` directory with test data files. See the [main highlighter](../highlighters/main/test-data) for examples. 7 | 8 | 9 | highlighting test 10 | ----------------- 11 | [`test-highlighting.zsh`](tests/test-highlighting.zsh) tests the correctness of the highlighting. Usage: 12 | 13 | zsh test-highlighting.zsh 14 | 15 | 16 | performance test 17 | ---------------- 18 | [`test-perfs.zsh`](tests/test-perfs.zsh) measures the time spent doing the highlighting. Usage: 19 | 20 | zsh test-perfs.zsh 21 | -------------------------------------------------------------------------------- /60-synaptics.conf: -------------------------------------------------------------------------------- 1 | Section "InputClass" 2 | Identifier "touchpad" 3 | Driver "synaptics" 4 | MatchIsTouchpad "on" 5 | MatchDevicePath "/dev/input/event*" 6 | Option "FingerHigh" "50" 7 | Option "RTCornerButton" "0" 8 | Option "RBCornerButton" "0" 9 | Option "MinSpeed" "0.7" 10 | Option "MaxSpeed" "1.7" 11 | Option "SHMConfig" "on" 12 | Option "TapAndDragGesture" "off" 13 | Option "PalmDetect" "on" 14 | EndSection 15 | -------------------------------------------------------------------------------- /archive: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | set -u 5 | 6 | archive=~/.dotarchive 7 | 8 | if [[ ! -d $archive ]] 9 | then 10 | mkdir $archive 11 | for dotfile in $(echo $(pwd)/.[^.]* | xargs -n1 | grep -v '\.git$' | xargs) 12 | do 13 | name=$(basename "$dotfile") 14 | src="${HOME}/$name" 15 | if [[ -f "$src" ]] 16 | then 17 | cp "$src" "$archive" 18 | fi 19 | done 20 | fi 21 | -------------------------------------------------------------------------------- /bin/auth: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | set -u 5 | 6 | cmd="$@" 7 | cred=$(gpg --decrypt ~/.przl.asc) 8 | 9 | eval "$cred" 10 | exec "$cmd" 11 | -------------------------------------------------------------------------------- /bin/dev: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | dev_home=~/Dropbox/bwiki/dev 4 | topic=$1 5 | arg=$2 6 | 7 | display() { 8 | echo $topic | \ 9 | sed 's/$/Dev/g' | \ 10 | sed 's/-//g' | \ 11 | xargs find $dev_home -iname | \ 12 | sed 1q | \ 13 | xargs cat | \ 14 | sed 1,2d 15 | } 16 | 17 | scoreize() { 18 | gsed 's/\([A-Z]\)/-\1/g' | \ 19 | gsed 's/^-//g' | \ 20 | tr [:upper:] [:lower:] 21 | } 22 | 23 | topics() { 24 | ls $dev_home | \ 25 | grep -v HomePage | \ 26 | gsed 's/\(.*\)Dev/\1/g' | \ 27 | scoreize | \ 28 | sort 29 | } 30 | 31 | expr $# > /dev/null || { echo >&2 glossary ls lists valid topics.; exit 1; } 32 | 33 | case $topic in 34 | ls) 35 | topics 36 | ;; 37 | *) 38 | if test -z $arg 39 | then 40 | display | less 41 | else 42 | display | sed -n '/^[a-zA-Z]/ p' | sort | uniq | more 43 | fi 44 | ;; 45 | esac 46 | 47 | -------------------------------------------------------------------------------- /bin/drake: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | drip -cp ~/.jars/drake.jar drake.core $@ 4 | -------------------------------------------------------------------------------- /bin/dwm-launch: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cd ~ 4 | while true 5 | do 6 | xsetroot -name "`date +"%Y-%m-%d %H:%M"`" 7 | sleep 5 8 | done & 9 | exec /usr/local/bin/dwm 10 | -------------------------------------------------------------------------------- /bin/field: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | awk '{ print $'$1' }' 4 | -------------------------------------------------------------------------------- /bin/focus: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | command clear 4 | read 5 | 6 | -------------------------------------------------------------------------------- /bin/g: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | egrep $* 4 | -------------------------------------------------------------------------------- /bin/gcalsync: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | set -u 5 | set -o pipefail 6 | 7 | key="$1" 8 | account="$2" 9 | url="$(kc -s calendar.google.com -a $account)" 10 | 11 | if curl -sI "$url" >/dev/null 12 | then 13 | curl -s "$url" > ~/.calendar/$key.ics 14 | else 15 | exit 1 16 | fi 17 | 18 | -------------------------------------------------------------------------------- /bin/hrs: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if uname -a | grep "^Darwin" >/dev/null 4 | then 5 | echo $(pmset -b -g ps | sed -n 2p | field 4 | grep -v no) 6 | fi 7 | 8 | -------------------------------------------------------------------------------- /bin/ijulia: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # julia -e 'using IJulia; IJulia.installkernel("Julia nodeps", "--depwarn=no"); notebook(dir=pwd())' 4 | julia --project=. -e 'using IJulia; notebook(dir=pwd())' 5 | -------------------------------------------------------------------------------- /bin/ips: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ifconfig | awk '/^[^ ]/ { device = $1 } /inet[^6]/ { print device, $2 }' 4 | -------------------------------------------------------------------------------- /bin/irssi-customized: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | set -u 5 | 6 | theme=${SOLARIZED_MODE:-dark} 7 | workpw="$(kc -a purzelrakete -s irc.work.com)" 8 | bitlbeepw="$(kc -a purzelrakete -s irc.playtype.net)" 9 | focus=${FOCUS:-b} 10 | 11 | case "$focus" in 12 | s) work=yes ;; 13 | *) work=no ;; 14 | esac 15 | 16 | case "$theme" in 17 | light) trackbar=w ;; 18 | *) trackbar=k ;; 19 | esac 20 | 21 | sed -f /dev/stdin ~/.irssi/config.example <<-CFG > ~/.irssi/config 22 | s/\$THEME/$theme/g 23 | s/\$TRACKBAR/$trackbar/g 24 | s/\$BITLBEE/$bitlbeepw/g 25 | s/\$WORKPW/$workpw/g 26 | s/\$WORK/$work/g 27 | CFG 28 | 29 | irssi 30 | 31 | -------------------------------------------------------------------------------- /bin/julia-link: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ln -s ~/Dropbox/code/*.jl ~/.julia 4 | -------------------------------------------------------------------------------- /bin/lint-python: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | pycodestyle --show-source --show-pep8 --ignore E501 . 4 | -------------------------------------------------------------------------------- /bin/load: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | uptime | sed -E 's/^.*averages: (.*)/\1/' 4 | -------------------------------------------------------------------------------- /bin/ml-class-rename: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | normalize() { 4 | local source="$1" 5 | 6 | echo ${source// /.} | \ 7 | tr '[:upper:]' '[:lower:]' | \ 8 | sed 's/\.-\./\./g' | \ 9 | sed 's/[()]/./g' | \ 10 | sed 's/\.\./\./g' | \ 11 | awk ' 12 | BEGIN { 13 | FS = "." 14 | OFS = "." 15 | } 16 | 17 | /./ { 18 | printf("%02d.", $1) 19 | for (i = 2; i < NF; i++) { printf $i "." } 20 | print $NF 21 | }' 22 | } 23 | 24 | for file in *.mp4 25 | do 26 | target="$(normalize "$file")" 27 | mv "$file" "$target" 28 | done 29 | -------------------------------------------------------------------------------- /bin/moob: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | moob_home=~/Dropbox/bwiki/moob 4 | topic=$1 5 | 6 | display() { 7 | echo $topic | \ 8 | sed 's/$/Help/g' | \ 9 | sed 's/-//g' | \ 10 | xargs find $moob_home -iname | \ 11 | sed 1q | \ 12 | xargs cat | \ 13 | sed 1,2d | \ 14 | less 15 | } 16 | 17 | scoreize() { 18 | sed 's/\([A-Z]\)/-\1/g' | \ 19 | sed 's/^-//g' | \ 20 | tr [:upper:] [:lower:] 21 | } 22 | 23 | topics() { 24 | ls $moob_home | \ 25 | grep -v HomePage | \ 26 | sed 's/\(.*\)Help/\1/g' | \ 27 | scoreize | \ 28 | sort 29 | } 30 | 31 | expr $# > /dev/null || { echo >&2 moob ls lists valid topics.; exit 1; } 32 | 33 | case $topic in 34 | ls) 35 | topics 36 | ;; 37 | *) 38 | display 39 | ;; 40 | esac 41 | 42 | -------------------------------------------------------------------------------- /bin/mou: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | open /Applications/Mou.app "$@" 4 | -------------------------------------------------------------------------------- /bin/msg: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # sends an empty email with the message as subject ending in EOM. 4 | 5 | set -e 6 | set -u 7 | 8 | echo | mail -s "$2 EOM" "$1" 9 | -------------------------------------------------------------------------------- /bin/mutt-open: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | import sys 4 | import time 5 | import webbrowser 6 | 7 | html = "file://" + sys.argv[1] 8 | webbrowser.open(html) 9 | time.sleep(2) 10 | 11 | -------------------------------------------------------------------------------- /bin/networkchange: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | PATH=$PATH:/System/Library/PrivateFrameworks 4 | PATH=$PATH/Apple80211.framework/Versions/A/Resources 5 | 6 | field() { awk "{ print \$$1 }"; } 7 | open() { open /Applications/Tunnelblick.app; } 8 | seal() { ps -ef | grep -i [t]unnelblick | field 2 | xargs kill -9; } 9 | ssid() { airport -I | grep [^B]SSID | field NF; } 10 | 11 | sleep 5 12 | 13 | case $(ssid) in 14 | purzelcave) seal ;; 15 | SoundBase) open ;; 16 | esac 17 | -------------------------------------------------------------------------------- /bin/newsbeuter-open: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | import sys 4 | import time 5 | import webbrowser 6 | 7 | html = sys.argv[1] 8 | webbrowser.open(html) 9 | 10 | -------------------------------------------------------------------------------- /bin/notebook: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | jupyter notebook \ 4 | --ip=0.0.0.0 \ 5 | --no-browser -y 6 | -------------------------------------------------------------------------------- /bin/oi: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -o pipefail 4 | set -u 5 | 6 | name=${name:-offlineimap} 7 | services=${services:-/etc/service} 8 | service=$services/$name 9 | pid=$(sudo cat $service/supervise/pid) 10 | sleep_pid=$(ps -ef | grep $pid | grep sleep | field 2) 11 | 12 | if [[ $? == 0 ]]; then 13 | command clear 14 | sudo kill $sleep_pid 15 | tail -fn0 $service/log/main/current 16 | else 17 | command clear 18 | echo offlineimap is currently running, not doing anything. press enter 19 | read -n1 20 | fi 21 | -------------------------------------------------------------------------------- /bin/pcot: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby -rhpricot 2 | 3 | puts Hpricot(STDIN.read).search "#{ ARGV[0] } " 4 | 5 | -------------------------------------------------------------------------------- /bin/pick: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | pic() { 4 | read reponse 5 | case "$reponse" in 6 | y) 7 | echo $line 8 | ;; 9 | q) 10 | break 11 | ;; 12 | esac 13 | } 14 | 15 | case $# in 16 | 0) 17 | while read line 18 | do 19 | /bin/echo -n $line?\ >/dev/tty 20 | pic &2 message required. && usage & exit 1 29 | fi 30 | 31 | if >/dev/null which say; then 32 | say "$message" 33 | else 34 | if >/dev/null which festival; then 35 | festival -b "(SayText \"$message\")" 36 | else 37 | echo >&2 speech cli not found. aborting && exit 2 38 | fi 39 | fi 40 | -------------------------------------------------------------------------------- /bin/t: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | sessions="$(tmux ls 2> /dev/null)" 4 | ret="$?" 5 | 6 | if test "$ret" -eq 0 7 | then 8 | if test $(echo $sessions | wc -l) -eq 1 9 | then 10 | tmux at 11 | else 12 | echo $sessions 13 | echo pick a session to attach into 14 | read count 15 | tmux at -t$count 16 | fi 17 | else 18 | tmux new 19 | fi 20 | 21 | -------------------------------------------------------------------------------- /bin/tremote: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # open an ssh session to $1 and drop into tmux 4 | 5 | ssh $1 -t '~/bin/t' 6 | -------------------------------------------------------------------------------- /bin/trigger: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | while read -n1 4 | do 5 | clear 6 | "$@" 7 | done 8 | -------------------------------------------------------------------------------- /bin/twhile: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | while read; do 4 | command clear 5 | echo 6 | "$@" 7 | done 8 | -------------------------------------------------------------------------------- /bin/watch-memory: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | set -u 5 | 6 | g() { grep "$1" | grep -v grep; } 7 | 8 | watch "ps -axvm | g "$1" | field 7 | ruby -ne 'puts $_.to_i / 1024.0 ** 2'" 9 | 10 | -------------------------------------------------------------------------------- /bin/wcat: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | set -u 5 | 6 | cmd=$1 # force exit due to -e if $1 is unse 7 | file=$(which $cmd) 8 | file $file | grep "shell script" # force exit if not editable 9 | 10 | cat $file 11 | 12 | -------------------------------------------------------------------------------- /bin/zap: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | psg "$1" | grep -v './zap' | pick | field 1 | xargs kill -9 4 | 5 | -------------------------------------------------------------------------------- /boot.sbt: -------------------------------------------------------------------------------- 1 | resolvers ++= Seq(Resolver.url("sbt-plugin-releases", 2 | new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/"))(Resolver.ivyStylePatterns)) 3 | 4 | addSbtPlugin("org.ensime" % "ensime-sbt-cmd" % "0.0.10") 5 | 6 | addSbtPlugin("net.ceedubs" %% "sbt-ctags" % "0.2.0") 7 | -------------------------------------------------------------------------------- /pin: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | 5 | # link dotfiles 6 | ln -sfv $(echo $(pwd)/.[^.]* | \ 7 | xargs -n1 | \ 8 | grep -v '\.config' |\ 9 | grep -v '\.git$' | \ 10 | grep -v '\.gnupg' |\ 11 | xargs) ~ 12 | 13 | # link config 14 | mkdir -p ~/.config 15 | # find .config \ 16 | # -maxdepth 1 \ 17 | # -mindepth 1 \ 18 | # -type d | xargs -I{} ln -sf $(realpath {}) ~/.config 19 | 20 | # scala - sbt 21 | mkdir -p ~/.sbt/plugins 22 | ln -svf $(pwd)/boot.sbt ~/.sbt/plugins 23 | 24 | # link binaries 25 | mkdir -p ~/bin 26 | ln -sfv $(pwd)/bin/* ~/bin 27 | 28 | # configure trackpad on linux 29 | if uname -a | grep "^Linux" >/dev/null; then 30 | sudo cp 60-synaptics.conf /usr/share/X11/xorg.conf.d 31 | fi 32 | 33 | # services 34 | rm -rf ~/service 35 | cp -r service ~ 36 | 37 | echo 38 | echo YO! 39 | -------------------------------------------------------------------------------- /service/bitlbee/log/main/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /service/bitlbee/log/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec svlogd -tt ./main 4 | -------------------------------------------------------------------------------- /service/bitlbee/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | set -u 5 | 6 | PATH=$PATH:/usr/sbin:/usr/local/bin:/usr/local/sbin 7 | 8 | exec 2>&1 9 | exec bitlbee -D -n -p 6468 -i 127.0.0.1 10 | -------------------------------------------------------------------------------- /service/calendar/log/main/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /service/calendar/log/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec svlogd -tt ./main 4 | -------------------------------------------------------------------------------- /service/calendar/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | PATH=$PATH:~purzelrakete/bin 4 | 5 | exec 2>&1 6 | 7 | gcalsync home purzelrakete@gmail.com 8 | gcalsync both both@gmail.com 9 | 10 | sleep 1500 11 | -------------------------------------------------------------------------------- /service/godoc/log/main/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /service/godoc/log/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec svlogd -tt ./main 4 | -------------------------------------------------------------------------------- /service/godoc/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | set -u 5 | 6 | PATH=$PATH:/usr/sbin:/usr/local/bin 7 | 8 | exec 2>&1 9 | exec godoc -http=:9000 -index=true 10 | -------------------------------------------------------------------------------- /service/offlineimap/log/main/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /service/offlineimap/log/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec svlogd -tt ./main 4 | -------------------------------------------------------------------------------- /service/offlineimap/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | set -u 5 | 6 | PATH=$PATH:/usr/sbin:/usr/local/bin 7 | HOME=~purzelrakete 8 | 9 | exec 2>&1 10 | sleep 15 11 | exec offlineimap 12 | --------------------------------------------------------------------------------