Nixvim: Enable formatters using conform.nvim

This commit is contained in:
Weckyy702 committed 2026-04-02 13:48:08 +02:00
1 parent 0f105b5324
commit efbb990fab
3 files changed
+18

No files matched your search

@@ -1,6 +1,7 @@
{ ... }: {
imports = [
./lsp.nix
./formatter.nix
./telescope
./cmp
];
@@ -0,0 +1,15 @@
{
plugins.conform-nvim = {
enable = true;
autoInstall.enable = true;
settings = {
formatters_by_ft = {
cpp = [ "clang_format" ];
markdown = [
"prettier"
];
};
formatters = { };
};
};
}
@@ -20,6 +20,8 @@
enable = true;
};
rnix.enable = true;
basedpyright.enable = true;
};
keymaps = [