From 0c946be6bb36f332a4f0c191325b5c8dd2b45706 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Thu, 7 Mar 2024 21:50:45 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=91=EF=B8=8F=20remove(nvim):=20delete?= =?UTF-8?q?=20repeated=20code=20from=20the=20omnisharp=20extra?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../extras/lang/omnisharp-extended.lua | 39 +------------------ 1 file changed, 1 insertion(+), 38 deletions(-) diff --git a/.config/nvim/lua/plugins/extras/lang/omnisharp-extended.lua b/.config/nvim/lua/plugins/extras/lang/omnisharp-extended.lua index 1c895a59..23a3e9a1 100644 --- a/.config/nvim/lua/plugins/extras/lang/omnisharp-extended.lua +++ b/.config/nvim/lua/plugins/extras/lang/omnisharp-extended.lua @@ -1,45 +1,8 @@ return { { import = "lazyvim.plugins.extras.lang.omnisharp" }, - { - "williamboman/mason.nvim", - opts = function(_, opts) - opts.ensure_installed = opts.ensure_installed or {} - vim.list_extend(opts.ensure_installed, { "netcoredbg" }) - end, - }, - { - "mfussenegger/nvim-dap", - optional = true, - opts = function() - local dap = require("dap") - if not dap.adapters["netcoredbg"] then - require("dap").adapters["netcoredbg"] = { - type = "executable", - command = vim.fn.exepath("netcoredbg"), - args = { "--interpreter=vscode" }, - } - end - for _, lang in ipairs({ "cs", "fsharp", "vb" }) do - if not dap.configurations[lang] then - dap.configurations[lang] = { - { - type = "netcoredbg", - name = "Launch file", - request = "launch", - ---@diagnostic disable-next-line: redundant-parameter - program = function() - return vim.fn.input("Path to dll: ", vim.fn.getcwd() .. "/", "file") - end, - cwd = "${workspaceFolder}", - }, - } - end - end - end, - }, { "nvim-neotest/neotest", - optiona = true, + optional = true, dependencies = { "Issafalcon/neotest-dotnet", },