Add NuGet upgrade shortcut in neovim (#66)

This commit is contained in:
Patrick Stevens
2024-07-23 17:27:55 +01:00
committed by GitHub
parent 43c7842fac
commit 19e8024a13
7 changed files with 594 additions and 32 deletions

View File

@@ -3,13 +3,13 @@ require("dap-python").setup("%PYTHONENV%/bin/python")
do
local whichkey = require("which-key")
whichkey.register({
['pd'] = {
"Debugger-related commands",
t = {
"Tests",
f = { require("dap-python").test_class, "Run Python tests in the current file" },
c = { require("dap-python").test_method, "Run the Python test under the cursor" },
},
["pd"] = {
"Debugger-related commands",
t = {
"Tests",
f = { require("dap-python").test_class, "Run Python tests in the current file" },
c = { require("dap-python").test_method, "Run the Python test under the cursor" },
},
},
}, { prefix = vim.api.nvim_get_var("maplocalleader") })
end