[nvim] Replace roslyn with easy-dotnet
This commit is contained in:
1 parent
ce8f02efd5
commit
19da157025
5 files changed
+23
-14
No files matched your search
@@ -10,7 +10,6 @@ vim.lsp.enable({
|
||||
"html",
|
||||
"lua_ls",
|
||||
"nil_ls",
|
||||
"roslyn_ls",
|
||||
})
|
||||
|
||||
require("config.diagnostics")
|
||||
@@ -4,7 +4,7 @@
|
||||
"bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" },
|
||||
"conform.nvim": { "branch": "master", "commit": "619363c30309d29ffa631e67c8183f2a72caa373" },
|
||||
"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" },
|
||||
"fzf-lua": { "branch": "main", "commit": "532d463f5c83595192fe740572d8fd6902b2217a" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "eb60cc7b94c46005237fd34170d76f3a089a90aa" },
|
||||
|
||||
@@ -13,12 +13,26 @@ return {
|
||||
follow_current_file = {
|
||||
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 = {
|
||||
{
|
||||
"<leader>e",
|
||||
function ()
|
||||
function()
|
||||
require("neo-tree.command").execute({ toggle = true })
|
||||
end,
|
||||
desc = "Open neo-tree"
|
||||
|
||||
@@ -10,7 +10,7 @@ return {
|
||||
config = function()
|
||||
require("neotest").setup({
|
||||
adapters = {
|
||||
require("neotest-vstest")
|
||||
require("easy-dotnet.neotest")
|
||||
}
|
||||
})
|
||||
end,
|
||||
|
||||
@@ -1,18 +1,14 @@
|
||||
return {
|
||||
{
|
||||
"GustavEikaas/easy-dotnet.nvim",
|
||||
enabled = false,
|
||||
enabled = true,
|
||||
lazy = false,
|
||||
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 = {
|
||||
{ "<leader>nn", "<cmd>NuGet<cr>", desc = "Open NuGet" }
|
||||
}
|
||||
{ "<leader>dn", "<cmd>Dotnet<cr>", desc = "Open easy-dotnet" },
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user