Neovim, remove default rust lint enforcement

I'm sorry to say but I use 2 spaces instead of 4, and I prefer a line
width of 80, not 100. For that reason I'm disabling rust linting if the
language is enabled.
This commit is contained in:
Julia Lange 2025-05-22 09:06:48 -07:00
parent 2cde55691b
commit bec3d840cb
Signed by: Julia
SSH key fingerprint: SHA256:5DJcfxa5/fKCYn57dcabJa2vN2e6eT0pBerYi5SUbto

View file

@ -105,7 +105,13 @@
]); ]);
rust-pkg = lopts cfgl.rust.enable (with pkgs.vimPlugins; [ rust-pkg = lopts cfgl.rust.enable (with pkgs.vimPlugins; [
rustaceanvim {
plugin = rustaceanvim;
type = "lua";
config = ''
vim.g.rust_recommended_style = 0
'';
}
]); ]);
go-pkg = lopts cfgl.go.enable (with pkgs.vimPlugins; [ go-pkg = lopts cfgl.go.enable (with pkgs.vimPlugins; [