Skip to content

bug: clear_log_statements doesn't clear multi-line console.logs #26

@schester44

Description

@schester44

Did you check docs and existing issues?

  • I have read all the plugin docs
  • I have searched the existing issues
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

0.10.2

Operating system/version

MacOS 14.5

Describe the bug

clear_log_statements doesn't clear multi-line console.logs

example

console.log( "🪵", {
a,
b,
c
})

it only deletes the first line containing the 🪵 but not the following 4 lines.

Steps To Reproduce

see example above

Expected Behavior

it should delete the entire statement

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