Can not uncomment for lua in some case
The sample lua script is like following:
#!/usr/bin/lua
local a;
local b;
local b;
local b;
when I use gc to comment the variables line by line, everything is fine as following:
#!/usr/bin/lua
-- local a;
-- local b;
-- local b;
-- local b;
BUT, if I uncomment it line by line, somethings are wrong:
#!/usr/bin/lua
-- -- local a;
-- -- local b;
local b;
local b;
The example demonstrates an interesting corner case at "local b" but other than that it works ok for me. Could you please explain what keys you press, which version you use, whether you tried it with vanilla vim, and which options you have set (:set). Thanks.

Sorry, I cannot reproduce the behaviour. Which version of vim do you use? Can you verify the problem with vim -u NONE -U NONE and
set nocp
filetype plugin indent on
syntax on
and only the tcomment plugin loaded. You have to give me more details.