Complete overhaul of repo structure based on nvix. See https://github.com/niksingh710/nvix Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
33 lines
560 B
Nix
33 lines
560 B
Nix
{ lib, pkgs, ... }:
|
|
{
|
|
plugins = {
|
|
lsp.servers = {
|
|
lua_ls = {
|
|
enable = true;
|
|
settings.diagnostics = {
|
|
disable = [ "miss-name" ];
|
|
globals = [
|
|
"vim"
|
|
"cmp"
|
|
"Snacks"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
|
|
conform-nvim = {
|
|
enable = true;
|
|
settings = {
|
|
formatters_by_ft = {
|
|
lua = [ "stylua" ];
|
|
};
|
|
|
|
formatters = {
|
|
stylua = {
|
|
command = "${lib.getExe pkgs.stylua}";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|