revert
This commit is contained in:
1 parent
f8b9becdb8
commit
965247d989
98 files changed
+15609
No files matched your search
@@ -0,0 +1,26 @@
|
||||
local comment = require('mini.comment')
|
||||
|
||||
require('ts_context_commentstring').setup({
|
||||
enable_autocmd = false,
|
||||
-- languages = { typescript = '// %s' },
|
||||
})
|
||||
|
||||
comment.setup({
|
||||
options = {
|
||||
custom_commentstring = function()
|
||||
return require('ts_context_commentstring.internal').calculate_commentstring() or vim.bo.commentstring
|
||||
end,
|
||||
ignore_blank_line = true,
|
||||
start_of_line = false,
|
||||
pad_comment_parts = true,
|
||||
},
|
||||
|
||||
mappings = {
|
||||
-- Toggle comment (like `gcip` - comment inner paragraph) for both
|
||||
comment = 'gc',
|
||||
comment_line = 'gcc',
|
||||
comment_visual = 'gc',
|
||||
-- Define 'comment' textobject (like `dgc` - delete whole comment block)
|
||||
textobject = 'gc',
|
||||
},
|
||||
})
|
||||
Reference in new issue
Block a user