17 lines
323 B
Lua
17 lines
323 B
Lua
-- ~/.config/nvim/lua/user/comment.lua
|
|
local status_ok, comment = pcall(require, "Comment")
|
|
if not status_ok then
|
|
vim.notify("Comment.nvim not found!")
|
|
return
|
|
end
|
|
|
|
require("Comment").setup({
|
|
toggler = {
|
|
line = "<leader>kk",
|
|
block = "<leader>bb",
|
|
},
|
|
opleader = {
|
|
line = "<leader>k",
|
|
block = "<leader>b",
|
|
},
|
|
})
|