From 000248e9850738fb8eaff5c1a9a5e0d41e2a1e4a Mon Sep 17 00:00:00 2001 From: Michael Chalupiak Date: Wed, 11 Sep 2024 16:16:57 -0400 Subject: [PATCH 1/7] kak-treesitter --- config/.config/kak-tree-sitter/config.toml | 1440 ++++++++++++++++++++ 1 file changed, 1440 insertions(+) create mode 100644 config/.config/kak-tree-sitter/config.toml diff --git a/config/.config/kak-tree-sitter/config.toml b/config/.config/kak-tree-sitter/config.toml new file mode 100644 index 0000000..c4108a2 --- /dev/null +++ b/config/.config/kak-tree-sitter/config.toml @@ -0,0 +1,1440 @@ +# kak-tree-sitter default configuration file. +# +# It is highly recommended for users to copy that file and edit it manually if they need to add support for languages +# not present yet. + +# List of features to be enabled/disabled. Most of those features can be +# overriden in the user configuration, or even on the CLI — see --with-* flags. +[features] +highlighting = true +text_objects = true + +[highlight] +# Top-level highlight capture group declarations. If your grammars uses a capture group that is not defined here, you +# have to add it to the list. +groups = [ + "attribute", + "comment", + "comment.block", + "comment.line", + "constant", + "constant.builtin", + "constant.builtin.boolean", + "constant.character", + "constant.character.escape", + "constant.macro", + "constant.numeric", + "constant.numeric.float", + "constant.numeric.integer", + "constructor", + "diff.plus", + "diff.minus", + "diff.delta", + "diff.delta.moved", + "embedded", + "error", + "function", + "function.builtin", + "function.macro", + "function.method", + "function.special", + "hint", + "include", + "info", + "keyword", + "keyword.conditional", + "keyword.control", + "keyword.control.conditional", + "keyword.control.except", + "keyword.control.exception", + "keyword.control.import", + "keyword.control.repeat", + "keyword.control.return", + "keyword.directive", + "keyword.function", + "keyword.operator", + "keyword.special", + "keyword.storage", + "keyword.storage.modifier", + "keyword.storage.modifier.mut", + "keyword.storage.modifier.ref", + "keyword.storage.type", + "label", + "load", + "markup.bold", + "markup.heading", + "markup.heading.1", + "markup.heading.2", + "markup.heading.3", + "markup.heading.4", + "markup.heading.5", + "markup.heading.6", + "markup.heading.marker", + "markup.italic", + "markup.link.label", + "markup.link.text", + "markup.link.url", + "markup.link.uri", + "markup.list.checked", + "markup.list.numbered", + "markup.list.unchecked", + "markup.list.unnumbered", + "markup.quote" , + "markup.raw", + "markup.raw.block", + "markup.raw.inline", + "markup.strikethrough", + "namespace", + "operator", + "punctuation", + "punctuation.bracket", + "punctuation.delimiter", + "punctuation.special", + "special", + "string", + "string.escape", + "string.regexp", + "string.special", + "string.special.path", + "string.special.symbol", + "string.symbol", + "tag", + "tag.error", + "text", + "type", + "type.builtin", + "type.enum.variant", + "variable", + "variable.builtin", + "variable.other.member", + "variable.parameter", + "warning", +] + +# astro +[language.astro.grammar.source.git] +url = "https://github.com/virchau13/tree-sitter-astro" +pin = "4be180759ec13651f72bacee65fa477c64222a1a" + +[language.astro.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../scanner.c", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "astro.so"] +link_flags = ["-O3"] + +[language.astro.queries.source.git] +url = "https://git.sr.ht/~hadronized/kak-tree-sitter" +pin = "862f6cd58b38d9d1b4abfb722b4a4b25bdae2586" + +[language.astro.queries] +path = "runtime/queries/astro" + +# awk +[language.awk.grammar.source.git] +url = "https://github.com/Beaglefoot/tree-sitter-awk" +pin = "8eaa762d05cc67c0e2cc53a0a71750b3c16733c2" + +[language.awk.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../scanner.c", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "awk.so"] +link_flags = ["-O3"] + +[language.awk.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "dbd248fdfa680373d94fbc10094a160aafa0f7a7" + +[language.awk.queries] +path = "runtime/queries/awk" + +# bash +[language.bash.grammar.source.git] +url = "https://github.com/tree-sitter/tree-sitter-bash" +pin = "275effdfc0edce774acf7d481f9ea195c6c403cd" + +[language.bash.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../scanner.cc", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "bash.so"] +link_flags = ["-O3", "-lstdc++"] + +[language.bash.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "dbd248fdfa680373d94fbc10094a160aafa0f7a7" + +[language.bash.queries] +path = "runtime/queries/bash" + +# bass +# TODO + +# beancount +# TODO + +# bibtex +[language.bibtex.grammar.source.git] +url = "https://github.com/latex-lsp/tree-sitter-bibtex" +pin = "ccfd77db0ed799b6c22c214fe9d2937f47bc8b34" + +[language.bibtex.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "parser.o", "-o", "bibtex.so"] +link_flags = ["-O3"] + +[language.bibtex.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "dbd248fdfa680373d94fbc10094a160aafa0f7a7" + +[language.bibtex.queries] +path = "runtime/queries/bibtex" + +# bicep +# TODO + +# c +[language.c.grammar.source.git] +url = "https://github.com/tree-sitter/tree-sitter-c" +pin = "7175a6dd5fc1cee660dce6fe23f6043d75af424a" + +[language.c.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "parser.o", "-o", "c.so"] +link_flags = ["-O3"] + +[language.c.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "dbd248fdfa680373d94fbc10094a160aafa0f7a7" + +[language.c.queries] +path = "runtime/queries/c" + +# cabal +# TODO + +# cairo +# TODO + +# capnp +# TODO + +# clojure +# TODO + +# cmake +[language.cmake.grammar.source.git] +url = "https://github.com/uyha/tree-sitter-cmake" +pin = "6e51463ef3052dd3b328322c22172eda093727ad" + +[language.cmake.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../parser.c", "../scanner.cc", "-I", ".."] +compile_flags = ["-O3", "-flto=auto", "-march=native"] +link = "cc" +link_args = ["-shared", "-fpic", "parser.o", "scanner.o", "-o", "cmake.so"] +link_flags = ["-O3", "-lstdc++", "-flto=auto"] + +[language.cmake.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "dbd248fdfa680373d94fbc10094a160aafa0f7a7" + +[language.cmake.queries] +path = "runtime/queries/cmake" + +# comment +[language.comment.grammar.source.git] +url = "https://github.com/stsewd/tree-sitter-comment" +pin = "94c99a66bb5051d8321b5900aee92b76450c50ce" + +[language.comment.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../scanner.c", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "comment.so"] +link_flags = ["-O3"] + +[language.comment.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "dbd248fdfa680373d94fbc10094a160aafa0f7a7" + +[language.comment.queries] +path = "runtime/queries/comment" + +# common-lisp +# TODO + +# cpon +# TODO + +# cpp +[language.cpp.grammar.source.git] +url = "https://github.com/tree-sitter/tree-sitter-cpp" +pin = "670404d7c689be1c868a46f919ba2a3912f2b7ef" + +[language.cpp.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../scanner.cc", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "cpp.so"] +link_flags = ["-O3", "-lstdc++"] + +[language.cpp.queries.source.git] +url = "https://git.sr.ht/~hadronized/kak-tree-sitter" +pin = "b0ecb0d376c94d2fa4814816b41986bf5d735384" + +[language.cpp.queries] +path = "runtime/queries/cpp" + +# crystal +# TODO + +# c-sharp +[language.csharp.grammar.source.git] +url = "https://github.com/tree-sitter/tree-sitter-c-sharp" +pin = "92c0a9431400cd8b6b6ee7503f81da3ae83fc830" + +[language.csharp.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../scanner.c", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "csharp.so"] +link_flags = ["-O3"] + +[language.csharp.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "be307a420480178c1bc443992c8336f6471b8b7b" + +[language.csharp.queries] +path = "runtime/queries/c-sharp" + +# css +[language.css.grammar.source.git] +url = "https://github.com/tree-sitter/tree-sitter-css" +pin = "769203d0f9abe1a9a691ac2b9fe4bb4397a73c51" + +[language.css.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../scanner.c", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "css.so"] +link_flags = ["-O3"] + +[language.css.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "dbd248fdfa680373d94fbc10094a160aafa0f7a7" + +[language.css.queries] +path = "runtime/queries/css" + +# cue +# TODO + +# d +# TODO + +# dart +# TODO + +# devicetree +# TODO + +# dhall +# TODO + +# diff +[language.diff.grammar.source.git] +url = "https://github.com/the-mikedavis/tree-sitter-diff" +pin = "fd74c78fa88a20085dbc7bbeaba066f4d1692b63" + +[language.diff.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "parser.o", "-o", "diff.so"] +link_flags = ["-O3"] + +[language.diff.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "dbd248fdfa680373d94fbc10094a160aafa0f7a7" + +[language.diff.queries] +path = "runtime/queries/diff" + +# dockerfile +# TODO + +# dot +# TODO + +# dtd +# TODO + +# ecma +# TODO + +# edoc +# TODO + +# eex +# TODO + +# ejs +# TODO + +# elixir +[language.elixir.grammar.source.git] +url = "https://github.com/elixir-lang/tree-sitter-elixir" +pin = "511ea5e0088779e4bdd76e12963ab9a5fe99983a" + +[language.elixir.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../scanner.c", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "elixir.so"] +link_flags = ["-O3"] + +[language.elixir.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "be307a420480178c1bc443992c8336f6471b8b7b" + +[language.elixir.queries] +path = "runtime/queries/elixir" + +# elm +# TODO + +# elvish +# TODO + +# env +# TODO + +# erb +# TODO + +# erlang +# TODO + +# esdl +# TODO + +# fish +[language.fish.grammar.source.git] +url = "https://github.com/ram02z/tree-sitter-fish" +pin = "84436cf24c2b3176bfbb220922a0fdbd0141e406" + +[language.fish.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../parser.c", "../scanner.c", "-I", ".."] +compile_flags = ["-O3", "-march=native", "-flto=auto"] +link = "cc" +link_args = ["-shared", "-fpic", "parser.o", "scanner.o", "-o", "fish.so"] +link_flags = ["-O3", "-flto=auto"] + +[language.fish.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "dbd248fdfa680373d94fbc10094a160aafa0f7a7" + +[language.fish.queries] +path = "runtime/queries/fish" + +# fortran +# TODO + +# gdscript +# TODO + +# git-attributes +# TODO + +# git-commit +[language.git-commit.grammar.source.git] +url = "https://github.com/the-mikedavis/tree-sitter-git-commit" +pin = "db88cffa3952dd2328b741af5d0fc69bdb76704f" + +[language.git-commit.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "parser.o", "-o", "git-commit.so"] +link_flags = ["-O3"] + +[language.git-commit.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "dbd248fdfa680373d94fbc10094a160aafa0f7a7" + +[language.git-commit.queries] +path = "runtime/queries/git-commit" + +# git-config +# TODO + +# git-ignore +# TODO + +# git-rebase +# TODO + +# gleam +# TODO + +# glsl +# TODO + +# go +[language.go.grammar.source.git] +url = "https://github.com/tree-sitter/tree-sitter-go" +pin = "64457ea6b73ef5422ed1687178d4545c3e91334a" + +[language.go.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "parser.o", "-o", "go.so"] +link_flags = ["-O3"] + +[language.go.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "dbd248fdfa680373d94fbc10094a160aafa0f7a7" + +[language.go.queries] +path = "runtime/queries/go" + +# godot-resource +# TODO + +# gomod +# TODO + +# gotmpl +# TODO + +# gowork +# TODO + +# graphql +# TODO + +# hare +# TODO + +# haskell +[language.haskell.grammar.source.git] +url = "https://github.com/tree-sitter/tree-sitter-haskell" +pin = "98fc7f59049aeb713ab9b72a8ff25dcaaef81087" + +[language.haskell.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../parser.c", "../scanner.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "parser.o", "scanner.o", "-o", "haskell.so"] +link_flags = ["-O3"] + +[language.haskell.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "dbd248fdfa680373d94fbc10094a160aafa0f7a7" + +[language.haskell.queries] +path = "runtime/queries/haskell" + +# hcl +# TODO + +# heex +# TODO + +# hosts +# TODO + +# html +[language.html.grammar.source.git] +url = "https://github.com/tree-sitter/tree-sitter-html" +pin = "86c253e675e7fdd1c0482efe0706f24bafbc3a7d" + +[language.html.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../parser.c", "../scanner.cc", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "html.so"] +link_flags = ["-O3", "-lstdc++"] + +[language.html.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "dbd248fdfa680373d94fbc10094a160aafa0f7a7" + +[language.html.queries] +path = "runtime/queries/html" + +# hurl +# TODO + +# iex +# TODO + +# ini +# TODO + +# java +[language.java.grammar.source.git] +url = "https://github.com/tree-sitter/tree-sitter-java" +pin = "09d650def6cdf7f479f4b78f595e9ef5b58ce31e" + +[language.java.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "parser.o", "-o", "java.so"] +link_flags = ["-O3"] + +[language.java.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "dbd248fdfa680373d94fbc10094a160aafa0f7a7" + +[language.java.queries] +path = "runtime/queries/java" + +# javascript +[language.javascript.grammar.source.git] +url = "https://github.com/tree-sitter/tree-sitter-javascript" +pin = "f1e5a09b8d02f8209a68249c93f0ad647b228e6e" + +[language.javascript.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../scanner.c", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "javascript.so"] +link_flags = ["-O3"] + +[language.javascript.queries.source.git] +url = "https://git.sr.ht/~hadronized/kak-tree-sitter" +pin = "834d348b85868fbe9033231e72f29be361346aeb" + +[language.javascript.queries] +path = "runtime/queries/javascript" + +# jsdoc +# TODO + +# json +[language.json.grammar.source.git] +url = "https://github.com/tree-sitter/tree-sitter-json" +pin = "73076754005a460947cafe8e03a8cf5fa4fa2938" + +[language.json.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "parser.o", "-o", "json.so"] +link_flags = ["-O3"] + +[language.json.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "dbd248fdfa680373d94fbc10094a160aafa0f7a7" + +[language.json.queries] +path = "runtime/queries/json" + +# jsonnet +# TODO + +# jsx +[language.jsx.grammar.source.git] +url = "https://github.com/tree-sitter/tree-sitter-javascript" +pin = "f1e5a09b8d02f8209a68249c93f0ad647b228e6e" + +[language.jsx.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../scanner.c", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "jsx.so"] +link_flags = ["-O3"] + +[language.jsx.queries.source.git] +url = "https://git.sr.ht/~hadronized/kak-tree-sitter" +pin = "834d348b85868fbe9033231e72f29be361346aeb" + +[language.jsx.queries] +path = "runtime/queries/jsx" + +# julia +[language.julia.grammar.source.git] +url = "https://github.com/tree-sitter/tree-sitter-julia" +pin = "2f885efd38a6a6abfefc81d53ecdd99812dcde69" + +[language.julia.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "-flto=auto", "../parser.c", "../scanner.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "-flto=auto", "parser.o", "scanner.o", "-o", "julia.so"] +link_flags = ["-O3"] + +[language.julia.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "dbd248fdfa680373d94fbc10094a160aafa0f7a7" + +[language.julia.queries] +path = "runtime/queries/julia" + +# just +# TODO + +# kdl +# TODO + +# kotlin +[language.kotlin.grammar.source.git] +url = "https://github.com/fwcd/tree-sitter-kotlin" +pin = "a4f71eb9b8c9b19ded3e0e9470be4b1b77c2b569" + +[language.kotlin.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../scanner.c", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "kotlin.so"] +link_flags = ["-O3"] + +[language.kotlin.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "f73e9a8d15fd5a87d472a49808baf42ba403f9bf" + +[language.kotlin.queries] +path = "runtime/queries/kotlin" + +# latex +[language.latex.grammar.source.git] +url = "https://github.com/latex-lsp/tree-sitter-latex" +pin = "dfe891922ccd2e7cef52eccb2775e1b576727165" + +[language.latex.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../scanner.c", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "latex.so"] +link_flags = ["-O3"] + +[language.latex.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "dbd248fdfa680373d94fbc10094a160aafa0f7a7" + +[language.latex.queries] +path = "runtime/queries/latex" + +# lean +# TODO + +# ledger +# TODO + +# llvm +[language.llvm.grammar.source.git] +url = "https://github.com/benwilliamgraham/tree-sitter-llvm" +pin = "1b96e58faf558ce057d4dc664b904528aee743cb" + +[language.llvm.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "parser.o", "-o", "llvm.so"] +link_flags = ["-O3"] + +[language.llvm.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "e76020ddb93eeb051de606c24f92189c3fc55547" + +[language.llvm.queries] +path = "runtime/queries/llvm" + +# llvm-mir +# TODO + +# llvm-mir-yaml +# TODO + +# lua +# TODO + +# make +[language.make.grammar.source.git] +url = "https://github.com/alemuller/tree-sitter-make" +pin = "a4b9187417d6be349ee5fd4b6e77b4172c6827dd" + +[language.make.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "parser.o", "-o", "make.so"] +link_flags = ["-O3"] + +[language.make.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "dbd248fdfa680373d94fbc10094a160aafa0f7a7" + +[language.make.queries] +path = "runtime/queries/make" + +# markdoc +# TODO + +# markdown +[language.markdown.grammar.source.git] +url = "https://github.com/MDeiml/tree-sitter-markdown" +pin = "aaf76797aa8ecd9a5e78e0ec3681941de6c945ee" + +[language.markdown.grammar] +path = "tree-sitter-markdown/src" +compile = "cc" +compile_args = ["-c", "-fpic", "../scanner.c", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "markdown.so"] +link_flags = ["-O3"] + +[language.markdown.queries.source.git] +url = "https://git.sr.ht/~hadronized/kak-tree-sitter" +pin = "d2d9761f309d6204a8f4480dc23f10558a165e29" + +[language.markdown.queries] +path = "runtime/queries/markdown" + +# markdown.inline +[language."markdown.inline".grammar.source.git] +url = "https://github.com/MDeiml/tree-sitter-markdown" +pin = "aaf76797aa8ecd9a5e78e0ec3681941de6c945ee" + +[language."markdown.inline".grammar] +path = "tree-sitter-markdown-inline/src" +compile = "cc" +compile_args = ["-c", "-fpic", "../scanner.c", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "markdown.inline.so"] +link_flags = ["-O3"] + +[language."markdown.inline".queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "56ccaedffbb8011e36012278e2a4861a8d435a60" + +[language."markdown.inline".queries] +path = "runtime/queries/markdown.inline" + +# matlab +# TODO + +# mermaid +# TODO + +# meson +# TODO + +# msbuild +# TODO + +# nasm +# TODO + +# nickel +# TODO + +# nim + +[language.nim.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../scanner.c", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "nim.so"] +link_flags = ["-O3"] + +[language.nim.grammar.source.git] +url = "https://github.com/alaviss/tree-sitter-nim" +pin = "961c2798cec9250c44f7d7225ddb33d47d25856a" + +[language.nim.queries] +path = "runtime/queries/nim" + +[language.nim.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "50c90cb47c9cdbb044d1a2de034285e0d198f43e" + +# nix + +[language.nix.grammar.source.git] +url = "https://github.com/nix-community/tree-sitter-nix" +pin = "763168fa916a333a459434f1424b5d30645f015d" + +[language.nix.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../scanner.c", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "nix.so"] +link_flags = ["-O3"] + +[language.nix.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "be307a420480178c1bc443992c8336f6471b8b7b" + +[language.nix.queries] +path = "runtime/queries/nix" + +# nu +[language.nu.grammar.source.git ] +url = "https://github.com/nushell/tree-sitter-nu" +pin = "786689b0562b9799ce53e824cb45a1a2a04dc673" + +[language.nu.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "parser.o", "-o", "nu.so"] +link_flags = ["-O3"] + +[language.nu.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "107763083405868f3679d8e12476ed0688896f87" + +[language.nu.queries] +path = "runtime/queries/nu" + +# ocaml +# TODO + +# ocaml-interface +# TODO + +# odin +# TODO + +# opencl +# TODO + +# openscad +# TODO + +# org +# TODO + +# pascal +# TODO + +# passwd +# TODO + +# pem +# TODO + +# perl +# TODO + +# php +# TODO + +# po +# TODO + +# ponylang +# TODO + +# prisma +# TODO + +# protobuf +# TODO + +# prql +# TODO + +# purescript +[language.purescript.grammar.source.git] +url = "https://github.com/postsolar/tree-sitter-purescript/" +pin = "1615ac3b9c3b572259bce7a30c14cb06d6c2f2ff" + +[language.purescript.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../parser.c", "../scanner.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "parser.o", "scanner.o", "-o", "purescript.so"] +link_flags = ["-O3"] + +[language.purescript.queries.source.git] +url = "https://github.com/postsolar/tree-sitter-purescript" +pin = "1615ac3b9c3b572259bce7a30c14cb06d6c2f2ff" + +[language.purescript.queries] +path = "queries" + +# python +[language.python.grammar.source.git] +url = "https://github.com/tree-sitter/tree-sitter-python" +pin = "de221eccf9a221f5b85474a553474a69b4b5784d" + +[language.python.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../scanner.cc", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "python.so"] +link_flags = ["-O3", "-lstdc++"] + +[language.python.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "dbd248fdfa680373d94fbc10094a160aafa0f7a7" + +[language.python.queries] +path = "runtime/queries/python" + +# qml +# TODO + +# r +# TODO + +# racket +# TODO + +# regex +# TODO + +# rego +# TODO + +# rescript +# TODO + +# rmarkdown +# TODO + +# robot +# TODO + +# ron +# TODO + +# rst +# TODO + +# ruby +[language.ruby.grammar.source.git] +url = "https://github.com/tree-sitter/tree-sitter-ruby" +pin = "206c7077164372c596ffa8eaadb9435c28941364" + +[language.ruby.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../scanner.cc", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "c++" +link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "ruby.so"] +link_flags = ["-O3", "-lstdc++"] + +[language.ruby.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "dbd248fdfa680373d94fbc10094a160aafa0f7a7" + +[language.ruby.queries] +path = "runtime/queries/ruby" + +# rust +[language.rust.grammar.source.git] +url = "https://github.com/tree-sitter/tree-sitter-rust" +pin = "0431a2c60828731f27491ee9fdefe25e250ce9c9" + +[language.rust.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../scanner.c", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "rust.so"] +link_flags = ["-O3"] + +[language.rust.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "3e963b3c1b5eb4b5cd7f33b8ef6d6642de210a9b" + +[language.rust.queries] +path = "runtime/queries/rust" + +# scss +[language.scss.grammar.source.git] +url = "https://github.com/serenadeai/tree-sitter-scss" +pin = "c478c6868648eff49eb04a4df90d703dc45b312a" + +[language.scss.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../scanner.c", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "scss.so"] +link_flags = ["-O3"] + +[language.scss.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "be307a420480178c1bc443992c8336f6471b8b7b" + +[language.scss.queries] +path = "runtime/queries/scss" + +# sage +# TODO + +# scala +# TODO + +# scheme +[language.scheme.grammar.source.git] +url = "https://github.com/6cdh/tree-sitter-scheme" +pin = "c0741320bfca6b7b5b7a13b5171275951e96a842" + +[language.scheme.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "parser.o", "-o", "scheme.so"] +link_flags = ["-O3"] + +[language.scheme.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "dbd248fdfa680373d94fbc10094a160aafa0f7a7" + +[language.scheme.queries] +path = "runtime/queries/scheme" + +# scss +# TODO + +# slint +# TODO + +# smithy +# TODO + +# sml +# TODO + +# solidity +# TODO + +# sql +# TODO + +# sshclientconfig +# TODO + +# starlark +# TODO + +# svelte +# TODO + +# sway +# TODO + +# swift +# TODO + +# tablegen +# TODO + +# task +# TODO + +# tfvars +# TODO + +# toml +[language.toml.grammar.source.git] +url = "https://github.com/ikatyang/tree-sitter-toml" +pin = "8bd2056818b21860e3d756b5a58c4f6e05fb744e" + +[language.toml.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../scanner.c", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "toml.so"] +link_flags = ["-O3"] + +[language.toml.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "dbd248fdfa680373d94fbc10094a160aafa0f7a7" + +[language.toml.queries] +path = "runtime/queries/toml" + +# tsq +# TODO + +# tsx +[language.tsx.grammar.source.git] +url = "https://github.com/tree-sitter/tree-sitter-typescript" +pin = "b1bf4825d9eaa0f3bdeb1e52f099533328acfbdf" + +[language.tsx.grammar] +path = "tsx/src" +compile = "cc" +compile_args = ["-c", "-fpic", "../scanner.c", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "tsx.so"] +link_flags = ["-O3"] + +[language.tsx.queries.source.git] +url = "https://git.sr.ht/~hadronized/kak-tree-sitter" +pin = "b0ecb0d376c94d2fa4814816b41986bf5d735384" + +[language.tsx.queries] +path = "runtime/queries/tsx" + +# twig +# TODO + +# typescript +[language.typescript.grammar.source.git] +url = "https://github.com/tree-sitter/tree-sitter-typescript" +pin = "b1bf4825d9eaa0f3bdeb1e52f099533328acfbdf" + +[language.typescript.grammar] +path = "typescript/src" +compile = "cc" +compile_args = ["-c", "-fpic", "../scanner.c", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "typescript.so"] +link_flags = ["-O3"] + +[language.typescript.queries.source.git] +url = "https://git.sr.ht/~hadronized/kak-tree-sitter" +pin = "b0ecb0d376c94d2fa4814816b41986bf5d735384" + +[language.typescript.queries] +path = "runtime/queries/typescript" + +# ungrammar +# TODO + +# unison +[language.unison.grammar.source.git] +url = "https://github.com/kylegoetz/tree-sitter-unison" +pin = "1f505e2447fa876a87aee47ff3d70b9e141c744f" + +[language.unison.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../scanner.c", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "unison.so"] +link_flags = ["-O3"] + +[language.unison.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "be307a420480178c1bc443992c8336f6471b8b7b" + +[language.unison.queries] +path = "runtime/queries/unison" + +# uxntal +# TODO + +# v +# TODO + +# vala +# TODO + +# verilog +[language.verilog.grammar.source.git] +url = "https://github.com/tree-sitter/tree-sitter-verilog" +pin = "902031343056bc0b11f3e47b33f036a9cf59f58d" + +[language.verilog.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "parser.o", "-o", "verilog.so"] +link_flags = ["-O3"] + +[language.verilog.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "cb286b7a5df247057602f3bba3254b4c58093375" + +[language.verilog.queries] +path = "runtime/queries/verilog" + +# vhdl +# TODO + +# vhs +# TODO + +# vue +[language.vue.grammar.source.git] +url = "https://github.com/ikatyang/tree-sitter-vue" +pin = "91fe2754796cd8fba5f229505a23fa08f3546c06" + +[language.vue.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../scanner.cc", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "vue.so"] +link_flags = ["-O3", "-lstdc++"] + +[language.vue.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "be307a420480178c1bc443992c8336f6471b8b7b" + +[language.vue.queries] +path = "runtime/queries/vue" + +# wast +# TODO + +# wat +# TODO + +# wgsl +# TODO + +# wit +# TODO + +# xit +# TODO + +# xml +[language.xml.grammar.source.git] +url = "https://github.com/RenjiSann/tree-sitter-xml" +pin = "48a7c2b6fb9d515577e115e6788937e837815651" + +[language.xml.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "parser.o", "-o", "xml.so"] +link_flags = ["-O3"] + +[language.xml.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "dbd248fdfa680373d94fbc10094a160aafa0f7a7" + +[language.xml.queries] +path = "runtime/queries/xml" + +# yaml +[language.yaml.grammar.source.git] +url = "https://github.com/ikatyang/tree-sitter-yaml" +pin = "0e36bed171768908f331ff7dff9d956bae016efb" + +[language.yaml.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../scanner.cc", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "scanner.o", "parser.o", "-o", "yaml.so"] +link_flags = ["-O3", "-lstdc++"] + +[language.yaml.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "dbd248fdfa680373d94fbc10094a160aafa0f7a7" + +[language.yaml.queries] +path = "runtime/queries/yaml" + +# yuck +# TODO + +# zig +[language.zig.grammar.source.git] +url = "https://github.com/maxxnino/tree-sitter-zig" +pin = "0d08703e4c3f426ec61695d7617415fff97029bd" + +[language.zig.grammar] +path = "src" +compile = "cc" +compile_args = ["-c", "-fpic", "../parser.c", "-I", ".."] +compile_flags = ["-O3"] +link = "cc" +link_args = ["-shared", "-fpic", "parser.o", "-o", "zig.so"] +link_flags = ["-O3"] + +[language.zig.queries.source.git] +url = "https://github.com/helix-editor/helix" +pin = "bc737404e8ad462b4101987730f4a76658d132ad" + +[language.zig.queries] +path = "runtime/queries/zig" From 411f83dc9d527477d0f7922fb19f23560bd511de Mon Sep 17 00:00:00 2001 From: Michael Chalupiak Date: Wed, 11 Sep 2024 16:18:37 -0400 Subject: [PATCH 2/7] kak updates: --- config/.config/kak-lsp/kak-lsp.toml | 415 ------------------ config/.config/kak/kakrc | 5 +- .../.config/nvim/plugin/packer_compiled.lua | 124 +++--- 3 files changed, 66 insertions(+), 478 deletions(-) delete mode 100644 config/.config/kak-lsp/kak-lsp.toml diff --git a/config/.config/kak-lsp/kak-lsp.toml b/config/.config/kak-lsp/kak-lsp.toml deleted file mode 100644 index 2332103..0000000 --- a/config/.config/kak-lsp/kak-lsp.toml +++ /dev/null @@ -1,415 +0,0 @@ -snippet_support = true -verbosity = 2 - -[server] -# exit session if no requests were received during given period in seconds -# works only in unix sockets mode (-s/--session) -# set to 0 to disable -timeout = 1800 # seconds = 30 minutes - -[language.bash] -filetypes = ["sh"] -roots = [".git", ".hg"] -command = "bash-language-server" -args = ["start"] - -[language.c_cpp] -filetypes = ["c", "cpp"] -roots = ["compile_commands.json", ".clangd", ".git", ".hg"] -command = "clangd" - -[language.crystal] -filetypes = ["crystal"] -roots = ["shard.yml"] -command = "scry" - -[language.css] -filetypes = ["css"] -roots = ["package.json", ".git", ".hg"] -command = "vscode-css-languageserver" -args = ["--stdio"] - -[language.less] -filetypes = ["less"] -roots = ["package.json", ".git", ".hg"] -command = "vscode-css-languageserver" -args = ["--stdio"] - -[language.scss] -filetypes = ["scss"] -roots = ["package.json", ".git", ".hg"] -command = "vscode-css-languageserver" -args = ["--stdio"] - -[language.d] -filetypes = ["d", "di"] -roots = [".git", "dub.sdl", "dub.json"] -command = "serve-d" - -[language.dart] -# start shell to find path to dart analysis server source -filetypes = ["dart"] -roots = ["pubspec.yaml", ".git", ".hg"] -command = "sh" -args = ["-c", "dart $(dirname $(command -v dart))/snapshots/analysis_server.dart.snapshot --lsp"] - -[language.elixir] -filetypes = ["elixir"] -roots = ["mix.exs"] -command = "elixir-ls" -settings_section = "elixirLS" -[language.elixir.settings.elixirLS] -# See https://github.com/elixir-lsp/elixir-ls/blob/master/apps/language_server/lib/language_server/server.ex -# dialyzerEnable = true - -[language.elm] -filetypes = ["elm"] -roots = ["elm.json"] -command = "elm-language-server" -args = ["--stdio"] -settings_section = "elmLS" -[language.elm.settings.elmLS] -# See https://github.com/elm-tooling/elm-language-server#server-settings -runtime = "node" -elmPath = "elm" -elmFormatPath = "elm-format" -elmTestPath = "elm-test" - -[language.erlang] -filetypes = ["erlang"] -# See https://github.com/erlang-ls/erlang_ls.git for more information and -# how to configure. This default config should work in most cases though. -roots = ["rebar.config", "erlang.mk", ".git", ".hg"] -command = "erlang_ls" - -[language.go] -filetypes = ["go"] -roots = ["Gopkg.toml", "go.mod", ".git", ".hg"] -command = "gopls" -settings_section = "gopls" -[language.go.settings.gopls] -# See https://github.com/golang/tools/blob/master/gopls/doc/settings.md -# "build.buildFlags" = [] - -[language.haskell] -filetypes = ["haskell"] -roots = ["Setup.hs", "stack.yaml", "*.cabal"] -command = "haskell-language-server-wrapper" -args = ["--lsp"] -settings_section = "haskell" -[language.haskell.settings.haskell] -# See https://haskell-language-server.readthedocs.io/en/latest/configuration.html -# formattingProvider = "ormolu" - -[language.html] -filetypes = ["html"] -roots = ["package.json"] -command = "vscode-html-languageserver" -args = ["--stdio"] - -# # Commented out by default because you still need to set the paths in the JDT -# # Language Server arguments below before this can become a valid configuration. -[language.java] -filetypes = ["java"] -roots = [".git", "mvnw", "gradlew"] -command = "jdtls" -# args = [ -# "-Declipse.application=org.eclipse.jdt.ls.core.id1", -# "-Dosgi.bundles.defaultStartLevel=4", -# "-Declipse.product=org.eclipse.jdt.ls.core.product", -# "-Dlog.level=ALL", -# "-Dfile.encoding=utf-8", -# "--add-modules=ALL-SYSTEM", -# "--add-opens", -# "java.base/java.util=ALL-UNNAMED", -# "--add-opens", -# "java.base/java.lang=ALL-UNNAMED", -# "-noverify", -# "-Xmx1G", -# "-jar", -# "/usr/share/java/jdtls/plugins/org.eclipse.equinox.launcher_1.6.900.v20240613-2009.jar" -# "-configuration", -# "/usr/share/jdtls/config_linux", -# "-data", -# # "/path/to/eclipse-workspace", -# ] -# [language.java.settings] -# # See https://github.dev/eclipse/eclipse.jdt.ls -# # "java.format.insertSpaces" = true - -[language.javascript] -filetypes = ["javascript"] -roots = [".flowconfig"] -command = "flow" -args = ["lsp"] - -[language.json] -filetypes = ["json"] -roots = ["package.json"] -command = "json-languageserver" -args = ["--stdio"] - -# Requires Julia packages "LanguageServer", "StaticLint" and "SymbolServer" -[language.julia] -filetypes = ["julia"] -roots = ["Project.toml", ".git", ".hg"] -command = "julia" -args = [ - "--startup-file=no", - "--history-file=no", - "-e", - """ - using LanguageServer; - using Pkg; - import StaticLint; - import SymbolServer; - import REPL; - env_path = dirname(Pkg.Types.Context().env.project_file); - server = LanguageServer.LanguageServerInstance(stdin, stdout, env_path, ""); - server.runlinter = true; - run(server); - """, -] -[language.julia.settings] -# See https://github.com/julia-vscode/LanguageServer.jl/blob/master/src/requests/workspace.jl -# Format options. See https://github.com/julia-vscode/DocumentFormat.jl/blob/master/src/DocumentFormat.jl -# "julia.format.indent" = 4 -# Lint options. See https://github.com/julia-vscode/StaticLint.jl/blob/master/src/linting/checks.jl -# "julia.lint.call" = true -# Other options, see https://github.com/julia-vscode/LanguageServer.jl/blob/master/src/requests/workspace.jl -# "julia.lint.run" = "true" - -[language.latex] -filetypes = ["latex"] -roots = [".git", ".hg"] -command = "texlab" -settings_section = "texlab" -[language.latex.settings.texlab] -# See https://github.com/latex-lsp/texlab/blob/master/docs/options.md -# -# Preview configuration for zathura with SyncTeX search. -# For other PDF viewers see https://github.com/latex-lsp/texlab/blob/master/docs/previewing.md -forwardSearch.executable = "zathura" -forwardSearch.args = [ - "%p", - "--synctex-forward", # Support texlab-forward-search - "%l:1:%f", - "--synctex-editor-command", # Inverse search: use Control+Left-Mouse-Button to jump to source. - """ - sh -c ' - echo " - evaluate-commands -client $kak_client %{ - evaluate-commands -try-client %opt{jumpclient} %{ - edit -- %{input} %{line} - } - } - " | kak -p $kak_session - ' - """, -] - -[language.lua] -filetypes = ["lua"] -roots = [".git", ".hg"] -command = "lua-language-server" -[language.lua.settings.Lua] -# See https://github.com/sumneko/vscode-lua/blob/master/setting/schema.json -# diagnostics.enable = true - -[language.nim] -filetypes = ["nim"] -roots = ["*.nimble", ".git", ".hg"] -command = "nimlangserver" - -[language.nix] -filetypes = ["nix"] -roots = ["flake.nix", "shell.nix", ".git", ".hg"] -command = "rnix-lsp" - -[language.ocaml] -filetypes = ["ocaml"] -roots = ["Makefile", "opam", "*.opam", "dune"] -command = "ocamllsp" - -[language.php] -filetypes = ["php"] -roots = [".htaccess", "composer.json"] -command = "intelephense" -args = ["--stdio"] -settings_section = "intelephense" -[language.php.settings] -intelephense.storagePath = "/tmp/intelephense" - -[language.python] -filetypes = ["python"] -roots = ["requirements.txt", "setup.py", ".git", ".hg"] -command = "pylsp" -settings_section = "_" -[language.python.settings._] -# See https://github.com/python-lsp/python-lsp-server#configuration -# pylsp.configurationSources = ["flake8"] - -[language.r] -filetypes = ["r"] -roots = ["DESCRIPTION", ".git", ".hg"] -command = "R" -args = ["--slave", "-e", "languageserver::run()"] - -[language.racket] -filetypes = ["racket"] -roots = ["info.rkt"] -command = "racket" -args = ["-l", "racket-langserver"] - -[language.reason] -filetypes = ["reason"] -roots = ["package.json", "Makefile", ".git", ".hg"] -command = "ocamllsp" - -[language.ruby] -filetypes = ["ruby"] -roots = ["Gemfile"] -command = "solargraph" -args = ["stdio"] -[language.ruby.settings] -# See https://github.com/castwide/solargraph/blob/master/lib/solargraph/language_server/host.rb -# "solargraph.completion" = true - -[language.rust] -filetypes = ["rust"] -roots = ["Cargo.toml"] -command = "sh" -args = [ - "-c", - """ - if path=$(rustup which rls 2>/dev/null); then - "$path" - else - rls - fi - """, -] -[language.rust.settings.rust] -# See https://github.com/rust-lang/rls#configuration -# features = [] - -# [language.rust] -# filetypes = ["rust"] -# roots = ["Cargo.toml"] -# command = "sh" -# args = [ -# "-c", -# """ -# if path=$(rustup which rust-analyzer 2>/dev/null); then -# "$path" -# else -# rust-analyzer -# fi -# """, -# ] -# settings_section = "rust-analyzer" -# [language.rust.settings.rust-analyzer] -# hoverActions.enable = false # kak-lsp doesn't support this at the moment -# # cargo.features = [] -# # See https://rust-analyzer.github.io/manual.html#configuration -# # If you get 'unresolved proc macro' warnings, you have two options -# # 1. The safe choice is two disable the warning: -# diagnostics.disabled = ["unresolved-proc-macro"] -# # 2. Or you can opt-in for proc macro support -# procMacro.enable = true -# cargo.loadOutDirsFromCheck = true -# # See https://github.com/rust-analyzer/rust-analyzer/issues/6448 - -[language.terraform] -filetypes = ["terraform"] -roots = ["*.tf"] -command = "terraform-ls" -args = ["serve"] -[language.terraform.settings.terraform-ls] -# See https://github.com/hashicorp/terraform-ls/blob/main/docs/SETTINGS.md -# rootModulePaths = [] - -[language.typescript] -filetypes = ["typescript"] -roots = ["package.json", "tsconfig.json", ".git", ".hg"] -command = "typescript-language-server" -args = ["--stdio"] - -# [language.typescript] -# filetypes = ["typescript"] -# roots = ["package.json", "tsconfig.json", ".git", ".hg"] -# command = "deno" -# args = ["lsp"] -# [language.typescript.settings.deno] -# enable = true -# lint = true - -[language.yaml] -filetypes = ["yaml"] -roots = [".git", ".hg"] -command = "yaml-language-server" -args = ["--stdio"] -[language.yaml.settings] -# See https://github.com/redhat-developer/yaml-language-server#language-server-settings -# Defaults are at https://github.com/redhat-developer/yaml-language-server/blob/master/src/yamlSettings.ts -# yaml.format.enable = true - -[language.zig] -filetypes = ["zig"] -roots = ["build.zig"] -command = "zls" - -# Semantic tokens support -# See https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_semanticTokens -# for the default list of tokens and modifiers. -# However, many language servers implement their own values. -# Make sure to check the output of `lsp-capabilities` and each server's documentation and source code as well. -# Examples: -# - TypeScript: https://github.com/microsoft/vscode-languageserver-node/blob/2645fb54ea1e764aff71dee0ecc8aceff3aabf56/client/src/common/semanticTokens.ts#L58 -# - Rust Analyzer: https://github.com/rust-analyzer/rust-analyzer/blob/f6da603c7fe56c19a275dc7bab1f30fe1ad39707/crates/ide/src/syntax_highlighting.rs#L42 -[[semantic_tokens]] -token = "comment" -face = "documentation" -modifiers = ["documentation"] - -[[semantic_tokens]] -token = "comment" -face = "comment" - -[[semantic_tokens]] -token = "function" -face = "function" - -[[semantic_tokens]] -token = "keyword" -face = "keyword" - -[[semantic_tokens]] -token = "namespace" -face = "module" - -[[semantic_tokens]] -token = "operator" -face = "operator" - -[[semantic_tokens]] -token = "string" -face = "string" - -[[semantic_tokens]] -token = "type" -face = "type" - -[[semantic_tokens]] -token = "variable" -face = "default+d" -modifiers = ["readonly"] - -[[semantic_tokens]] -token = "variable" -face = "default+d" -modifiers = ["constant"] - -[[semantic_tokens]] -token = "variable" -face = "variable" diff --git a/config/.config/kak/kakrc b/config/.config/kak/kakrc index cbc5767..888e4a0 100644 --- a/config/.config/kak/kakrc +++ b/config/.config/kak/kakrc @@ -34,7 +34,7 @@ plug "tinted-theming/base16-kakoune" ## Treesitter ## -eval %sh{ kak-tree-sitter -dks --with-highlighting --with-text-objects --session $kak_session } +eval %sh{ kak-tree-sitter -dks --with-highlighting --with-text-objects --init $kak_session } #eval %sh{ kak-tree-sitter -dks --with-text-objects --session $kak_session } #eval %sh{ kak-tree-sitter -dks --with-highlighting --session $kak_session } @@ -48,6 +48,9 @@ add-highlighter global/ show-matching add-highlighter global/ column 80 MenuForeground add-highlighter global/ show-whitespaces +## Wrapping ## + +add-highlighter global/ wrap -word -indent ## Formatting ## define-command enable-autofmt -docstring 'enable autoformatting of buffer' %{ diff --git a/config/.config/nvim/plugin/packer_compiled.lua b/config/.config/nvim/plugin/packer_compiled.lua index 01d4fee..4357d4b 100755 --- a/config/.config/nvim/plugin/packer_compiled.lua +++ b/config/.config/nvim/plugin/packer_compiled.lua @@ -49,8 +49,8 @@ local function save_profiles(threshold) end time([[Luarocks path setup]], true) -local package_path_str = "/home/mikec/.cache/nvim/packer_hererocks/2.1.1723675123/share/lua/5.1/?.lua;/home/mikec/.cache/nvim/packer_hererocks/2.1.1723675123/share/lua/5.1/?/init.lua;/home/mikec/.cache/nvim/packer_hererocks/2.1.1723675123/lib/luarocks/rocks-5.1/?.lua;/home/mikec/.cache/nvim/packer_hererocks/2.1.1723675123/lib/luarocks/rocks-5.1/?/init.lua" -local install_cpath_pattern = "/home/mikec/.cache/nvim/packer_hererocks/2.1.1723675123/lib/lua/5.1/?.so" +local package_path_str = "/home/mikec/.cache/nvim/packer_hererocks/2.1.1725453128/share/lua/5.1/?.lua;/home/mikec/.cache/nvim/packer_hererocks/2.1.1725453128/share/lua/5.1/?/init.lua;/home/mikec/.cache/nvim/packer_hererocks/2.1.1725453128/lib/luarocks/rocks-5.1/?.lua;/home/mikec/.cache/nvim/packer_hererocks/2.1.1725453128/lib/luarocks/rocks-5.1/?/init.lua" +local install_cpath_pattern = "/home/mikec/.cache/nvim/packer_hererocks/2.1.1725453128/lib/lua/5.1/?.so" if not string.find(package.path, package_path_str, 1, true) then package.path = package.path .. ';' .. package_path_str end @@ -236,7 +236,7 @@ _G.packer_plugins = { url = "https://github.com/VonHeikemen/lsp-zero.nvim" }, ["lualine.nvim"] = { - config = { "\27LJ\2\n\1\0\0\n\0\f\0\0254\0\0\0006\1\0\0006\3\1\0009\3\2\0039\3\3\0035\5\4\0B\3\2\0A\1\0\4H\4\56\6\5\0009\6\6\6\18\b\0\0009\t\a\5B\6\3\1F\4\3\3R\4\127'\1\b\0006\2\5\0009\2\t\2\18\4\0\0'\5\n\0B\2\3\2'\3\v\0&\1\3\1L\1\2\0\6]\6 \vconcat\n [\tname\vinsert\ntable\1\0\1\nbufnr\3\0\23get_active_clients\blsp\bvim\npairs\5\1\0\b\0\29\0'3\0\0\0006\1\1\0'\3\2\0B\1\2\0029\1\3\0015\3\t\0005\4\4\0005\5\5\0=\5\6\0045\5\a\0=\5\b\4=\4\n\0035\4\14\0004\5\3\0005\6\v\0005\a\f\0=\a\r\6>\6\1\5=\5\15\0044\5\0\0=\5\16\0045\5\17\0=\5\18\0045\5\20\0>\0\1\0055\6\19\0>\6\2\5=\5\21\0045\5\22\0=\5\23\0045\5\24\0005\6\25\0005\a\26\0=\a\r\6>\6\2\5=\5\27\4=\4\28\3B\1\2\1K\0\1\0\rsections\14lualine_z\1\0\2\nright\b\tleft\b\1\2\1\0\rprogress\14separator\0\1\2\0\0\rlocation\14lualine_y\1\4\0\0\rencoding\15fileformat\rfiletype\14lualine_x\1\5\0\0\0\0\vbranch\tdiff\1\2\1\0\16diagnostics\18icons_enabled\2\14lualine_c\1\2\0\0\rfilename\14lualine_b\14lualine_a\1\0\6\14lualine_x\0\14lualine_z\0\14lualine_c\0\14lualine_b\0\14lualine_a\0\14lualine_y\0\14separator\1\0\2\nright\b\tleft\b\1\2\1\0\tmode\14separator\0\foptions\1\0\2\rsections\0\foptions\0\25component_separators\1\0\2\nright\5\tleft\5\23section_separators\1\0\2\nright\b\tleft\b\1\0\4\23section_separators\0\18icons_enabled\1\17globalstatus\2\25component_separators\0\nsetup\flualine\frequire\0\0" }, + config = { "\27LJ\2\n\1\0\0\n\0\f\0\0254\0\0\0006\1\0\0006\3\1\0009\3\2\0039\3\3\0035\5\4\0B\3\2\0A\1\0\4H\4\56\6\5\0009\6\6\6\18\b\0\0009\t\a\5B\6\3\1F\4\3\3R\4\127'\1\b\0006\2\5\0009\2\t\2\18\4\0\0'\5\n\0B\2\3\2'\3\v\0&\1\3\1L\1\2\0\6]\6 \vconcat\n [\tname\vinsert\ntable\1\0\1\nbufnr\3\0\23get_active_clients\blsp\bvim\npairs\5\1\0\b\0\29\0'3\0\0\0006\1\1\0'\3\2\0B\1\2\0029\1\3\0015\3\t\0005\4\4\0005\5\5\0=\5\6\0045\5\a\0=\5\b\4=\4\n\0035\4\14\0004\5\3\0005\6\v\0005\a\f\0=\a\r\6>\6\1\5=\5\15\0044\5\0\0=\5\16\0045\5\17\0=\5\18\0045\5\20\0>\0\1\0055\6\19\0>\6\2\5=\5\21\0045\5\22\0=\5\23\0045\5\24\0005\6\25\0005\a\26\0=\a\r\6>\6\2\5=\5\27\4=\4\28\3B\1\2\1K\0\1\0\rsections\14lualine_z\1\0\2\nright\b\tleft\b\1\2\1\0\rprogress\14separator\0\1\2\0\0\rlocation\14lualine_y\1\4\0\0\rencoding\15fileformat\rfiletype\14lualine_x\1\5\0\0\0\0\vbranch\tdiff\1\2\1\0\16diagnostics\18icons_enabled\2\14lualine_c\1\2\0\0\rfilename\14lualine_b\14lualine_a\1\0\6\14lualine_z\0\14lualine_x\0\14lualine_c\0\14lualine_b\0\14lualine_a\0\14lualine_y\0\14separator\1\0\2\nright\b\tleft\b\1\2\1\0\tmode\14separator\0\foptions\1\0\2\rsections\0\foptions\0\25component_separators\1\0\2\nright\5\tleft\5\23section_separators\1\0\2\nright\b\tleft\b\1\0\4\23section_separators\0\18icons_enabled\1\17globalstatus\2\25component_separators\0\nsetup\flualine\frequire\0\0" }, loaded = true, path = "/home/mikec/.local/share/nvim/site/pack/packer/start/lualine.nvim", url = "https://github.com/nvim-lualine/lualine.nvim" @@ -523,70 +523,70 @@ time([[Setup for nvim-unception]], false) time([[packadd for nvim-unception]], true) vim.cmd [[packadd nvim-unception]] time([[packadd for nvim-unception]], false) --- Config for: LuaSnip -time([[Config for LuaSnip]], true) -try_loadstring("\27LJ\2\nM\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\14lazy_load luasnip.loaders.from_vscode\frequire\0", "config", "LuaSnip") -time([[Config for LuaSnip]], false) --- Config for: twilight.nvim -time([[Config for twilight.nvim]], true) -try_loadstring("\27LJ\2\n:\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\rtwilight\frequire\0", "config", "twilight.nvim") -time([[Config for twilight.nvim]], false) --- Config for: alpha-nvim -time([[Config for alpha-nvim]], true) -try_loadstring("\27LJ\2\n`\0\0\5\0\5\0\n6\0\0\0'\2\1\0B\0\2\0029\0\2\0006\2\0\0'\4\3\0B\2\2\0029\2\4\2B\0\2\1K\0\1\0\vconfig\26alpha.themes.startify\nsetup\nalpha\frequire\0", "config", "alpha-nvim") -time([[Config for alpha-nvim]], false) --- Config for: nvim-ts-autotag -time([[Config for nvim-ts-autotag]], true) -try_loadstring("\27LJ\2\n=\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\20nvim-ts-autotag\frequire\0", "config", "nvim-ts-autotag") -time([[Config for nvim-ts-autotag]], false) --- Config for: indent-blankline.nvim -time([[Config for indent-blankline.nvim]], true) -try_loadstring("\27LJ\2\nY\0\0\4\0\6\0\t6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\4\0005\3\3\0=\3\5\2B\0\2\1K\0\1\0\nscope\1\0\1\nscope\0\1\0\1\fenabled\1\nsetup\bibl\frequire\0", "config", "indent-blankline.nvim") -time([[Config for indent-blankline.nvim]], false) --- Config for: web-tools.nvim -time([[Config for web-tools.nvim]], true) -try_loadstring("\27LJ\2\n7\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\14web-tools\frequire\0", "config", "web-tools.nvim") -time([[Config for web-tools.nvim]], false) --- Config for: leap.nvim -time([[Config for leap.nvim]], true) -try_loadstring("\27LJ\2\nA\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\25add_default_mappings\tleap\frequire\0", "config", "leap.nvim") -time([[Config for leap.nvim]], false) --- Config for: Comment.nvim -time([[Config for Comment.nvim]], true) -try_loadstring("\27LJ\2\n5\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\fComment\frequire\0", "config", "Comment.nvim") -time([[Config for Comment.nvim]], false) --- Config for: nvim-surround -time([[Config for nvim-surround]], true) -try_loadstring("\27LJ\2\n?\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\18nvim-surround\frequire\0", "config", "nvim-surround") -time([[Config for nvim-surround]], false) --- Config for: workspaces.nvim -time([[Config for workspaces.nvim]], true) -try_loadstring("\27LJ\2\n8\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\15workspaces\frequire\0", "config", "workspaces.nvim") -time([[Config for workspaces.nvim]], false) --- Config for: gitsigns.nvim -time([[Config for gitsigns.nvim]], true) -try_loadstring("\27LJ\2\n6\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\rgitsigns\frequire\0", "config", "gitsigns.nvim") -time([[Config for gitsigns.nvim]], false) -- Config for: compiler-explorer.nvim time([[Config for compiler-explorer.nvim]], true) try_loadstring("\27LJ\2\nx\0\0\4\0\6\0\t6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\4\0005\3\3\0=\3\5\2B\0\2\1K\0\1\0\fautocmd\1\0\1\fautocmd\0\1\0\2\ahl\15Cursorline\venable\2\nsetup\22compiler-explorer\frequire\0", "config", "compiler-explorer.nvim") time([[Config for compiler-explorer.nvim]], false) --- Config for: range-highlight.nvim -time([[Config for range-highlight.nvim]], true) -try_loadstring("\27LJ\2\nA\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\20range-highlight\frequire\0", "config", "range-highlight.nvim") -time([[Config for range-highlight.nvim]], false) --- Config for: lualine.nvim -time([[Config for lualine.nvim]], true) -try_loadstring("\27LJ\2\n\1\0\0\n\0\f\0\0254\0\0\0006\1\0\0006\3\1\0009\3\2\0039\3\3\0035\5\4\0B\3\2\0A\1\0\4H\4\56\6\5\0009\6\6\6\18\b\0\0009\t\a\5B\6\3\1F\4\3\3R\4\127'\1\b\0006\2\5\0009\2\t\2\18\4\0\0'\5\n\0B\2\3\2'\3\v\0&\1\3\1L\1\2\0\6]\6 \vconcat\n [\tname\vinsert\ntable\1\0\1\nbufnr\3\0\23get_active_clients\blsp\bvim\npairs\5\1\0\b\0\29\0'3\0\0\0006\1\1\0'\3\2\0B\1\2\0029\1\3\0015\3\t\0005\4\4\0005\5\5\0=\5\6\0045\5\a\0=\5\b\4=\4\n\0035\4\14\0004\5\3\0005\6\v\0005\a\f\0=\a\r\6>\6\1\5=\5\15\0044\5\0\0=\5\16\0045\5\17\0=\5\18\0045\5\20\0>\0\1\0055\6\19\0>\6\2\5=\5\21\0045\5\22\0=\5\23\0045\5\24\0005\6\25\0005\a\26\0=\a\r\6>\6\2\5=\5\27\4=\4\28\3B\1\2\1K\0\1\0\rsections\14lualine_z\1\0\2\nright\b\tleft\b\1\2\1\0\rprogress\14separator\0\1\2\0\0\rlocation\14lualine_y\1\4\0\0\rencoding\15fileformat\rfiletype\14lualine_x\1\5\0\0\0\0\vbranch\tdiff\1\2\1\0\16diagnostics\18icons_enabled\2\14lualine_c\1\2\0\0\rfilename\14lualine_b\14lualine_a\1\0\6\14lualine_x\0\14lualine_z\0\14lualine_c\0\14lualine_b\0\14lualine_a\0\14lualine_y\0\14separator\1\0\2\nright\b\tleft\b\1\2\1\0\tmode\14separator\0\foptions\1\0\2\rsections\0\foptions\0\25component_separators\1\0\2\nright\5\tleft\5\23section_separators\1\0\2\nright\b\tleft\b\1\0\4\23section_separators\0\18icons_enabled\1\17globalstatus\2\25component_separators\0\nsetup\flualine\frequire\0\0", "config", "lualine.nvim") -time([[Config for lualine.nvim]], false) +-- Config for: Comment.nvim +time([[Config for Comment.nvim]], true) +try_loadstring("\27LJ\2\n5\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\fComment\frequire\0", "config", "Comment.nvim") +time([[Config for Comment.nvim]], false) -- Config for: telescope-tabs time([[Config for telescope-tabs]], true) try_loadstring("\27LJ\2\n@\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\19telescope-tabs\frequire\0", "config", "telescope-tabs") time([[Config for telescope-tabs]], false) +-- Config for: twilight.nvim +time([[Config for twilight.nvim]], true) +try_loadstring("\27LJ\2\n:\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\rtwilight\frequire\0", "config", "twilight.nvim") +time([[Config for twilight.nvim]], false) -- Config for: dim.lua time([[Config for dim.lua]], true) try_loadstring("\27LJ\2\n5\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\bdim\frequire\0", "config", "dim.lua") time([[Config for dim.lua]], false) +-- Config for: LuaSnip +time([[Config for LuaSnip]], true) +try_loadstring("\27LJ\2\nM\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\14lazy_load luasnip.loaders.from_vscode\frequire\0", "config", "LuaSnip") +time([[Config for LuaSnip]], false) +-- Config for: alpha-nvim +time([[Config for alpha-nvim]], true) +try_loadstring("\27LJ\2\n`\0\0\5\0\5\0\n6\0\0\0'\2\1\0B\0\2\0029\0\2\0006\2\0\0'\4\3\0B\2\2\0029\2\4\2B\0\2\1K\0\1\0\vconfig\26alpha.themes.startify\nsetup\nalpha\frequire\0", "config", "alpha-nvim") +time([[Config for alpha-nvim]], false) +-- Config for: web-tools.nvim +time([[Config for web-tools.nvim]], true) +try_loadstring("\27LJ\2\n7\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\14web-tools\frequire\0", "config", "web-tools.nvim") +time([[Config for web-tools.nvim]], false) +-- Config for: nvim-surround +time([[Config for nvim-surround]], true) +try_loadstring("\27LJ\2\n?\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\18nvim-surround\frequire\0", "config", "nvim-surround") +time([[Config for nvim-surround]], false) +-- Config for: indent-blankline.nvim +time([[Config for indent-blankline.nvim]], true) +try_loadstring("\27LJ\2\nY\0\0\4\0\6\0\t6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\4\0005\3\3\0=\3\5\2B\0\2\1K\0\1\0\nscope\1\0\1\nscope\0\1\0\1\fenabled\1\nsetup\bibl\frequire\0", "config", "indent-blankline.nvim") +time([[Config for indent-blankline.nvim]], false) +-- Config for: nvim-ts-autotag +time([[Config for nvim-ts-autotag]], true) +try_loadstring("\27LJ\2\n=\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\20nvim-ts-autotag\frequire\0", "config", "nvim-ts-autotag") +time([[Config for nvim-ts-autotag]], false) +-- Config for: workspaces.nvim +time([[Config for workspaces.nvim]], true) +try_loadstring("\27LJ\2\n8\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\15workspaces\frequire\0", "config", "workspaces.nvim") +time([[Config for workspaces.nvim]], false) +-- Config for: lualine.nvim +time([[Config for lualine.nvim]], true) +try_loadstring("\27LJ\2\n\1\0\0\n\0\f\0\0254\0\0\0006\1\0\0006\3\1\0009\3\2\0039\3\3\0035\5\4\0B\3\2\0A\1\0\4H\4\56\6\5\0009\6\6\6\18\b\0\0009\t\a\5B\6\3\1F\4\3\3R\4\127'\1\b\0006\2\5\0009\2\t\2\18\4\0\0'\5\n\0B\2\3\2'\3\v\0&\1\3\1L\1\2\0\6]\6 \vconcat\n [\tname\vinsert\ntable\1\0\1\nbufnr\3\0\23get_active_clients\blsp\bvim\npairs\5\1\0\b\0\29\0'3\0\0\0006\1\1\0'\3\2\0B\1\2\0029\1\3\0015\3\t\0005\4\4\0005\5\5\0=\5\6\0045\5\a\0=\5\b\4=\4\n\0035\4\14\0004\5\3\0005\6\v\0005\a\f\0=\a\r\6>\6\1\5=\5\15\0044\5\0\0=\5\16\0045\5\17\0=\5\18\0045\5\20\0>\0\1\0055\6\19\0>\6\2\5=\5\21\0045\5\22\0=\5\23\0045\5\24\0005\6\25\0005\a\26\0=\a\r\6>\6\2\5=\5\27\4=\4\28\3B\1\2\1K\0\1\0\rsections\14lualine_z\1\0\2\nright\b\tleft\b\1\2\1\0\rprogress\14separator\0\1\2\0\0\rlocation\14lualine_y\1\4\0\0\rencoding\15fileformat\rfiletype\14lualine_x\1\5\0\0\0\0\vbranch\tdiff\1\2\1\0\16diagnostics\18icons_enabled\2\14lualine_c\1\2\0\0\rfilename\14lualine_b\14lualine_a\1\0\6\14lualine_z\0\14lualine_x\0\14lualine_c\0\14lualine_b\0\14lualine_a\0\14lualine_y\0\14separator\1\0\2\nright\b\tleft\b\1\2\1\0\tmode\14separator\0\foptions\1\0\2\rsections\0\foptions\0\25component_separators\1\0\2\nright\5\tleft\5\23section_separators\1\0\2\nright\b\tleft\b\1\0\4\23section_separators\0\18icons_enabled\1\17globalstatus\2\25component_separators\0\nsetup\flualine\frequire\0\0", "config", "lualine.nvim") +time([[Config for lualine.nvim]], false) +-- Config for: leap.nvim +time([[Config for leap.nvim]], true) +try_loadstring("\27LJ\2\nA\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\25add_default_mappings\tleap\frequire\0", "config", "leap.nvim") +time([[Config for leap.nvim]], false) +-- Config for: range-highlight.nvim +time([[Config for range-highlight.nvim]], true) +try_loadstring("\27LJ\2\nA\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\20range-highlight\frequire\0", "config", "range-highlight.nvim") +time([[Config for range-highlight.nvim]], false) +-- Config for: gitsigns.nvim +time([[Config for gitsigns.nvim]], true) +try_loadstring("\27LJ\2\n6\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\rgitsigns\frequire\0", "config", "gitsigns.nvim") +time([[Config for gitsigns.nvim]], false) -- Load plugins in order defined by `after` time([[Sequenced loading]], true) vim.cmd [[ packadd nvim-web-devicons ]] @@ -599,13 +599,6 @@ time([[Sequenced loading]], false) -- Command lazy-loads time([[Defining lazy-load commands]], true) -pcall(vim.api.nvim_create_user_command, 'DBUI', function(cmdargs) - require('packer.load')({'vim-dadbod'}, { cmd = 'DBUI', l1 = cmdargs.line1, l2 = cmdargs.line2, bang = cmdargs.bang, args = cmdargs.args, mods = cmdargs.mods }, _G.packer_plugins) - end, - {nargs = '*', range = true, bang = true, complete = function() - require('packer.load')({'vim-dadbod'}, {}, _G.packer_plugins) - return vim.fn.getcompletion('DBUI ', 'cmdline') - end}) pcall(vim.api.nvim_create_user_command, 'DBUIAddConnection', function(cmdargs) require('packer.load')({'vim-dadbod'}, { cmd = 'DBUIAddConnection', l1 = cmdargs.line1, l2 = cmdargs.line2, bang = cmdargs.bang, args = cmdargs.args, mods = cmdargs.mods }, _G.packer_plugins) end, @@ -641,6 +634,13 @@ pcall(vim.api.nvim_create_user_command, 'DBUIToggle', function(cmdargs) require('packer.load')({'vim-dadbod'}, {}, _G.packer_plugins) return vim.fn.getcompletion('DBUIToggle ', 'cmdline') end}) +pcall(vim.api.nvim_create_user_command, 'DBUI', function(cmdargs) + require('packer.load')({'vim-dadbod'}, { cmd = 'DBUI', l1 = cmdargs.line1, l2 = cmdargs.line2, bang = cmdargs.bang, args = cmdargs.args, mods = cmdargs.mods }, _G.packer_plugins) + end, + {nargs = '*', range = true, bang = true, complete = function() + require('packer.load')({'vim-dadbod'}, {}, _G.packer_plugins) + return vim.fn.getcompletion('DBUI ', 'cmdline') + end}) time([[Defining lazy-load commands]], false) From 6ba7f1345abf7db338714c1b48c1d181a239cbca Mon Sep 17 00:00:00 2001 From: Michael Chalupiak Date: Mon, 16 Sep 2024 10:50:51 -0400 Subject: [PATCH 3/7] ranger --- .../.config/nvim/plugin/packer_compiled.lua | 660 ------------------ config/.config/ranger/rc.conf | 2 + 2 files changed, 2 insertions(+), 660 deletions(-) delete mode 100755 config/.config/nvim/plugin/packer_compiled.lua create mode 100644 config/.config/ranger/rc.conf diff --git a/config/.config/nvim/plugin/packer_compiled.lua b/config/.config/nvim/plugin/packer_compiled.lua deleted file mode 100755 index 4357d4b..0000000 --- a/config/.config/nvim/plugin/packer_compiled.lua +++ /dev/null @@ -1,660 +0,0 @@ --- Automatically generated packer.nvim plugin loader code - -if vim.api.nvim_call_function('has', {'nvim-0.5'}) ~= 1 then - vim.api.nvim_command('echohl WarningMsg | echom "Invalid Neovim version for packer.nvim! | echohl None"') - return -end - -vim.api.nvim_command('packadd packer.nvim') - -local no_errors, error_msg = pcall(function() - -_G._packer = _G._packer or {} -_G._packer.inside_compile = true - -local time -local profile_info -local should_profile = false -if should_profile then - local hrtime = vim.loop.hrtime - profile_info = {} - time = function(chunk, start) - if start then - profile_info[chunk] = hrtime() - else - profile_info[chunk] = (hrtime() - profile_info[chunk]) / 1e6 - end - end -else - time = function(chunk, start) end -end - -local function save_profiles(threshold) - local sorted_times = {} - for chunk_name, time_taken in pairs(profile_info) do - sorted_times[#sorted_times + 1] = {chunk_name, time_taken} - end - table.sort(sorted_times, function(a, b) return a[2] > b[2] end) - local results = {} - for i, elem in ipairs(sorted_times) do - if not threshold or threshold and elem[2] > threshold then - results[i] = elem[1] .. ' took ' .. elem[2] .. 'ms' - end - end - if threshold then - table.insert(results, '(Only showing plugins that took longer than ' .. threshold .. ' ms ' .. 'to load)') - end - - _G._packer.profile_output = results -end - -time([[Luarocks path setup]], true) -local package_path_str = "/home/mikec/.cache/nvim/packer_hererocks/2.1.1725453128/share/lua/5.1/?.lua;/home/mikec/.cache/nvim/packer_hererocks/2.1.1725453128/share/lua/5.1/?/init.lua;/home/mikec/.cache/nvim/packer_hererocks/2.1.1725453128/lib/luarocks/rocks-5.1/?.lua;/home/mikec/.cache/nvim/packer_hererocks/2.1.1725453128/lib/luarocks/rocks-5.1/?/init.lua" -local install_cpath_pattern = "/home/mikec/.cache/nvim/packer_hererocks/2.1.1725453128/lib/lua/5.1/?.so" -if not string.find(package.path, package_path_str, 1, true) then - package.path = package.path .. ';' .. package_path_str -end - -if not string.find(package.cpath, install_cpath_pattern, 1, true) then - package.cpath = package.cpath .. ';' .. install_cpath_pattern -end - -time([[Luarocks path setup]], false) -time([[try_loadstring definition]], true) -local function try_loadstring(s, component, name) - local success, result = pcall(loadstring(s), name, _G.packer_plugins[name]) - if not success then - vim.schedule(function() - vim.api.nvim_notify('packer.nvim: Error running ' .. component .. ' for ' .. name .. ': ' .. result, vim.log.levels.ERROR, {}) - end) - end - return result -end - -time([[try_loadstring definition]], false) -time([[Defining packer_plugins]], true) -_G.packer_plugins = { - ["Comment.nvim"] = { - config = { "\27LJ\2\n5\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\fComment\frequire\0" }, - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/Comment.nvim", - url = "https://github.com/numToStr/Comment.nvim" - }, - LuaSnip = { - config = { "\27LJ\2\nM\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\14lazy_load luasnip.loaders.from_vscode\frequire\0" }, - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/LuaSnip", - url = "https://github.com/L3MON4D3/LuaSnip" - }, - ["alpha-nvim"] = { - config = { "\27LJ\2\n`\0\0\5\0\5\0\n6\0\0\0'\2\1\0B\0\2\0029\0\2\0006\2\0\0'\4\3\0B\2\2\0029\2\4\2B\0\2\1K\0\1\0\vconfig\26alpha.themes.startify\nsetup\nalpha\frequire\0" }, - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/alpha-nvim", - url = "https://github.com/goolord/alpha-nvim" - }, - ["barbecue.nvim"] = { - config = { "\27LJ\2\n6\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\rbarbecue\frequire\0" }, - load_after = {}, - loaded = true, - needs_bufread = false, - path = "/home/mikec/.local/share/nvim/site/pack/packer/opt/barbecue.nvim", - url = "https://github.com/utilyre/barbecue.nvim" - }, - catppuccin = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/catppuccin", - url = "https://github.com/catppuccin/nvim" - }, - ["ccc.nvim"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/ccc.nvim", - url = "https://github.com/uga-rosa/ccc.nvim" - }, - ["cellular-automaton.nvim"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/cellular-automaton.nvim", - url = "https://github.com/eandrju/cellular-automaton.nvim" - }, - ["cmd-parser.nvim"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/cmd-parser.nvim", - url = "https://github.com/winston0410/cmd-parser.nvim" - }, - ["cmp-buffer"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/cmp-buffer", - url = "https://github.com/hrsh7th/cmp-buffer" - }, - ["cmp-nvim-lsp"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp", - url = "https://github.com/hrsh7th/cmp-nvim-lsp" - }, - ["cmp-nvim-lsp-signature-help"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp-signature-help", - url = "https://github.com/hrsh7th/cmp-nvim-lsp-signature-help" - }, - ["cmp-nvim-lua"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/cmp-nvim-lua", - url = "https://github.com/hrsh7th/cmp-nvim-lua" - }, - ["cmp-path"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/cmp-path", - url = "https://github.com/hrsh7th/cmp-path" - }, - cmp_luasnip = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/cmp_luasnip", - url = "https://github.com/saadparwaiz1/cmp_luasnip" - }, - ["compiler-explorer.nvim"] = { - config = { "\27LJ\2\nx\0\0\4\0\6\0\t6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\4\0005\3\3\0=\3\5\2B\0\2\1K\0\1\0\fautocmd\1\0\1\fautocmd\0\1\0\2\ahl\15Cursorline\venable\2\nsetup\22compiler-explorer\frequire\0" }, - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/compiler-explorer.nvim", - url = "https://github.com/krady21/compiler-explorer.nvim" - }, - ["dim.lua"] = { - config = { "\27LJ\2\n5\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\bdim\frequire\0" }, - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/dim.lua", - url = "https://github.com/0oAstro/dim.lua" - }, - ["dracula.nvim"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/dracula.nvim", - url = "https://github.com/Mofiqul/dracula.nvim" - }, - ["dressing.nvim"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/dressing.nvim", - url = "https://github.com/stevearc/dressing.nvim" - }, - everblush = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/everblush", - url = "https://github.com/Everblush/nvim" - }, - everforest = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/everforest", - url = "https://github.com/sainnhe/everforest" - }, - ["fennel.vim"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/fennel.vim", - url = "https://github.com/jaawerth/fennel.vim" - }, - ["friendly-snippets"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/friendly-snippets", - url = "https://github.com/rafamadriz/friendly-snippets" - }, - ["github-colors"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/github-colors", - url = "https://github.com/lourenci/github-colors" - }, - ["github-nvim-theme"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/github-nvim-theme", - url = "https://github.com/projekt0n/github-nvim-theme" - }, - ["gitsigns.nvim"] = { - config = { "\27LJ\2\n6\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\rgitsigns\frequire\0" }, - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/gitsigns.nvim", - url = "https://github.com/lewis6991/gitsigns.nvim" - }, - ["gruvbox-material"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/gruvbox-material", - url = "https://github.com/sainnhe/gruvbox-material" - }, - ["gruvbox.nvim"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/gruvbox.nvim", - url = "https://github.com/ellisonleao/gruvbox.nvim" - }, - ["indent-blankline.nvim"] = { - config = { "\27LJ\2\nY\0\0\4\0\6\0\t6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\4\0005\3\3\0=\3\5\2B\0\2\1K\0\1\0\nscope\1\0\1\nscope\0\1\0\1\fenabled\1\nsetup\bibl\frequire\0" }, - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/indent-blankline.nvim", - url = "https://github.com/lukas-reineke/indent-blankline.nvim" - }, - ["leap.nvim"] = { - config = { "\27LJ\2\nA\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\25add_default_mappings\tleap\frequire\0" }, - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/leap.nvim", - url = "https://github.com/ggandor/leap.nvim" - }, - ["lsp-zero.nvim"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/lsp-zero.nvim", - url = "https://github.com/VonHeikemen/lsp-zero.nvim" - }, - ["lualine.nvim"] = { - config = { "\27LJ\2\n\1\0\0\n\0\f\0\0254\0\0\0006\1\0\0006\3\1\0009\3\2\0039\3\3\0035\5\4\0B\3\2\0A\1\0\4H\4\56\6\5\0009\6\6\6\18\b\0\0009\t\a\5B\6\3\1F\4\3\3R\4\127'\1\b\0006\2\5\0009\2\t\2\18\4\0\0'\5\n\0B\2\3\2'\3\v\0&\1\3\1L\1\2\0\6]\6 \vconcat\n [\tname\vinsert\ntable\1\0\1\nbufnr\3\0\23get_active_clients\blsp\bvim\npairs\5\1\0\b\0\29\0'3\0\0\0006\1\1\0'\3\2\0B\1\2\0029\1\3\0015\3\t\0005\4\4\0005\5\5\0=\5\6\0045\5\a\0=\5\b\4=\4\n\0035\4\14\0004\5\3\0005\6\v\0005\a\f\0=\a\r\6>\6\1\5=\5\15\0044\5\0\0=\5\16\0045\5\17\0=\5\18\0045\5\20\0>\0\1\0055\6\19\0>\6\2\5=\5\21\0045\5\22\0=\5\23\0045\5\24\0005\6\25\0005\a\26\0=\a\r\6>\6\2\5=\5\27\4=\4\28\3B\1\2\1K\0\1\0\rsections\14lualine_z\1\0\2\nright\b\tleft\b\1\2\1\0\rprogress\14separator\0\1\2\0\0\rlocation\14lualine_y\1\4\0\0\rencoding\15fileformat\rfiletype\14lualine_x\1\5\0\0\0\0\vbranch\tdiff\1\2\1\0\16diagnostics\18icons_enabled\2\14lualine_c\1\2\0\0\rfilename\14lualine_b\14lualine_a\1\0\6\14lualine_z\0\14lualine_x\0\14lualine_c\0\14lualine_b\0\14lualine_a\0\14lualine_y\0\14separator\1\0\2\nright\b\tleft\b\1\2\1\0\tmode\14separator\0\foptions\1\0\2\rsections\0\foptions\0\25component_separators\1\0\2\nright\5\tleft\5\23section_separators\1\0\2\nright\b\tleft\b\1\0\4\23section_separators\0\18icons_enabled\1\17globalstatus\2\25component_separators\0\nsetup\flualine\frequire\0\0" }, - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/lualine.nvim", - url = "https://github.com/nvim-lualine/lualine.nvim" - }, - ["mason-lspconfig.nvim"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/mason-lspconfig.nvim", - url = "https://github.com/williamboman/mason-lspconfig.nvim" - }, - ["mason.nvim"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/mason.nvim", - url = "https://github.com/williamboman/mason.nvim" - }, - ["melange-nvim"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/melange-nvim", - url = "https://github.com/savq/melange-nvim" - }, - ["mellow.nvim"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/mellow.nvim", - url = "https://github.com/kvrohit/mellow.nvim" - }, - ["monochrome.nvim"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/monochrome.nvim", - url = "https://github.com/kdheepak/monochrome.nvim" - }, - ["monokai.nvim"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/monokai.nvim", - url = "https://github.com/tanvirtin/monokai.nvim" - }, - ["moonlight.nvim"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/moonlight.nvim", - url = "https://github.com/shaunsingh/moonlight.nvim" - }, - ["moonscript-vim"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/moonscript-vim", - url = "https://github.com/leafo/moonscript-vim" - }, - ["nabla.nvim"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/nabla.nvim", - url = "https://github.com/jbyuki/nabla.nvim" - }, - ["nelua.vim"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/nelua.vim", - url = "https://github.com/stefanos82/nelua.vim" - }, - ["neodev.nvim"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/neodev.nvim", - url = "https://github.com/folke/neodev.nvim" - }, - ["nord.nvim"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/nord.nvim", - url = "https://github.com/shaunsingh/nord.nvim" - }, - ["nvim-blame-line"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/nvim-blame-line", - url = "https://github.com/tveskag/nvim-blame-line" - }, - ["nvim-cmp"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/nvim-cmp", - url = "https://github.com/hrsh7th/nvim-cmp" - }, - ["nvim-dap"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/nvim-dap", - url = "https://github.com/mfussenegger/nvim-dap" - }, - ["nvim-dap-ui"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/nvim-dap-ui", - url = "https://github.com/rcarriga/nvim-dap-ui" - }, - ["nvim-jdtls"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/nvim-jdtls", - url = "https://github.com/mfussenegger/nvim-jdtls" - }, - ["nvim-lspconfig"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/nvim-lspconfig", - url = "https://github.com/neovim/nvim-lspconfig" - }, - ["nvim-navic"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/nvim-navic", - url = "https://github.com/SmiteshP/nvim-navic" - }, - ["nvim-surround"] = { - config = { "\27LJ\2\n?\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\18nvim-surround\frequire\0" }, - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/nvim-surround", - url = "https://github.com/kylechui/nvim-surround" - }, - ["nvim-treesitter"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/nvim-treesitter", - url = "https://github.com/nvim-treesitter/nvim-treesitter" - }, - ["nvim-ts-autotag"] = { - config = { "\27LJ\2\n=\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\20nvim-ts-autotag\frequire\0" }, - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/nvim-ts-autotag", - url = "https://github.com/windwp/nvim-ts-autotag" - }, - ["nvim-unception"] = { - loaded = true, - needs_bufread = false, - path = "/home/mikec/.local/share/nvim/site/pack/packer/opt/nvim-unception", - url = "https://github.com/samjwill/nvim-unception" - }, - ["nvim-web-devicons"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/nvim-web-devicons", - url = "https://github.com/nvim-tree/nvim-web-devicons" - }, - ["oceanic-next"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/oceanic-next", - url = "https://github.com/mhartington/oceanic-next" - }, - ["one-nvim"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/one-nvim", - url = "https://github.com/Th3Whit3Wolf/one-nvim" - }, - ["onedark.nvim"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/onedark.nvim", - url = "https://github.com/navarasu/onedark.nvim" - }, - ["packer.nvim"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/packer.nvim", - url = "https://github.com/wbthomason/packer.nvim" - }, - ["plantuml-syntax"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/plantuml-syntax", - url = "https://github.com/aklt/plantuml-syntax" - }, - playground = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/playground", - url = "https://github.com/nvim-treesitter/playground" - }, - ["plenary.nvim"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/plenary.nvim", - url = "https://github.com/nvim-lua/plenary.nvim" - }, - ["range-highlight.nvim"] = { - config = { "\27LJ\2\nA\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\20range-highlight\frequire\0" }, - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/range-highlight.nvim", - url = "https://github.com/winston0410/range-highlight.nvim" - }, - ["rose-pine"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/rose-pine", - url = "https://github.com/rose-pine/neovim" - }, - ["sherbet.nvim"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/sherbet.nvim", - url = "https://github.com/lewpoly/sherbet.nvim" - }, - ["telescope-recent-files"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/telescope-recent-files", - url = "https://github.com/smartpde/telescope-recent-files" - }, - ["telescope-tabs"] = { - config = { "\27LJ\2\n@\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\19telescope-tabs\frequire\0" }, - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/telescope-tabs", - url = "https://github.com/LukasPietzschmann/telescope-tabs" - }, - ["telescope.nvim"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/telescope.nvim", - url = "https://github.com/nvim-telescope/telescope.nvim" - }, - ["tokyonight.nvim"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/tokyonight.nvim", - url = "https://github.com/folke/tokyonight.nvim" - }, - ["twilight.nvim"] = { - config = { "\27LJ\2\n:\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\rtwilight\frequire\0" }, - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/twilight.nvim", - url = "https://github.com/folke/twilight.nvim" - }, - ["v-vim"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/v-vim", - url = "https://github.com/ollykel/v-vim" - }, - ["vim-colors-xcode"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/vim-colors-xcode", - url = "https://github.com/arzg/vim-colors-xcode" - }, - ["vim-dadbod"] = { - after = { "vim-dadbod-ui", "vim-dadbod-completion" }, - commands = { "DBUIToggle", "DBUI", "DBUIAddConnection", "DBUIFindBuffer", "DBUIRenameBuffer", "DBUILastQueryInfo" }, - config = { "\27LJ\2\n;\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\18config.dadbod\frequire\0" }, - loaded = false, - needs_bufread = false, - only_cond = false, - path = "/home/mikec/.local/share/nvim/site/pack/packer/opt/vim-dadbod", - url = "https://github.com/tpope/vim-dadbod" - }, - ["vim-dadbod-completion"] = { - after_files = { "/home/mikec/.local/share/nvim/site/pack/packer/opt/vim-dadbod-completion/after/plugin/vim_dadbod_completion.lua", "/home/mikec/.local/share/nvim/site/pack/packer/opt/vim-dadbod-completion/after/plugin/vim_dadbod_completion.vim" }, - load_after = { - ["vim-dadbod"] = true - }, - loaded = false, - needs_bufread = false, - path = "/home/mikec/.local/share/nvim/site/pack/packer/opt/vim-dadbod-completion", - url = "https://github.com/kristijanhusak/vim-dadbod-completion" - }, - ["vim-dadbod-ui"] = { - load_after = { - ["vim-dadbod"] = true - }, - loaded = false, - needs_bufread = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/opt/vim-dadbod-ui", - url = "https://github.com/kristijanhusak/vim-dadbod-ui" - }, - ["vim-etlua"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/vim-etlua", - url = "https://github.com/VaiN474/vim-etlua" - }, - ["vim-illuminate"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/vim-illuminate", - url = "https://github.com/RRethy/vim-illuminate" - }, - ["vim-teal"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/vim-teal", - url = "https://github.com/teal-language/vim-teal" - }, - ["vscode.nvim"] = { - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/vscode.nvim", - url = "https://github.com/Mofiqul/vscode.nvim" - }, - ["web-tools.nvim"] = { - config = { "\27LJ\2\n7\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\14web-tools\frequire\0" }, - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/web-tools.nvim", - url = "https://github.com/ray-x/web-tools.nvim" - }, - ["workspaces.nvim"] = { - config = { "\27LJ\2\n8\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\15workspaces\frequire\0" }, - loaded = true, - path = "/home/mikec/.local/share/nvim/site/pack/packer/start/workspaces.nvim", - url = "https://github.com/natecraddock/workspaces.nvim" - } -} - -time([[Defining packer_plugins]], false) --- Setup for: nvim-unception -time([[Setup for nvim-unception]], true) -try_loadstring("\27LJ\2\n\v\0\0\1\0\0\0\1K\0\1\0\0", "setup", "nvim-unception") -time([[Setup for nvim-unception]], false) -time([[packadd for nvim-unception]], true) -vim.cmd [[packadd nvim-unception]] -time([[packadd for nvim-unception]], false) --- Config for: compiler-explorer.nvim -time([[Config for compiler-explorer.nvim]], true) -try_loadstring("\27LJ\2\nx\0\0\4\0\6\0\t6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\4\0005\3\3\0=\3\5\2B\0\2\1K\0\1\0\fautocmd\1\0\1\fautocmd\0\1\0\2\ahl\15Cursorline\venable\2\nsetup\22compiler-explorer\frequire\0", "config", "compiler-explorer.nvim") -time([[Config for compiler-explorer.nvim]], false) --- Config for: Comment.nvim -time([[Config for Comment.nvim]], true) -try_loadstring("\27LJ\2\n5\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\fComment\frequire\0", "config", "Comment.nvim") -time([[Config for Comment.nvim]], false) --- Config for: telescope-tabs -time([[Config for telescope-tabs]], true) -try_loadstring("\27LJ\2\n@\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\19telescope-tabs\frequire\0", "config", "telescope-tabs") -time([[Config for telescope-tabs]], false) --- Config for: twilight.nvim -time([[Config for twilight.nvim]], true) -try_loadstring("\27LJ\2\n:\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\rtwilight\frequire\0", "config", "twilight.nvim") -time([[Config for twilight.nvim]], false) --- Config for: dim.lua -time([[Config for dim.lua]], true) -try_loadstring("\27LJ\2\n5\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\bdim\frequire\0", "config", "dim.lua") -time([[Config for dim.lua]], false) --- Config for: LuaSnip -time([[Config for LuaSnip]], true) -try_loadstring("\27LJ\2\nM\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\14lazy_load luasnip.loaders.from_vscode\frequire\0", "config", "LuaSnip") -time([[Config for LuaSnip]], false) --- Config for: alpha-nvim -time([[Config for alpha-nvim]], true) -try_loadstring("\27LJ\2\n`\0\0\5\0\5\0\n6\0\0\0'\2\1\0B\0\2\0029\0\2\0006\2\0\0'\4\3\0B\2\2\0029\2\4\2B\0\2\1K\0\1\0\vconfig\26alpha.themes.startify\nsetup\nalpha\frequire\0", "config", "alpha-nvim") -time([[Config for alpha-nvim]], false) --- Config for: web-tools.nvim -time([[Config for web-tools.nvim]], true) -try_loadstring("\27LJ\2\n7\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\14web-tools\frequire\0", "config", "web-tools.nvim") -time([[Config for web-tools.nvim]], false) --- Config for: nvim-surround -time([[Config for nvim-surround]], true) -try_loadstring("\27LJ\2\n?\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\18nvim-surround\frequire\0", "config", "nvim-surround") -time([[Config for nvim-surround]], false) --- Config for: indent-blankline.nvim -time([[Config for indent-blankline.nvim]], true) -try_loadstring("\27LJ\2\nY\0\0\4\0\6\0\t6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\4\0005\3\3\0=\3\5\2B\0\2\1K\0\1\0\nscope\1\0\1\nscope\0\1\0\1\fenabled\1\nsetup\bibl\frequire\0", "config", "indent-blankline.nvim") -time([[Config for indent-blankline.nvim]], false) --- Config for: nvim-ts-autotag -time([[Config for nvim-ts-autotag]], true) -try_loadstring("\27LJ\2\n=\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\20nvim-ts-autotag\frequire\0", "config", "nvim-ts-autotag") -time([[Config for nvim-ts-autotag]], false) --- Config for: workspaces.nvim -time([[Config for workspaces.nvim]], true) -try_loadstring("\27LJ\2\n8\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\15workspaces\frequire\0", "config", "workspaces.nvim") -time([[Config for workspaces.nvim]], false) --- Config for: lualine.nvim -time([[Config for lualine.nvim]], true) -try_loadstring("\27LJ\2\n\1\0\0\n\0\f\0\0254\0\0\0006\1\0\0006\3\1\0009\3\2\0039\3\3\0035\5\4\0B\3\2\0A\1\0\4H\4\56\6\5\0009\6\6\6\18\b\0\0009\t\a\5B\6\3\1F\4\3\3R\4\127'\1\b\0006\2\5\0009\2\t\2\18\4\0\0'\5\n\0B\2\3\2'\3\v\0&\1\3\1L\1\2\0\6]\6 \vconcat\n [\tname\vinsert\ntable\1\0\1\nbufnr\3\0\23get_active_clients\blsp\bvim\npairs\5\1\0\b\0\29\0'3\0\0\0006\1\1\0'\3\2\0B\1\2\0029\1\3\0015\3\t\0005\4\4\0005\5\5\0=\5\6\0045\5\a\0=\5\b\4=\4\n\0035\4\14\0004\5\3\0005\6\v\0005\a\f\0=\a\r\6>\6\1\5=\5\15\0044\5\0\0=\5\16\0045\5\17\0=\5\18\0045\5\20\0>\0\1\0055\6\19\0>\6\2\5=\5\21\0045\5\22\0=\5\23\0045\5\24\0005\6\25\0005\a\26\0=\a\r\6>\6\2\5=\5\27\4=\4\28\3B\1\2\1K\0\1\0\rsections\14lualine_z\1\0\2\nright\b\tleft\b\1\2\1\0\rprogress\14separator\0\1\2\0\0\rlocation\14lualine_y\1\4\0\0\rencoding\15fileformat\rfiletype\14lualine_x\1\5\0\0\0\0\vbranch\tdiff\1\2\1\0\16diagnostics\18icons_enabled\2\14lualine_c\1\2\0\0\rfilename\14lualine_b\14lualine_a\1\0\6\14lualine_z\0\14lualine_x\0\14lualine_c\0\14lualine_b\0\14lualine_a\0\14lualine_y\0\14separator\1\0\2\nright\b\tleft\b\1\2\1\0\tmode\14separator\0\foptions\1\0\2\rsections\0\foptions\0\25component_separators\1\0\2\nright\5\tleft\5\23section_separators\1\0\2\nright\b\tleft\b\1\0\4\23section_separators\0\18icons_enabled\1\17globalstatus\2\25component_separators\0\nsetup\flualine\frequire\0\0", "config", "lualine.nvim") -time([[Config for lualine.nvim]], false) --- Config for: leap.nvim -time([[Config for leap.nvim]], true) -try_loadstring("\27LJ\2\nA\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\25add_default_mappings\tleap\frequire\0", "config", "leap.nvim") -time([[Config for leap.nvim]], false) --- Config for: range-highlight.nvim -time([[Config for range-highlight.nvim]], true) -try_loadstring("\27LJ\2\nA\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\20range-highlight\frequire\0", "config", "range-highlight.nvim") -time([[Config for range-highlight.nvim]], false) --- Config for: gitsigns.nvim -time([[Config for gitsigns.nvim]], true) -try_loadstring("\27LJ\2\n6\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\rgitsigns\frequire\0", "config", "gitsigns.nvim") -time([[Config for gitsigns.nvim]], false) --- Load plugins in order defined by `after` -time([[Sequenced loading]], true) -vim.cmd [[ packadd nvim-web-devicons ]] -vim.cmd [[ packadd barbecue.nvim ]] - --- Config for: barbecue.nvim -try_loadstring("\27LJ\2\n6\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\rbarbecue\frequire\0", "config", "barbecue.nvim") - -time([[Sequenced loading]], false) - --- Command lazy-loads -time([[Defining lazy-load commands]], true) -pcall(vim.api.nvim_create_user_command, 'DBUIAddConnection', function(cmdargs) - require('packer.load')({'vim-dadbod'}, { cmd = 'DBUIAddConnection', l1 = cmdargs.line1, l2 = cmdargs.line2, bang = cmdargs.bang, args = cmdargs.args, mods = cmdargs.mods }, _G.packer_plugins) - end, - {nargs = '*', range = true, bang = true, complete = function() - require('packer.load')({'vim-dadbod'}, {}, _G.packer_plugins) - return vim.fn.getcompletion('DBUIAddConnection ', 'cmdline') - end}) -pcall(vim.api.nvim_create_user_command, 'DBUIFindBuffer', function(cmdargs) - require('packer.load')({'vim-dadbod'}, { cmd = 'DBUIFindBuffer', l1 = cmdargs.line1, l2 = cmdargs.line2, bang = cmdargs.bang, args = cmdargs.args, mods = cmdargs.mods }, _G.packer_plugins) - end, - {nargs = '*', range = true, bang = true, complete = function() - require('packer.load')({'vim-dadbod'}, {}, _G.packer_plugins) - return vim.fn.getcompletion('DBUIFindBuffer ', 'cmdline') - end}) -pcall(vim.api.nvim_create_user_command, 'DBUIRenameBuffer', function(cmdargs) - require('packer.load')({'vim-dadbod'}, { cmd = 'DBUIRenameBuffer', l1 = cmdargs.line1, l2 = cmdargs.line2, bang = cmdargs.bang, args = cmdargs.args, mods = cmdargs.mods }, _G.packer_plugins) - end, - {nargs = '*', range = true, bang = true, complete = function() - require('packer.load')({'vim-dadbod'}, {}, _G.packer_plugins) - return vim.fn.getcompletion('DBUIRenameBuffer ', 'cmdline') - end}) -pcall(vim.api.nvim_create_user_command, 'DBUILastQueryInfo', function(cmdargs) - require('packer.load')({'vim-dadbod'}, { cmd = 'DBUILastQueryInfo', l1 = cmdargs.line1, l2 = cmdargs.line2, bang = cmdargs.bang, args = cmdargs.args, mods = cmdargs.mods }, _G.packer_plugins) - end, - {nargs = '*', range = true, bang = true, complete = function() - require('packer.load')({'vim-dadbod'}, {}, _G.packer_plugins) - return vim.fn.getcompletion('DBUILastQueryInfo ', 'cmdline') - end}) -pcall(vim.api.nvim_create_user_command, 'DBUIToggle', function(cmdargs) - require('packer.load')({'vim-dadbod'}, { cmd = 'DBUIToggle', l1 = cmdargs.line1, l2 = cmdargs.line2, bang = cmdargs.bang, args = cmdargs.args, mods = cmdargs.mods }, _G.packer_plugins) - end, - {nargs = '*', range = true, bang = true, complete = function() - require('packer.load')({'vim-dadbod'}, {}, _G.packer_plugins) - return vim.fn.getcompletion('DBUIToggle ', 'cmdline') - end}) -pcall(vim.api.nvim_create_user_command, 'DBUI', function(cmdargs) - require('packer.load')({'vim-dadbod'}, { cmd = 'DBUI', l1 = cmdargs.line1, l2 = cmdargs.line2, bang = cmdargs.bang, args = cmdargs.args, mods = cmdargs.mods }, _G.packer_plugins) - end, - {nargs = '*', range = true, bang = true, complete = function() - require('packer.load')({'vim-dadbod'}, {}, _G.packer_plugins) - return vim.fn.getcompletion('DBUI ', 'cmdline') - end}) -time([[Defining lazy-load commands]], false) - - -_G._packer.inside_compile = false -if _G._packer.needs_bufread == true then - vim.cmd("doautocmd BufRead") -end -_G._packer.needs_bufread = false - -if should_profile then save_profiles() end - -end) - -if not no_errors then - error_msg = error_msg:gsub('"', '\\"') - vim.api.nvim_command('echohl ErrorMsg | echom "Error in packer_compiled: '..error_msg..'" | echom "Please check your config for correctness" | echohl None') -end diff --git a/config/.config/ranger/rc.conf b/config/.config/ranger/rc.conf new file mode 100644 index 0000000..bd7345b --- /dev/null +++ b/config/.config/ranger/rc.conf @@ -0,0 +1,2 @@ +set preview_images true +set preview_images_method ueberzug From 71f9943811744ce890d09b2f005cc05c3377d7c1 Mon Sep 17 00:00:00 2001 From: Michael Chalupiak Date: Wed, 18 Sep 2024 13:11:55 -0400 Subject: [PATCH 4/7] not much --- config/.notmuch-config | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 config/.notmuch-config diff --git a/config/.notmuch-config b/config/.notmuch-config new file mode 100644 index 0000000..d5b58fa --- /dev/null +++ b/config/.notmuch-config @@ -0,0 +1,14 @@ +[database] +path=/home/mikec/.local/share/mail +[user] +name=mikecchalupiak +primary_email=mikecchalupiak@outlook.com +[new] +tags=unread;inbox; +ignore=.mbsyncstate;.uidvalidity +[search] +exclude_tags=deleted;spam; +[maildir] +synchronize_flags=true +[crypto] +gpg_path=gpg From 92ffe1857eac667ba30632a716ce14b26efa282f Mon Sep 17 00:00:00 2001 From: Michael Chalupiak Date: Mon, 7 Oct 2024 13:02:29 -0400 Subject: [PATCH 5/7] small updates --- config/.bashrc | 2 ++ config/.config/mutt/muttrc | 1 + config/.profile | 2 ++ config/.scripts/n64.sh | 13 +++++++++++-- config/.scripts/nes.sh | 2 +- 5 files changed, 17 insertions(+), 3 deletions(-) diff --git a/config/.bashrc b/config/.bashrc index fd239f6..0fbae43 100644 --- a/config/.bashrc +++ b/config/.bashrc @@ -170,3 +170,5 @@ alias enter-dev='. enter-dev.sh' alias ssh='TERM="xterm-256color" ssh' export DISABLE_TELEMETRY=YES + +[ -f "/home/mikec/.ghcup/env" ] && . "/home/mikec/.ghcup/env" # ghcup-env \ No newline at end of file diff --git a/config/.config/mutt/muttrc b/config/.config/mutt/muttrc index 4bbf60c..2b913f7 100644 --- a/config/.config/mutt/muttrc +++ b/config/.config/mutt/muttrc @@ -4,3 +4,4 @@ source /home/mikec/.config/mutt/accounts/mikecchalupiak@outlook.com.muttrc macro index,pager i1 'source /home/mikec/.config/mutt/accounts/mikecchalupiak@outlook.com.muttrc!;' "switch to mikecchalupiak@outlook.com" macro index,pager i2 'source /home/mikec/.config/mutt/accounts/chalupmc@rose-hulman.edu.muttrc!;' "switch to chalupmc@rose-hulman.edu" macro index,pager i3 'source /home/mikec/.config/mutt/accounts/mikec@mchalupiak.com.muttrc!;' "switch to mikec@mchalupiak.com" +set use_threads=reverse sort=last-date diff --git a/config/.profile b/config/.profile index 0161957..ac4aae2 100644 --- a/config/.profile +++ b/config/.profile @@ -8,3 +8,5 @@ fi # Added by Toolbox App export PATH="$PATH:/home/mikec/.local/share/JetBrains/Toolbox/scripts" + +[ -f "/home/mikec/.ghcup/env" ] && . "/home/mikec/.ghcup/env" # ghcup-env \ No newline at end of file diff --git a/config/.scripts/n64.sh b/config/.scripts/n64.sh index f1397c5..d0bc6b9 100755 --- a/config/.scripts/n64.sh +++ b/config/.scripts/n64.sh @@ -1,3 +1,12 @@ #!/bin/sh -GAMES=$(find /home/mikec/Documents/Games/ROMS/N64 -iname "*.zip" | bemenu -i --fn "Cascadia Code 12") -[ -z "$GAMES" ] || mupen64plus "$GAMES" +# MON=$(xrandr | grep ' connected' | cut -d' ' -f1 | dmenu -i) +GAMES=$(find /home/mikec/Documents/Games/ROMS/N64 -iname "*.zip" | dmenu -i -l 10) +[ -z "$GAMES" ] && exit +# GAME=$(mktemp) +# RES=$(xrandr | grep "$MON" | sed -E 's/.*connected (primary )?([0-9]*x[0-9]*).*/\2/') +# echo "$RES" +# rm -r "$GAME" +# unzip "$GAMES" -d "$GAME" +# mupen64plus --resolution "$RES" --windowed --gfx mupen64plus-video-glide64mk2 "$GAME"/* +# rm -r "$GAME" +RMG --fullscreen "$GAMES" diff --git a/config/.scripts/nes.sh b/config/.scripts/nes.sh index a9c7c26..89b50f4 100755 --- a/config/.scripts/nes.sh +++ b/config/.scripts/nes.sh @@ -1,3 +1,3 @@ #!/bin/sh -GAMES=$(find /home/mikec/Documents/Games/ROMS/NES/USA -iname "*.nes" | bemenu -i --fn "Cascadia Code 12") +GAMES=$(find /home/mikec/Documents/Games/ROMS/NES/USA -iname "*.nes" | dmenu -i) [ -z "$GAMES" ] || fceux "$GAMES" From a58b3b6a8638d825cd6f522c567e2c70d71e2ebc Mon Sep 17 00:00:00 2001 From: Michael Chalupiak Date: Mon, 7 Oct 2024 13:04:43 -0400 Subject: [PATCH 6/7] doom emacs --- config/.doom.d/config.el | 117 ++++++++++++++++++++++ config/.doom.d/custom.el | 21 ++++ config/.doom.d/init.el | 195 +++++++++++++++++++++++++++++++++++++ config/.doom.d/packages.el | 50 ++++++++++ 4 files changed, 383 insertions(+) create mode 100644 config/.doom.d/config.el create mode 100644 config/.doom.d/custom.el create mode 100644 config/.doom.d/init.el create mode 100644 config/.doom.d/packages.el diff --git a/config/.doom.d/config.el b/config/.doom.d/config.el new file mode 100644 index 0000000..f1ed40b --- /dev/null +++ b/config/.doom.d/config.el @@ -0,0 +1,117 @@ +;;; $DOOMDIR/config.el -*- lexical-binding: t; -*- + +;; Place your private configuration here! Remember, you do not need to run 'doom +;; sync' after modifying this file! + + +;; Some functionality uses this to identify you, e.g. GPG configuration, email +;; clients, file templates and snippets. +(setq user-full-name "Michael Chalupiak" + user-mail-address "mikecchalupiak@outlook.com") + +;; Doom exposes five (optional) variables for controlling fonts in Doom. Here +;; are the three important ones: +;; +;; + `doom-font' +;; + `doom-variable-pitch-font' +;; + `doom-big-font' -- used for `doom-big-font-mode'; use this for +;; presentations or streaming. +;; +;; They all accept either a font-spec, font string ("Input Mono-12"), or xlfd +;; font string. You generally only need these two: +(setq doom-font (font-spec :family "Cascadia Code" :size 28 ) + doom-variable-pitch-font (font-spec :family "Cantarell" :size 28 :weight 'bold)) + +;; There are two ways to load a theme. Both assume the theme is installed and +;; available. You can either set `doom-theme' or manually load a theme with the +;; `load-theme' function. This is the default: +(setq doom-theme 'doom-gruvbox) + +;; If you use `org' and don't want your org files in the default location below, +;; change `org-directory'. It must be set before org loads! +(setq org-directory "~/org/") + +;; This determines the style of line numbers in effect. If set to `nil', line +;; numbers are disabled. For relative line numbers, set this to `relative'. +(setq display-line-numbers-type 'relative) + + +;; Here are some additional functions/macros that could help you configure Doom: +;; +;; - `load!' for loading external *.el files relative to this one +;; - `use-package!' for configuring packages +;; - `after!' for running code after a package has loaded +;; - `add-load-path!' for adding directories to the `load-path', relative to +;; this file. Emacs searches the `load-path' when you load packages with +;; `require' or `use-package'. +;; - `map!' for binding new keys +;; +;; To get information about any of these functions/macros, move the cursor over +;; the highlighted symbol at press 'K' (non-evil users must press 'C-c c k'). +;; This will open documentation for it, including demos of how they are used. +;; +;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how +;; they are implemented. + +;; Custom Config ;; + +;; fixes slow vterm performance (especially in cava) +(setq vterm-timer-delay 0.001) + +;; deft directory & recursive search in that directory +;; (setq deft-directory "~/notes") +;; (setq deft-recursive t) +;; set naming rules for deft +;; (setq deft-org-mode-title-prefix t) +;; (setq deft-file-naming-rules +;; '((noslash . "-") +;; (nospace . "-") +;; (case-fn . downcase))) + +;; enable tree-sitter +;; (global-tree-sitter-mode) + +;; enable tree-sitter syntax highlighting +;; (add-hook 'c-mode-hook #'tree-sitter-hl-mode) +(global-flycheck-mode t) +(global-prettify-symbols-mode) +(global-display-fill-column-indicator-mode) +(after! js + (setq-default js--prettify-symbols-alist '())) +(add-hook 'typescript-tsx-mode-hook + (lambda () (setq prettify-symbols-alist '()))) +(defun racket-alist-hook-function () (push '("lambda" . ?λ) prettify-symbols-alist)) +(add-hook 'racket-mode-hook + 'racket-alist-hook-function) + +;;(setq mpc-host "137.112.200.154") +(setq mpc-browser-tags '(Artist Album|Playlist Title|File)) +(add-hook 'mpc-mode-hook + (lambda () + (keymap-local-set "M-p" 'windmove-up) + (keymap-local-set "M-n" 'windmove-down) + (keymap-local-set "M-b" 'windmove-left) + (keymap-local-set "M-f" 'windmove-right) + (keymap-local-set "a" (lambda () (interactive) (mpc-select) (mpc-playlist-add))) + (keymap-local-set "D" (lambda () (interactive) (mpc-select) (mpc-playlist-delete))))) +(add-hook 'mpc-songs-mode-hook + (lambda () + (keymap-local-set "p" 'mpc-playlist))) +;; (keymap-local-set "C-" 'mpc-play-at-point) +;; (keymap-local-set "" 'mpc-toggle-play) +;; (keymap-local-set "s" 'mpc-toggle-shuffle) +;; (keymap-local-set "n" 'next-line) +;; (keymap-local-set "p" 'previous-line) +;; (keymap-local-set "f" 'mpc-next) +;; (keymap-local-set "b" 'mpc-prev))) + +(after! mu4e + (setq sendmail-program (executable-find "msmtp") + send-mail-function #'smtpmail-send-it + message-sendmail-f-is-evil t + message-sendmail-extra-arguments '("--read-envelope-from") + message-send-mail-function #'message-send-mail-with-sendmail)) + +(defun open-mpc () (interactive) + (setq mpc-host (read-string "IP Address:")) + (call-interactively 'mpc)) diff --git a/config/.doom.d/custom.el b/config/.doom.d/custom.el new file mode 100644 index 0000000..0a78075 --- /dev/null +++ b/config/.doom.d/custom.el @@ -0,0 +1,21 @@ +;;; custom.el --- -*- lexical-binding: t; -*- + +;; Copyright (C) 2023 Michael Chalupiak + +;; Author: Michael Chalupiak +;; Keywords: +(custom-set-variables + ;; custom-set-variables was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + '(custom-safe-themes + '("e3daa8f18440301f3e54f2093fe15f4fe951986a8628e98dcd781efbec7a46f2" "8c7e832be864674c220f9a9361c851917a93f921fedb7717b1b5ece47690c098" "e4a702e262c3e3501dfe25091621fe12cd63c7845221687e36a79e17cf3a67e0" "f5f80dd6588e59cfc3ce2f11568ff8296717a938edd448a947f9823a4e282b66" default)) + '(magit-todos-insert-after '(bottom) nil nil "Changed by setter of obsolete option `magit-todos-insert-at'") + '(package-selected-packages '(lsp-ui))) +(custom-set-faces + ;; custom-set-faces was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + '(ts-fold-replacement-face ((t (:foreground unspecified :box nil :inherit font-lock-comment-face :weight light))))) diff --git a/config/.doom.d/init.el b/config/.doom.d/init.el new file mode 100644 index 0000000..0b1e6da --- /dev/null +++ b/config/.doom.d/init.el @@ -0,0 +1,195 @@ +;;; init.el -*- lexical-binding: t; -*- + +;; This file controls what Doom modules are enabled and what order they load +;; in. Remember to run 'doom sync' after modifying it! + +;; NOTE Press 'SPC h d h' (or 'C-h d h' for non-vim users) to access Doom's +;; documentation. There you'll find a link to Doom's Module Index where all +;; of our modules are listed, including what flags they support. + +;; NOTE Move your cursor over a module's name (or its flags) and press 'K' (or +;; 'C-c c k' for non-vim users) to view its documentation. This works on +;; flags as well (those symbols that start with a plus). +;; +;; Alternatively, press 'gd' (or 'C-c c d') on a module to browse its +;; directory (for easy access to its source code). + +(doom! :input + ;;bidi ; (tfel ot) thgir etirw uoy gnipleh + ;;chinese + ;;japanese + ;;layout ; auie,ctsrnm is the superior home row + + :completion + company ; the ultimate code completion backend + ;;helm ; the *other* search engine for love and life + ;;ido ; the other *other* search engine... + ;;ivy ; a search engine for love and life + vertico ; the search engine of the future + + :ui + ;;deft ; notational velocity for Emacs + doom ; what makes DOOM look the way it does + doom-dashboard ; a nifty splash screen for Emacs + ;;doom-quit ; DOOM quit-message prompts when you quit Emacs + (emoji +unicode) ; 🙂 + hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW + ;;hydra + indent-guides ; highlighted indent columns + ligatures ; ligatures and symbols to make your code pretty again + ;;minimap ; show a map of the code on the side + modeline ; snazzy, Atom-inspired modeline, plus API + nav-flash ; blink cursor line after big motions + ;;neotree ; a project drawer, like NERDTree for vim + ophints ; highlight the region an operation acts on + (popup +defaults) ; tame sudden yet inevitable temporary windows + ;;tabs ; a tab bar for Emacs + ;;treemacs ; a project drawer, like neotree but cooler + unicode ; extended unicode support for various languages + (vc-gutter +pretty) ; vcs diff in the fringe + vi-tilde-fringe ; fringe tildes to mark beyond EOB + ;;window-select ; visually switch windows + workspaces ; tab emulation, persistence & separate workspaces + zen ; distraction-free coding or writing + + :editor + ;; (evil +everywhere); come to the dark side, we have cookies + file-templates ; auto-snippets for empty files + fold ; (nigh) universal code folding + (format +onsave) ; automated prettiness + ;;god ; run Emacs commands without modifier keys + ;;lispy ; vim for lisp, for people who don't like vim + ;;multiple-cursors ; editing in many places at once + ;;objed ; text object editing for the innocent + ;;parinfer ; turn lisp into python, sort of + ;;rotate-text ; cycle region at point between text candidates + snippets ; my elves. They type so I don't have to + word-wrap ; soft wrapping with language-aware indent + + :emacs + dired ; making dired pretty [functional] + electric ; smarter, keyword-based electric-indent + ;;ibuffer ; interactive buffer management + undo ; persistent, smarter undo for your inevitable mistakes + vc ; version-control and Emacs, sitting in a tree + + :term + eshell ; the elisp shell that works everywhere + ;;shell ; simple shell REPL for Emacs + ;;term ; basic terminal emulator for Emacs + vterm ; the best terminal emulation in Emacs + + :checkers + syntax ; tasing you for every semicolon you forget + ;;(spell +flyspell) ; tasing you for misspelling mispelling + ;;grammar ; tasing grammar mistake every you make + + :tools + ;;ansible + ;;biblio ; Writes a PhD for you (citation needed) + ;;collab ; buffers with friends + ;;debugger ; FIXME stepping through code, to help you add bugs + ;;direnv + ;;docker + ;;editorconfig ; let someone else argue about tabs vs spaces + ein ; tame Jupyter notebooks with emacs + (eval +overlay) ; run code, run (also, repls) + ;;gist ; interacting with github gists + (lookup +dictonary +offline) ; navigate your code and its documentation + lsp ; M-x vscode + magit ; a git porcelain for Emacs + ;;make ; run make tasks from Emacs + ;;pass ; password manager for nerds + pdf ; pdf enhancements + ;;prodigy ; FIXME managing external services & code builders + ;;rgb ; creating color strings + ;;taskrunner ; taskrunner for all your projects + ;;terraform ; infrastructure as code + ;;tmux ; an API for interacting with tmux + tree-sitter ; syntax and parsing, sitting in a tree... + ;;upload ; map local to remote projects via ssh/ftp + + :os + (:if IS-MAC macos) ; improve compatibility with macOS + tty ; improve the terminal Emacs experience + + :lang + ;;agda ; types of types of types of types... + ;;beancount ; mind the GAAP + (cc +lsp +tree-sitter) ; C > C++ == 1 + ;;clojure ; java with a lisp + ;;common-lisp ; if you've seen one lisp, you've seen them all + ;;coq ; proofs-as-programs + ;;crystal ; ruby at the speed of c + ;;csharp ; unity, .NET, and mono shenanigans + data ; config/data formats + ;;(dart +flutter) ; paint ui and not much else + ;;dhall + (elixir +lsp +tree-sitter) ; erlang done right + ;;elm ; care for a cup of TEA? + emacs-lisp ; drown in parentheses + ;;erlang ; an elegant language for a more civilized age + ;;ess ; emacs speaks statistics + ;;factor + ;;faust ; dsp, but you get to keep your soul + ;;fortran ; in FORTRAN, GOD is REAL (unless declared INTEGER) + ;;fsharp ; ML stands for Microsoft's Language + ;;fstar ; (dependent) types and (monadic) effects and Z3 + ;;gdscript ; the language you waited for + (go +lsp +tree-sitter) ; the hipster dialect + ;;(graphql +lsp) ; Give queries a REST + (haskell +lsp +tree-sitter) ; a language that's lazier than I am + ;;hy ; readability of scheme w/ speed of python + ;;idris ; a language you can depend on + (json +tree-sitter) ; At least it ain't XML + (java +lsp +tree-sitter) ; the poster child for carpal tunnel syndrome + (javascript +lsp +tree-sitter) ; all(hope(abandon(ye(who(enter(here)))))) + (julia +tree-sitter) ; a better, faster MATLAB + ;;kotlin ; a better, slicker Java(Script) + (latex +lsp) ; writing papers in Emacs has never been so fun + ;;lean ; for folks with too much to prove + ;;ledger ; be audit you can be + (lua +tree-sitter) ; one-based indices? one-based indices + markdown ; writing docs for people to ignore + ;;nim ; python + lisp at the speed of c + ;;nix ; I hereby declare "nix geht mehr!" + ;;ocaml ; an objective camel + org ; organize your plain life in plain text + ;;php ; perl's insecure younger brother + ;;plantuml ; diagrams for confusing people more + ;;purescript ; javascript, but functional + (python +lsp +tree-sitter) ; beautiful is better than ugly + ;;qt ; the 'cutest' gui framework ever + (racket +lsp +xp) ; a DSL for DSLs + ;;raku ; the artist formerly known as perl6 + (rest +jq) ; Emacs as a REST client + ;;rst ; ReST in peace + (ruby +lsp +tree-sitter +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"} + (rust +lsp +tree-sitter) ; Fe2O3.unwrap().unwrap().unwrap().unwrap() + ;;scala ; java, but good + ;;(scheme +chez) ; a fully conniving family of lisps + (sh +fish +powershell +lsp +tree-sitter) ; she sells {ba,z,fi}sh shells on the C xor + ;;sml + ;;solidity ; do you need a blockchain? No. + ;;swift ; who asked for emoji variables? + ;;terra ; Earth and Moon in alignment for performance. + (web +lsp +tree-sitter) ; the tubes + (yaml +tree-sitter) ; JSON, but readable + (zig +lsp +tree-sitter) ; C, but simpler + + :email + (mu4e +org +mbsync) + ;;notmuch + ;;(wanderlust +gmail) + + :app + ;;calendar + emms + ;;everywhere ; *leave* Emacs!? You must be joking + ;;irc ; how neckbeards socialize + ;;(rss +org) ; emacs as an RSS reader + ;;twitter ; twitter client https://twitter.com/vnought + + :config + ;;literate + (default +bindings +smartparens)) diff --git a/config/.doom.d/packages.el b/config/.doom.d/packages.el new file mode 100644 index 0000000..839b83c --- /dev/null +++ b/config/.doom.d/packages.el @@ -0,0 +1,50 @@ +;; -*- no-byte-compile: t; -*- +;;; $DOOMDIR/packages.el + +;; To install a package with Doom you must declare them here and run 'doom sync' +;; on the command line, then restart Emacs for the changes to take effect -- or +;; use 'M-x doom/reload'. + + +;; To install SOME-PACKAGE from MELPA, ELPA or emacsmirror: +;(package! some-package) + +;; To install a package directly from a remote git repo, you must specify a +;; `:recipe'. You'll find documentation on what `:recipe' accepts here: +;; https://github.com/radian-software/straight.el#the-recipe-format +;(package! another-package +; :recipe (:host github :repo "username/repo")) + +;; If the package you are trying to install does not contain a PACKAGENAME.el +;; file, or is located in a subdirectory of the repo, you'll need to specify +;; `:files' in the `:recipe': +;(package! this-package +; :recipe (:host github :repo "username/repo" +; :files ("some-file.el" "src/lisp/*.el"))) + +;; If you'd like to disable a package included with Doom, you can do so here +;; with the `:disable' property: +;(package! builtin-package :disable t) + +;; You can override the recipe of a built in package without having to specify +;; all the properties for `:recipe'. These will inherit the rest of its recipe +;; from Doom or MELPA/ELPA/Emacsmirror: +;(package! builtin-package :recipe (:nonrecursive t)) +;(package! builtin-package-2 :recipe (:repo "myfork/package")) + +;; Specify a `:branch' to install a package from a particular branch or tag. +;; This is required for some packages whose default branch isn't 'master' (which +;; our package manager can't deal with; see radian-software/straight.el#279) +;(package! builtin-package :recipe (:branch "develop")) + +;; Use `:pin' to specify a particular commit to install. +;(package! builtin-package :pin "1a2b3c4d5e") + + +;; Doom's packages are pinned to a specific commit and updated from release to +;; release. The `unpin!' macro allows you to unpin single packages... +;(unpin! pinned-package) +;; ...or multiple packages +;(unpin! pinned-package another-pinned-package) +;; ...Or *all* packages (NOT RECOMMENDED; will likely break things) +;(unpin! t) From c43aba7142b6d38ec7486ac262c5882e90a85048 Mon Sep 17 00:00:00 2001 From: Michael Chalupiak Date: Mon, 7 Oct 2024 13:09:18 -0400 Subject: [PATCH 7/7] change doom fonts --- config/.doom.d/config.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/.doom.d/config.el b/config/.doom.d/config.el index f1ed40b..a315081 100644 --- a/config/.doom.d/config.el +++ b/config/.doom.d/config.el @@ -19,8 +19,8 @@ ;; ;; They all accept either a font-spec, font string ("Input Mono-12"), or xlfd ;; font string. You generally only need these two: -(setq doom-font (font-spec :family "Cascadia Code" :size 28 ) - doom-variable-pitch-font (font-spec :family "Cantarell" :size 28 :weight 'bold)) +(setq doom-font (font-spec :family "Cascadia Code" :size 15 ) + doom-variable-pitch-font (font-spec :family "Cantarell" :size 16 :weight 'bold)) ;; There are two ways to load a theme. Both assume the theme is installed and ;; available. You can either set `doom-theme' or manually load a theme with the