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 10 additions and 10 deletions

6
flake.lock generated
View file

@ -1152,11 +1152,11 @@
"nix-develop-nvim-src": {
"flake": false,
"locked": {
"lastModified": 1734889859,
"narHash": "sha256-Zue4Y/qECuhXfmP7WccQMHzFMrI090jWpzMZn+tRVnI=",
"lastModified": 1736308588,
"narHash": "sha256-pYlP4SRnJsl9v4MGyXrp8+jNbNWtYU5gcb23UDcQv3Q=",
"owner": "matt1432",
"repo": "nix-develop.nvim",
"rev": "678f2609674082595961924cd1486717c49a01b3",
"rev": "b0b9487c083bbc4274e97d25438419a35a67fb77",
"type": "github"
},
"original": {

View file

@ -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

View file

@ -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);

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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