pick the solution file with the shortest path string automatically

did this so that whichever solution file is in pwd will be picked
This commit is contained in:
Ivar Fatland
2026-04-22 14:37:38 +02:00
parent 3a2cb6a3fc
commit 4cd4db3504
+10
View File
@@ -536,6 +536,16 @@ require'lazy'.setup{ --{{{1
},
{ "seblyng/roslyn.nvim", --{{{2
opts = {
---function to pick which .sln file to use when opening a cs file
---@param targets string[]
choose_target=function (targets)
if targets == nil then return end
if #targets == 0 then return end
table.sort(targets, function(a, b)
return #a < #b
end)
return targets[1]
end
},
},
{ 'neovim/nvim-lspconfig', --{{{2