-
Notifications
You must be signed in to change notification settings - Fork 23
Breaking changes #25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
As of commit
Apologies for making this change so early in the lifetime of The old keybindings will continue to work for a while, with a warning message. If you want to continue to use the previous/old keybindings permanently, NOTE: Please no longer do this, this is just kept for reference. Keybindings are now set up this way: #25 (comment) use({
"andrewferrier/debugprint.nvim",
config = function()
require("debugprint").setup({ create_keymaps = false })
end,
})
vim.keymap.set("n", "dqp", function()
return require('debugprint').debugprint()
end, {
expr = true,
})
vim.keymap.set("n", "dqP", function()
return require('debugprint')({ above = true })
end, {
expr = true,
})
vim.keymap.set("n", "dQp", function()
return require('debugprint')({ variable = true })
end, {
expr = true,
})
vim.keymap.set("n", "dQP", function()
return require('debugprint')({ above = true, variable = true })
end, {
expr = true,
}) |
This is technically not a breaking change, but commit ffaaee1 includes a change to the default plain (not variable) debug lines such that they contain a snippet of the line above or below them, to help orientate you when viewing output. I think this is really helpful, but if you don't like this change, you can go back to the old behaviour by setting the global option |
As of commit If you are still using NeoVim 0.7, for now your choices are to ignore the warning ( |
As of commit |
As of commit |
As of commit be12ffc, the use of the In a later release, this option will be hard-deprecated and will start generating a warning on use. |
As of commit 48505a2 (not yet in a released version, but on the main branch), you will start seeing deprecation warnings if you are still mapping to the |
Please subscribe to this issue to be informed of any breaking changes to
debugprint.nvim
.The text was updated successfully, but these errors were encountered: