chore: Improve formatting

This commit is contained in:
Donovan Glover 2024-09-01 14:11:59 -04:00
parent 71b252d810
commit 939002e2f6
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
4 changed files with 19 additions and 3 deletions

View File

@ -1,4 +1,9 @@
{ nix-config, pkgs, config, ... }:
{
nix-config,
pkgs,
config,
...
}:
let
inherit (config.home) homeDirectory;

View File

@ -1,4 +1,9 @@
{ nix-config, pkgs, lib, ... }:
{
nix-config,
pkgs,
lib,
...
}:
let
inherit (lib) mkForce;

View File

@ -241,10 +241,12 @@
['<C-u>'] = cmp.mapping.scroll_docs(-4),
['<C-d>'] = cmp.mapping.scroll_docs(4),
['<C-Space>'] = cmp.mapping.complete(),
['<CR>'] = cmp.mapping.confirm {
behavior = cmp.ConfirmBehavior.Replace,
select = true,
},
['<Tab>'] = cmp.mapping(function(fallback)
if cmp.visible() then
cmp.select_next_item()
@ -254,6 +256,7 @@
fallback()
end
end, { 'i', 's' }),
['<S-Tab>'] = cmp.mapping(function(fallback)
if cmp.visible() then
cmp.select_prev_item()
@ -264,6 +267,7 @@
end
end, { 'i', 's' }),
}),
sources = {
{ name = 'nvim_lsp' },
{ name = 'luasnip' },

View File

@ -16,7 +16,9 @@ self.inputs.nixpkgs.lib.nixos.runTest {
modules.desktop.container = true;
home-manager.sharedModules = with nix-config.homeModules; [ neovim ];
home-manager.sharedModules = with nix-config.homeModules; [
neovim
];
};
testScript = # python