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:
parent
2cde55691b
commit
bec3d840cb
1 changed files with 8 additions and 2 deletions
|
|
@ -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; [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue