mirror of
https://github.com/nix-community/home-manager
synced 2024-11-14 07:09:45 +01:00
28 lines
635 B
Nix
28 lines
635 B
Nix
|
{ config, pkgs, lib, xdg, ... }:
|
||
|
|
||
|
{
|
||
|
programs.vim-vint = {
|
||
|
enable = true;
|
||
|
settings = {
|
||
|
cmdargs = {
|
||
|
severity = "error";
|
||
|
color = true;
|
||
|
env = { neovim = true; };
|
||
|
};
|
||
|
policies = {
|
||
|
ProhibitEqualTildeOperator.enabled = false;
|
||
|
ProhibitUsingUndeclaredVariable.enabled = false;
|
||
|
ProhibitAbbreviationOption.enabled = false;
|
||
|
ProhibitImplicitScopeVariable.enabled = false;
|
||
|
ProhibitSetNoCompatible.enabled = false;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileContent home-files/.config/.vintrc.yaml ${
|
||
|
./basic-configuration.yaml
|
||
|
}
|
||
|
'';
|
||
|
}
|