Compare commits
No commits in common. "444d03d3663cb4c8aaf4633a1a665bd56c352549" and "1d054cc63cd6d8bfd1a1ee322408e0da0827c62a" have entirely different histories.
444d03d366
...
1d054cc63c
3 changed files with 5 additions and 14 deletions
|
@ -34,7 +34,6 @@ let
|
|||
proc formatNimCode(pattern = r"^src/.*\.nim$") =
|
||||
let srcFiles = gorgeExCd(fmt"nimgrep --filenames -r '{pattern}' --noColor").output.split("\n")[0..^2]
|
||||
for file in srcFiles:
|
||||
# let cmd = "nph $1" % [file]
|
||||
let cmd = "nimpretty $1" % [file]
|
||||
echo "Running $1 .." % [cmd]
|
||||
exec(cmd)
|
||||
|
|
|
@ -15,6 +15,9 @@ local single_host_plugins = {
|
|||
{ "Fymyte/rasi.vim" },
|
||||
{ dir = "~/dev/github/usu-dev/usu-vim/" },
|
||||
},
|
||||
algiz = {
|
||||
{ "LnL7/vim-nix" },
|
||||
},
|
||||
}
|
||||
|
||||
local function add_single_host_plugins()
|
||||
|
@ -26,7 +29,6 @@ end
|
|||
if vim.tbl_contains({ "othalan", "algiz" }, "algiz") then
|
||||
vim.list_extend(plugins, {
|
||||
{ "lambdalisue/suda.vim" },
|
||||
{ "LnL7/vim-nix" },
|
||||
})
|
||||
end
|
||||
|
||||
|
|
|
@ -1,13 +1,3 @@
|
|||
return {
|
||||
require("util").setup_lang({ treesitter = { "nim", "nim_format_string" } }),
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
opts = {
|
||||
servers = {
|
||||
nimls = {
|
||||
mason = false,
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
require("util").setup_lang({ treesitter = { "nim", "nim_format_string" }, mason = { "nimlsp" } }),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue