feat(nvim): use nix_develop_extend
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
248d04c2b0
commit
bc042ef768
8 changed files with 7 additions and 7 deletions
BIN
flake.lock
BIN
flake.lock
Binary file not shown.
|
@ -29,7 +29,7 @@ in {
|
|||
if (devShells['c-lang'] == nil) then
|
||||
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]];
|
||||
end);
|
||||
end
|
||||
|
|
|
@ -70,7 +70,7 @@ in {
|
|||
if (devShells['csharp'] == nil) then
|
||||
devShells['csharp'] = 1;
|
||||
|
||||
require('nix-develop').nix_develop({'${flakeEnv}#csharp'}, function()
|
||||
require('nix-develop').nix_develop_extend({'${flakeEnv}#csharp'}, function()
|
||||
startRoslyn();
|
||||
vim.cmd[[e]]; -- reload to attach on current file
|
||||
end);
|
||||
|
|
|
@ -23,7 +23,7 @@ in {
|
|||
if (devShells['json'] == nil) then
|
||||
devShells['json'] = 1;
|
||||
|
||||
require('nix-develop').nix_develop({'${flakeEnv}#json'}, function()
|
||||
require('nix-develop').nix_develop_extend({'${flakeEnv}#json'}, function()
|
||||
vim.cmd[[LspStart]];
|
||||
end);
|
||||
end
|
||||
|
|
|
@ -31,7 +31,7 @@ in {
|
|||
if (devShells['lua'] == nil) then
|
||||
devShells['lua'] = 1;
|
||||
|
||||
require('nix-develop').nix_develop({'${flakeEnv}#lua'}, function()
|
||||
require('nix-develop').nix_develop_extend({'${flakeEnv}#lua'}, function()
|
||||
vim.cmd[[LspStart]];
|
||||
end);
|
||||
end
|
||||
|
|
|
@ -35,7 +35,7 @@ in {
|
|||
if (devShells['markdown'] == nil) then
|
||||
devShells['markdown'] = 1;
|
||||
|
||||
require('nix-develop').nix_develop({'${flakeEnv}#markdown'}, function()
|
||||
require('nix-develop').nix_develop_extend({'${flakeEnv}#markdown'}, function()
|
||||
vim.cmd[[LspStart]];
|
||||
end);
|
||||
end
|
||||
|
|
|
@ -23,7 +23,7 @@ in {
|
|||
if (devShells['rust'] == nil) then
|
||||
devShells['rust'] = 1;
|
||||
|
||||
require('nix-develop').nix_develop({'${flakeEnv}#rust'}, function()
|
||||
require('nix-develop').nix_develop_extend({'${flakeEnv}#rust'}, function()
|
||||
vim.cmd[[LspStart]];
|
||||
end);
|
||||
end
|
||||
|
|
|
@ -28,7 +28,7 @@ in {
|
|||
if (devShells['web'] == nil) then
|
||||
devShells['web'] = 1;
|
||||
|
||||
require('nix-develop').nix_develop({'${flakeEnv}#web'}, function()
|
||||
require('nix-develop').nix_develop_extend({'${flakeEnv}#web'}, function()
|
||||
vim.cmd[[LspStart]];
|
||||
end);
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue