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