2024-06-23 04:55:57 +03:00
|
|
|
{ ... }: {
|
2024-04-06 03:03:58 +03:00
|
|
|
text = ''
|
|
|
|
-- Toggle comment for the selected line.
|
2024-06-23 04:55:57 +03:00
|
|
|
vim.keymap.set("n", "<Leader>/", require("SingleComment").SingleComment, { expr = true })
|
2024-04-06 03:03:58 +03:00
|
|
|
|
|
|
|
-- Toggle comments for multiple lines.
|
2024-06-23 04:55:57 +03:00
|
|
|
vim.keymap.set("v", "<Leader>/", require("SingleComment").Comment, {})
|
2024-04-06 03:03:58 +03:00
|
|
|
'';
|
|
|
|
}
|