-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
This is the best comment plugin for me. nvim-comment and kommentary still need improvement. The only missing feature in this plugin is left aligned commenting. Some code formater will align comments. For example, python format black will turn
# if i==1:
# print(2)into
# if i==1:
# print(2)lua's format lua-format will turn
--if a == 1 then
--a = 2
--a = 2
--endinto
-- if a == 1 then
-- a = 2
-- a = 2
-- endThis makes coding tough, and left aligned commenting can avoid this issue. Both nvim-comment and kommentary choose left aligned commenting. and nerdcommenter binds <leader>cl to it.
Also, when <leader>cl is used to uncomment, various spacing handling should be skiped.
winston0410
Metadata
Metadata
Assignees
Labels
No labels