You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The original comment of lua in nerdcommenter is only '--'
But there is a multiline comment style:
--[[
This is multiline
comments
]]
When I add is to the lua entry as 'lua': { 'left': '--[[', 'right': ']]', 'leftAlt': '--' },
or 'lua': { 'left': '--', 'leftAlt': '--[[', 'rightAlt':']]' },
single line comment is ok.
multi-line comment is ok too.
But when uncomment the multiline comment like
the above [[
This is multiline
comments
The '[[' is not removed. I think this is a bug in the Nerdcommenter,
This there is seldom comment style use the same left beginning symbol as in Lua
'--', that make the uncomment function not working properly.
Thanks for anyone can fix this bug.
The text was updated successfully, but these errors were encountered:
@perlawk If by chance you still work in Lua and use VIM, could you check out @kevinhwang91's fix for this is #451? I'm pretty sure it should be a direct fix but it would be nice to have confirmation that it does what is expected of it.
The original comment of lua in nerdcommenter is only '--'
But there is a multiline comment style:
When I add is to the lua entry as
'lua': { 'left': '--[[', 'right': ']]', 'leftAlt': '--' },
or
'lua': { 'left': '--', 'leftAlt': '--[[', 'rightAlt':']]' },
single line comment is ok.
multi-line comment is ok too.
But when uncomment the multiline comment like
the above
[[
This is multiline
comments
The '[[' is not removed. I think this is a bug in the Nerdcommenter,
This there is seldom comment style use the same left beginning symbol as in Lua
'--', that make the uncomment function not working properly.
Thanks for anyone can fix this bug.
The text was updated successfully, but these errors were encountered: