Compare commits

..

No commits in common. "444d03d3663cb4c8aaf4633a1a665bd56c352549" and "1d054cc63cd6d8bfd1a1ee322408e0da0827c62a" have entirely different histories.

3 changed files with 5 additions and 14 deletions

View file

@ -34,7 +34,6 @@ let
proc formatNimCode(pattern = r"^src/.*\.nim$") = proc formatNimCode(pattern = r"^src/.*\.nim$") =
let srcFiles = gorgeExCd(fmt"nimgrep --filenames -r '{pattern}' --noColor").output.split("\n")[0..^2] let srcFiles = gorgeExCd(fmt"nimgrep --filenames -r '{pattern}' --noColor").output.split("\n")[0..^2]
for file in srcFiles: for file in srcFiles:
# let cmd = "nph $1" % [file]
let cmd = "nimpretty $1" % [file] let cmd = "nimpretty $1" % [file]
echo "Running $1 .." % [cmd] echo "Running $1 .." % [cmd]
exec(cmd) exec(cmd)

View file

@ -15,6 +15,9 @@ local single_host_plugins = {
{ "Fymyte/rasi.vim" }, { "Fymyte/rasi.vim" },
{ dir = "~/dev/github/usu-dev/usu-vim/" }, { dir = "~/dev/github/usu-dev/usu-vim/" },
}, },
algiz = {
{ "LnL7/vim-nix" },
},
} }
local function add_single_host_plugins() local function add_single_host_plugins()
@ -26,7 +29,6 @@ end
if vim.tbl_contains({ "othalan", "algiz" }, "algiz") then if vim.tbl_contains({ "othalan", "algiz" }, "algiz") then
vim.list_extend(plugins, { vim.list_extend(plugins, {
{ "lambdalisue/suda.vim" }, { "lambdalisue/suda.vim" },
{ "LnL7/vim-nix" },
}) })
end end

View file

@ -1,13 +1,3 @@
return { return {
require("util").setup_lang({ treesitter = { "nim", "nim_format_string" } }), require("util").setup_lang({ treesitter = { "nim", "nim_format_string" }, mason = { "nimlsp" } }),
{
"neovim/nvim-lspconfig",
opts = {
servers = {
nimls = {
mason = false,
},
}
}
}
} }