Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commented lines are duplicated if the last line is empty #242

Closed
Tracked by #238
numToStr opened this issue Sep 23, 2022 · 0 comments
Closed
Tracked by #238

Commented lines are duplicated if the last line is empty #242

numToStr opened this issue Sep 23, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@numToStr
Copy link
Owner

Steps

  1. Create a lua file with these lines (last line should be empty)
local first = 123
local second = 456

  1. Comment first two lines
  2. Now select all three lines and comment them.

Expected

-- -- local first = 123
-- -- local second = 456
--

Actual

-- local first = 123-- -- local first = 123
-- local second = 456-- -- local second = 456
--
@numToStr numToStr added the bug Something isn't working label Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant