vim/comment: refactor, no functional change
This commit is contained in:
parent
8519e22d00
commit
f495dd984c
1 changed files with 34 additions and 36 deletions
|
@ -1,4 +1,7 @@
|
||||||
local config = function()
|
return {
|
||||||
|
'numToStr/Comment.nvim',
|
||||||
|
|
||||||
|
config = function()
|
||||||
require('Comment').setup {
|
require('Comment').setup {
|
||||||
padding = true, -- Add a space between comment and the line
|
padding = true, -- Add a space between comment and the line
|
||||||
sticky = true, -- Whether the cursor should stay at its position
|
sticky = true, -- Whether the cursor should stay at its position
|
||||||
|
@ -32,10 +35,5 @@ local config = function()
|
||||||
post_hook = nil, -- Function to call after (un)comment
|
post_hook = nil, -- Function to call after (un)comment
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
return {
|
|
||||||
'numToStr/Comment.nvim',
|
|
||||||
|
|
||||||
config = config
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue