vim/comment: refactor, no functional change

This commit is contained in:
Fernando Schauenburg 2023-08-08 04:20:00 +02:00
parent 8519e22d00
commit f495dd984c

View file

@ -1,4 +1,7 @@
local config = function()
return {
'numToStr/Comment.nvim',
config = function()
require('Comment').setup {
padding = true, -- Add a space between comment and the line
sticky = true, -- Whether the cursor should stay at its position
@ -31,11 +34,6 @@ local config = function()
pre_hook = nil, -- Function to call before (un)comment
post_hook = nil, -- Function to call after (un)comment
}
end
return {
'numToStr/Comment.nvim',
config = config
end
}