modules/autocmd: factor out autocmd-helpers

This commit is contained in:
Gaetan Lepage 2023-11-14 19:24:54 +01:00 committed by Gaétan Lepage
parent 06ebef8da8
commit bbbbfa2774
3 changed files with 83 additions and 76 deletions

View file

@ -1,6 +1,7 @@
{lib, ...}:
with lib; rec {
keymaps = import ./keymap-helpers.nix {inherit lib;};
autocmd = import ./autocmd-helpers.nix {inherit lib;};
# vim dictionaries are, in theory, compatible with JSON
toVimDict = args: