diff --git a/dot_config/nvim/lua/plugins/none-ls.lua b/dot_config/nvim/lua/plugins/none-ls.lua deleted file mode 100644 index 1377fd5..0000000 --- a/dot_config/nvim/lua/plugins/none-ls.lua +++ /dev/null @@ -1,63 +0,0 @@ --- local h = require("-ls.helpers") --- local methods = require("none-ls.methods") --- local u = require("none-ls.utils") - --- local FORMATTING = methods.internal.FORMATTING - --- local leptosfmt = h.make_builtin({ --- name = "leptosfmt", --- meta = { --- url = "https://github.com/bram209/leptosfmt", --- description = "A formatter for the leptos view! macro" --- }, --- method = FORMATTING, --- filetypes = { "rust" }, --- generator_opts = { --- command = "leptosfmt", --- args = { "--quiet", "--stdin" }, --- to_stdin = true, --- }, --- factory = h.formatter_factory, --- }) - - -return { - "nvimtools/none-ls.nvim", - event = "BufReadPre", - dependencies = { "mason.nvim" }, - opts = function() - local nls = require("null-ls") - return { - sources = { - nls.builtins.formatting.terraform_fmt, - --nls.builtins.formatting.yamlfmt, - nls.builtins.formatting.deno_fmt.with({ - filetypes = { "markdown" } - }), - nls.builtins.formatting.golines, - nls.builtins.formatting.goimports_reviser, - nls.builtins.formatting.goimports, - nls.builtins.formatting.gofumpt, - nls.builtins.formatting.taplo, - nls.builtins.formatting.prettierd.with({ - filetypes = { "graphql" } - }), - nls.builtins.formatting.shfmt, - nls.builtins.code_actions.gitsigns, - nls.builtins.code_actions.refactoring, - nls.builtins.formatting.rustfmt.with({ - extra_args = { "--edition=2021" }, - filetypes = { "rust" } - }), - -- leptosfmt.with({ - -- condition = function(utils) - -- return utils.root_has_file({ "leptosfmt.toml" }) - -- end, - -- }), - nls.builtins.diagnostics.revive, - nls.builtins.code_actions.impl, - nls.builtins.code_actions.refactoring, - }, - } - end, -} diff --git a/dot_config/nvim/lua/plugins/null-ls.lua b/dot_config/nvim/lua/plugins/null-ls.lua deleted file mode 100644 index 1704ec3..0000000 --- a/dot_config/nvim/lua/plugins/null-ls.lua +++ /dev/null @@ -1,63 +0,0 @@ -local h = require("null-ls.helpers") -local methods = require("null-ls.methods") -local u = require("null-ls.utils") - -local FORMATTING = methods.internal.FORMATTING - -local leptosfmt = h.make_builtin({ - name = "leptosfmt", - meta = { - url = "https://github.com/bram209/leptosfmt", - description = "A formatter for the leptos view! macro" - }, - method = FORMATTING, - filetypes = { "rust" }, - generator_opts = { - command = "leptosfmt", - args = { "--quiet", "--stdin" }, - to_stdin = true, - }, - factory = h.formatter_factory, -}) - - -return { - "jose-elias-alvarez/null-ls.nvim", - event = "BufReadPre", - dependencies = { "mason.nvim" }, - opts = function() - local nls = require("null-ls") - return { - sources = { - nls.builtins.formatting.terraform_fmt, - --nls.builtins.formatting.yamlfmt, - nls.builtins.formatting.deno_fmt.with({ - filetypes = { "markdown" } - }), - nls.builtins.formatting.golines, - nls.builtins.formatting.goimports_reviser, - nls.builtins.formatting.goimports, - nls.builtins.formatting.gofumpt, - nls.builtins.formatting.taplo, - nls.builtins.formatting.prettierd.with({ - filetypes = { "graphql" } - }), - nls.builtins.formatting.shfmt, - nls.builtins.code_actions.gitsigns, - nls.builtins.code_actions.refactoring, - nls.builtins.formatting.rustfmt.with({ - extra_args = { "--edition=2021" }, - filetypes = { "rust" } - }), - leptosfmt.with({ - condition = function(utils) - return utils.root_has_file({ "leptosfmt.toml" }) - end, - }), - nls.builtins.diagnostics.revive, - nls.builtins.code_actions.impl, - nls.builtins.code_actions.refactoring, - }, - } - end, -} diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl index 8b99615..be0be1e 100644 --- a/dot_zshrc.tmpl +++ b/dot_zshrc.tmpl @@ -172,4 +172,8 @@ export GITEA_ORG="kjuulh" export BUN_INSTALL="$HOME/.bun" export PATH="$BUN_INSTALL/bin:$PATH" +export GITHUB_COMMITTER_EMAIL=contact@kjuulh +export GITHUB_COMMITTER_NAME=kjuulh +export SHUTTLE_EXTENSIONS_REGISTRY="git=git@github.com:kjuulh/shuttle-extensions.git" + #zprof