refactor: complete overhaul

Complete overhaul of repo structure based on nvix.

See https://github.com/niksingh710/nvix

Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
Lander Van den Bulcke 2025-10-10 14:02:21 +02:00
parent ff2c59724a
commit 61feed4086
Signed by: lander
GPG key ID: 0142722B4B0C536F
75 changed files with 2916 additions and 2314 deletions

33
plugins/lang/shell.nix Normal file
View file

@ -0,0 +1,33 @@
{ lib, pkgs, ... }:
let
formatter = [
"shellcheck"
"shellharden"
"shfmt"
];
in
{
plugins = {
lsp.servers.bashls.enable = true;
conform-nvim.settings = {
formatters_by_ft = {
bash = formatter;
sh = formatter;
zsh = formatter;
};
formatters = {
shellcheck = {
command = lib.getExe pkgs.shellcheck;
};
shellharden = {
command = lib.getExe pkgs.shellharden;
};
shfmt = {
command = lib.getExe pkgs.shfmt;
};
};
};
};
}