summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/kommentary/init.lua
blob: dea90f759602b03c790fb61dd5e730b968ab747a (plain)
1
2
3
4
5
6
vim.g.kommentary_create_default_mappings = false
vim.api.nvim_set_keymap("n", "<leader>/", "<Plug>kommentary_line_default", {})
vim.api.nvim_set_keymap("v", "<leader>/", "<Plug>kommentary_visual_default", {})
require('kommentary.config').configure_language("default", {
    prefer_single_line_comments = true,
})