feat(nvim): use nix_develop_extend
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2025-01-07 23:02:02 -05:00
parent 248d04c2b0
commit bc042ef768
8 changed files with 7 additions and 7 deletions

Binary file not shown.

View file

@ -29,7 +29,7 @@ in {
if (devShells['c-lang'] == nil) then if (devShells['c-lang'] == nil) then
devShells['c-lang'] = 1; devShells['c-lang'] = 1;
require('nix-develop').nix_develop({'${flakeEnv}#c-lang'}, function() require('nix-develop').nix_develop_extend({'${flakeEnv}#c-lang'}, function()
vim.cmd[[LspStart]]; vim.cmd[[LspStart]];
end); end);
end end

View file

@ -70,7 +70,7 @@ in {
if (devShells['csharp'] == nil) then if (devShells['csharp'] == nil) then
devShells['csharp'] = 1; devShells['csharp'] = 1;
require('nix-develop').nix_develop({'${flakeEnv}#csharp'}, function() require('nix-develop').nix_develop_extend({'${flakeEnv}#csharp'}, function()
startRoslyn(); startRoslyn();
vim.cmd[[e]]; -- reload to attach on current file vim.cmd[[e]]; -- reload to attach on current file
end); end);

View file

@ -23,7 +23,7 @@ in {
if (devShells['json'] == nil) then if (devShells['json'] == nil) then
devShells['json'] = 1; devShells['json'] = 1;
require('nix-develop').nix_develop({'${flakeEnv}#json'}, function() require('nix-develop').nix_develop_extend({'${flakeEnv}#json'}, function()
vim.cmd[[LspStart]]; vim.cmd[[LspStart]];
end); end);
end end

View file

@ -31,7 +31,7 @@ in {
if (devShells['lua'] == nil) then if (devShells['lua'] == nil) then
devShells['lua'] = 1; devShells['lua'] = 1;
require('nix-develop').nix_develop({'${flakeEnv}#lua'}, function() require('nix-develop').nix_develop_extend({'${flakeEnv}#lua'}, function()
vim.cmd[[LspStart]]; vim.cmd[[LspStart]];
end); end);
end end

View file

@ -35,7 +35,7 @@ in {
if (devShells['markdown'] == nil) then if (devShells['markdown'] == nil) then
devShells['markdown'] = 1; devShells['markdown'] = 1;
require('nix-develop').nix_develop({'${flakeEnv}#markdown'}, function() require('nix-develop').nix_develop_extend({'${flakeEnv}#markdown'}, function()
vim.cmd[[LspStart]]; vim.cmd[[LspStart]];
end); end);
end end

View file

@ -23,7 +23,7 @@ in {
if (devShells['rust'] == nil) then if (devShells['rust'] == nil) then
devShells['rust'] = 1; devShells['rust'] = 1;
require('nix-develop').nix_develop({'${flakeEnv}#rust'}, function() require('nix-develop').nix_develop_extend({'${flakeEnv}#rust'}, function()
vim.cmd[[LspStart]]; vim.cmd[[LspStart]];
end); end);
end end

View file

@ -28,7 +28,7 @@ in {
if (devShells['web'] == nil) then if (devShells['web'] == nil) then
devShells['web'] = 1; devShells['web'] = 1;
require('nix-develop').nix_develop({'${flakeEnv}#web'}, function() require('nix-develop').nix_develop_extend({'${flakeEnv}#web'}, function()
vim.cmd[[LspStart]]; vim.cmd[[LspStart]];
end); end);
end end