Nixvim: Enable formatters using conform.nvim

This commit is contained in:
2026-04-02 13:44:37 +02:00
parent 0f105b5324
commit efbb990fab
3 changed files with 18 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
{ ... }: {
imports = [
./lsp.nix
./formatter.nix
./telescope
./cmp
];

View File

@@ -0,0 +1,15 @@
{
plugins.conform-nvim = {
enable = true;
autoInstall.enable = true;
settings = {
formatters_by_ft = {
cpp = [ "clang_format" ];
markdown = [
"prettier"
];
};
formatters = { };
};
};
}

View File

@@ -20,6 +20,8 @@
enable = true;
};
rnix.enable = true;
basedpyright.enable = true;
};
keymaps = [