comments and better cmp scoring
This commit is contained in:
@ -1,6 +1,13 @@
|
||||
return {
|
||||
"numToStr/Comment.nvim",
|
||||
lazy = false,
|
||||
keys = {
|
||||
{ "<leader>c<space>", mode = "n", desc = "Comment toggle current line" },
|
||||
{ "gc", mode = { "n", "o" }, desc = "Comment toggle linewise" },
|
||||
{ "gc", mode = "x", desc = "Comment toggle linewise (visual)" },
|
||||
{ "gbc", mode = "n", desc = "Comment toggle current block" },
|
||||
{ "gb", mode = { "n", "o" }, desc = "Comment toggle blockwise" },
|
||||
{ "gb", mode = "x", desc = "Comment toggle blockwise (visual)" },
|
||||
},
|
||||
config = function()
|
||||
local ft = require("Comment.ft")
|
||||
ft.gd = "# %s"
|
||||
|
Reference in New Issue
Block a user