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 let
inherit (config.home) homeDirectory; inherit (config.home) homeDirectory;

View File

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

View File

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

View File

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