1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-05 01:19:46 +01:00
home-manager/tests/modules/programs/vim-vint/basic-configuration.nix
Tomo ffc022b6a7
vim-vint: add module (#3604)
* vim-vint: add module

* vim-vint: add tests

* maintainers: add tomodachi94

* vim-vint: fix tests

---------

Co-authored-by: Naïm Favier <n@monade.li>
2023-02-05 11:12:28 +01:00

27 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
}
'';
}