fix: package

This commit is contained in:
Nydragon 2024-10-20 12:42:24 +00:00
parent 2b17334f38
commit d7b1584fdd
Signed by: nydragon
SSH key fingerprint: SHA256:WcjW5NJPQ8Dx4uQDmoIlVPLWE27Od3fxoe0IUvuoPHE
2 changed files with 4 additions and 4 deletions

View file

@ -13,8 +13,8 @@ cmp.setup({
},
mapping = {
-- Add tab support
["<S-Tab>"] = cmp.mapping.select_prev_item(),
["<Tab>"] = cmp.mapping.select_next_item(),
["<Up>"] = cmp.mapping.select_prev_item(),
["<Down>"] = cmp.mapping.select_next_item(),
["<C-S-f>"] = cmp.mapping.scroll_docs(-4),
["<C-f>"] = cmp.mapping.scroll_docs(4),
["<C-Space>"] = cmp.mapping.complete(),

View file

@ -43,8 +43,8 @@ pkgs.writeTextFile {
executable = true;
destination = "/bin/nvim";
text = ''
#!${pkgs.bash}
export PATH=${lib.makeBinPath deps}:$PATH
#!${pkgs.bash}/bin/bash
export PATH=${lib.makeBinPath deps}:$PATH
export LUA_PATH=${../.}/lua/?.lua
${pkgs.neovim}/bin/nvim -u ${../.}/init.lua $@
'';