[nvim] Replace roslyn with easy-dotnet

This commit is contained in:
aloslider committed 2026-10-24 01:13:04 +03:00
1 parent ce8f02efd5
commit 19da157025
5 files changed
+22 -13

No files matched your search

-1
View File
@@ -10,7 +10,6 @@ vim.lsp.enable({
"html", "html",
"lua_ls", "lua_ls",
"nil_ls", "nil_ls",
"roslyn_ls",
}) })
require("config.diagnostics") require("config.diagnostics")
+1 -1
View File
@@ -4,7 +4,7 @@
"bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" }, "bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" },
"conform.nvim": { "branch": "master", "commit": "619363c30309d29ffa631e67c8183f2a72caa373" }, "conform.nvim": { "branch": "master", "commit": "619363c30309d29ffa631e67c8183f2a72caa373" },
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" }, "diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
"easy-dotnet.nvim": { "branch": "main", "commit": "9a761b062e911dd709c6b31e857038e6c4981654" }, "easy-dotnet.nvim": { "branch": "main", "commit": "e698b942a0a91cd5b457b828d16a66b7cb94d732" },
"flash.nvim": { "branch": "main", "commit": "b6346946d10d07998efee029fb0f7a593806d0cd" }, "flash.nvim": { "branch": "main", "commit": "b6346946d10d07998efee029fb0f7a593806d0cd" },
"fzf-lua": { "branch": "main", "commit": "532d463f5c83595192fe740572d8fd6902b2217a" }, "fzf-lua": { "branch": "main", "commit": "532d463f5c83595192fe740572d8fd6902b2217a" },
"gitsigns.nvim": { "branch": "main", "commit": "eb60cc7b94c46005237fd34170d76f3a089a90aa" }, "gitsigns.nvim": { "branch": "main", "commit": "eb60cc7b94c46005237fd34170d76f3a089a90aa" },
@@ -13,6 +13,20 @@ return {
follow_current_file = { follow_current_file = {
enabled = true, enabled = true,
}, },
window = {
mappings = {
["R"] = "easy",
},
},
commands = {
["easy"] = function(state)
local node = state.tree:get_node()
local path = node.type == "directory" and node.path or vim.fs.dirname(node.path)
require("easy-dotnet").create_new_item(path, function()
require("neo-tree.sources.manager").refresh(state.name)
end)
end
}
}, },
}, },
keys = { keys = {
@@ -10,7 +10,7 @@ return {
config = function() config = function()
require("neotest").setup({ require("neotest").setup({
adapters = { adapters = {
require("neotest-vstest") require("easy-dotnet.neotest")
} }
}) })
end, end,
@@ -1,18 +1,14 @@
return { return {
{
"GustavEikaas/easy-dotnet.nvim", "GustavEikaas/easy-dotnet.nvim",
enabled = false, enabled = true,
lazy = false,
dependencies = { "nvim-lua/plenary.nvim", "mfussenegger/nvim-dap", "ibhagwan/fzf-lua", }, dependencies = { "nvim-lua/plenary.nvim", "mfussenegger/nvim-dap", "ibhagwan/fzf-lua", },
opts = {}, opts = {
test_runner = {
neotest_integration = true,
}, },
{
"MonsieurTib/neonuget",
dependencies = {
"nvim-lua/plenary.nvim",
}, },
opts = {},
keys = { keys = {
{ "<leader>nn", "<cmd>NuGet<cr>", desc = "Open NuGet" } { "<leader>dn", "<cmd>Dotnet<cr>", desc = "Open easy-dotnet" },
}
} }
} }