AutoYADM commit: 2024-12-24 01:15:02
This commit is contained in:
parent
d3133729ca
commit
312318daf9
2 changed files with 32 additions and 0 deletions
|
@ -1,3 +1,13 @@
|
|||
-- set up debugging
|
||||
|
||||
_G.dd = function(...)
|
||||
Snacks.debug.inspect(...)
|
||||
end
|
||||
_G.bt = function()
|
||||
Snacks.debug.backtrace()
|
||||
end
|
||||
vim.print = _G.dd
|
||||
|
||||
-- bootstrap lazy.nvim, LazyVim and your plugins
|
||||
require("config.lazy")
|
||||
-- if vim.g.neovide then
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
return {
|
||||
"echasnovski/mini.comment",
|
||||
event = "VeryLazy",
|
||||
opts = {
|
||||
options = {
|
||||
custom_commentstring = function()
|
||||
return require("ts_context_commentstring.internal").calculate_commentstring() or vim.bo.commentstring
|
||||
end,
|
||||
},
|
||||
-- hooks = {
|
||||
-- pre = function()
|
||||
-- dd(vim.fn.mode())
|
||||
-- end,
|
||||
-- post = function()
|
||||
-- if vim.api.nvim_get_mode().mode == "V" then
|
||||
-- vim.cmd("normal! gv")
|
||||
-- end
|
||||
-- end,
|
||||
-- },
|
||||
},
|
||||
}
|
||||
-- arstarstarst
|
Loading…
Add table
Add a link
Reference in a new issue