fix(nvim): clean up nix-develop fork
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
ae8e828514
commit
4044403520
9 changed files with 16 additions and 17 deletions
BIN
flake.lock
BIN
flake.lock
Binary file not shown.
|
@ -29,9 +29,9 @@ in {
|
|||
if (devShells['c-lang'] == nil) then
|
||||
devShells['c-lang'] = 1;
|
||||
|
||||
require('nix-develop').nix_develop({'${flakeEnv}#c-lang'}, vim.schedule_wrap(function()
|
||||
require('nix-develop').nix_develop({'${flakeEnv}#c-lang'}, function()
|
||||
vim.cmd[[LspStart]];
|
||||
end));
|
||||
end);
|
||||
end
|
||||
end,
|
||||
});
|
||||
|
|
|
@ -70,10 +70,10 @@ in {
|
|||
if (devShells['csharp'] == nil) then
|
||||
devShells['csharp'] = 1;
|
||||
|
||||
require('nix-develop').nix_develop({'${flakeEnv}#csharp'}, vim.schedule_wrap(function()
|
||||
require('nix-develop').nix_develop({'${flakeEnv}#csharp'}, function()
|
||||
startRoslyn();
|
||||
vim.cmd[[e]]; -- reload to attach on current file
|
||||
end));
|
||||
end);
|
||||
end
|
||||
end,
|
||||
});
|
||||
|
|
|
@ -75,7 +75,6 @@ in {
|
|||
;
|
||||
})
|
||||
++ [
|
||||
# FIXME: defer inside plugin instead
|
||||
(pkgs.vimPlugins.nix-develop-nvim.overrideAttrs (o: {
|
||||
name = "vimplugin-${o.pname}-${mkVersion nix-develop-nvim-src}";
|
||||
src = nix-develop-nvim-src;
|
||||
|
|
|
@ -23,9 +23,9 @@ in {
|
|||
if (devShells['json'] == nil) then
|
||||
devShells['json'] = 1;
|
||||
|
||||
require('nix-develop').nix_develop({'${flakeEnv}#json'}, vim.schedule_wrap(function()
|
||||
require('nix-develop').nix_develop({'${flakeEnv}#json'}, function()
|
||||
vim.cmd[[LspStart]];
|
||||
end));
|
||||
end);
|
||||
end
|
||||
end,
|
||||
});
|
||||
|
|
|
@ -31,9 +31,9 @@ in {
|
|||
if (devShells['lua'] == nil) then
|
||||
devShells['lua'] = 1;
|
||||
|
||||
require('nix-develop').nix_develop({'${flakeEnv}#lua'}, vim.schedule_wrap(function()
|
||||
require('nix-develop').nix_develop({'${flakeEnv}#lua'}, function()
|
||||
vim.cmd[[LspStart]];
|
||||
end));
|
||||
end);
|
||||
end
|
||||
end,
|
||||
});
|
||||
|
|
|
@ -35,9 +35,9 @@ in {
|
|||
if (devShells['markdown'] == nil) then
|
||||
devShells['markdown'] = 1;
|
||||
|
||||
require('nix-develop').nix_develop({'${flakeEnv}#markdown'}, vim.schedule_wrap(function()
|
||||
require('nix-develop').nix_develop({'${flakeEnv}#markdown'}, function()
|
||||
vim.cmd[[LspStart]];
|
||||
end));
|
||||
end);
|
||||
end
|
||||
end,
|
||||
});
|
||||
|
|
|
@ -23,9 +23,9 @@ in {
|
|||
if (devShells['rust'] == nil) then
|
||||
devShells['rust'] = 1;
|
||||
|
||||
require('nix-develop').nix_develop({'${flakeEnv}#rust'}, vim.schedule_wrap(function()
|
||||
require('nix-develop').nix_develop({'${flakeEnv}#rust'}, function()
|
||||
vim.cmd[[LspStart]];
|
||||
end));
|
||||
end);
|
||||
end
|
||||
end,
|
||||
});
|
||||
|
|
|
@ -29,9 +29,9 @@ in {
|
|||
if (devShells['web'] == nil) then
|
||||
devShells['web'] = 1;
|
||||
|
||||
require('nix-develop').nix_develop({'${flakeEnv}#web'}, vim.schedule_wrap(function()
|
||||
require('nix-develop').nix_develop({'${flakeEnv}#web'}, function()
|
||||
vim.cmd[[LspStart]];
|
||||
end));
|
||||
end);
|
||||
end
|
||||
end,
|
||||
});
|
||||
|
@ -45,9 +45,9 @@ in {
|
|||
if (devShells['web'] == nil) then
|
||||
devShells['web'] = 1;
|
||||
|
||||
require('nix-develop').nix_develop({'${flakeEnv}#web'}, vim.schedule_wrap(function()
|
||||
require('nix-develop').nix_develop({'${flakeEnv}#web'}, function()
|
||||
vim.cmd[[LspStart]];
|
||||
end));
|
||||
end);
|
||||
end
|
||||
end,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue