Skip to content

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

@numToStr

Description

@numToStr

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
--

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions