Skip to content

Commit 036ad4d

Browse files
committed
fix: disable Conform for Rust
1 parent 79993c7 commit 036ad4d

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

docs/release-notes/rl-0.8.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@
346346
- Fix default telescope ignore list entry for '.git/' to properly match
347347
- Add [gitlinker.nvim] plugin to `vim.git.gitlinker-nvim`
348348
- Add [nvim-treesitter-textobjects] plugin to `vim.treesitter.textobjects`
349+
- Fix rustfmt not respecting rustfmt.toml config
349350

350351
[rrvsh](https://github.com/rrvsh):
351352

modules/plugins/languages/rust.nix

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -120,16 +120,6 @@ in {
120120
vim.treesitter.grammars = [cfg.treesitter.package];
121121
})
122122

123-
(mkIf cfg.format.enable {
124-
vim.formatter.conform-nvim = {
125-
enable = true;
126-
setupOpts.formatters_by_ft.rust = [cfg.format.type];
127-
setupOpts.formatters.${cfg.format.type} = {
128-
command = getExe cfg.format.package;
129-
};
130-
};
131-
})
132-
133123
(mkIf (cfg.lsp.enable || cfg.dap.enable) {
134124
vim = {
135125
startPlugins = ["rustaceanvim"];

0 commit comments

Comments
 (0)