Skip to content

Commit 80e7746

Browse files
authored
fix: remove lockmarks from gc{o,O} (#220)
Resolves #219
1 parent 728f38e commit 80e7746

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/Comment/api.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -555,8 +555,8 @@ function api.setup(config)
555555

556556
-- Extra Mappings
557557
if cfg.mappings.extra then
558-
K('n', cfg.extra.below, api.locked('insert.linewise.below'), { desc = 'Comment insert below' })
559-
K('n', cfg.extra.above, api.locked('insert.linewise.above'), { desc = 'Comment insert above' })
558+
K('n', cfg.extra.below, api.insert.linewise.below, { desc = 'Comment insert below' })
559+
K('n', cfg.extra.above, api.insert.linewise.above, { desc = 'Comment insert above' })
560560
K('n', cfg.extra.eol, api.locked('insert.linewise.eol'), { desc = 'Comment insert end of line' })
561561
end
562562

0 commit comments

Comments
 (0)