Compare commits
3 commits
1d054cc63c
...
444d03d366
Author | SHA1 | Date | |
---|---|---|---|
444d03d366 | |||
da89e73b60 | |||
5ccc3ad2d9 |
3 changed files with 14 additions and 5 deletions
|
@ -34,6 +34,7 @@ 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,9 +15,6 @@ local single_host_plugins = {
|
|||
{ "Fymyte/rasi.vim" },
|
||||
{ dir = "~/dev/github/usu-dev/usu-vim/" },
|
||||
},
|
||||
algiz = {
|
||||
{ "LnL7/vim-nix" },
|
||||
},
|
||||
}
|
||||
|
||||
local function add_single_host_plugins()
|
||||
|
@ -29,6 +26,7 @@ end
|
|||
if vim.tbl_contains({ "othalan", "algiz" }, "algiz") then
|
||||
vim.list_extend(plugins, {
|
||||
{ "lambdalisue/suda.vim" },
|
||||
{ "LnL7/vim-nix" },
|
||||
})
|
||||
end
|
||||
|
||||
|
|
|
@ -1,3 +1,13 @@
|
|||
return {
|
||||
require("util").setup_lang({ treesitter = { "nim", "nim_format_string" }, mason = { "nimlsp" } }),
|
||||
require("util").setup_lang({ treesitter = { "nim", "nim_format_string" } }),
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
opts = {
|
||||
servers = {
|
||||
nimls = {
|
||||
mason = false,
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue