nixvim/plugins/lang/lua.nix
Lander Van den Bulcke 61feed4086
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>
2025-10-19 18:25:15 +02:00

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}";
};
};
};
};
};
}