UsePlugin 'kommentary' "================================== "b3nj5m1n/kommentary "================================== lua << EOF require('kommentary.config').configure_language('c', { prefer_single_line_comments = false, prefer_multi_line_comments = true, multi_line_comment_strings = {'/*', '*/'}, }) require('kommentary.config').configure_language('cpp', { prefer_single_line_comments = false, prefer_multi_line_comments = true, multi_line_comment_strings = {'/*', '*/'}, }) require('kommentary.config').configure_language('lua', { hook_function = function() require('ts_context_commentstring.internal').update_commentstring() end, }) vim.api.nvim_set_keymap('n', 'cc', 'kommentary_line_default', {}) vim.api.nvim_set_keymap('n', 'c', 'kommentary_motion_default', {}) vim.api.nvim_set_keymap('v', 'c', 'kommentary_visual_default', {}) EOF