Skip to content

[Feature request] Add a way to move inline comments to a separate line #515

@jyn514

Description

@jyn514

Often, I will have some code that looks like this:

some_lua_code() -- and a trailing comment

Eventually the line will get quite long and I will want to move the comment onto the line above:

--- a leading comment
some_lua_code()

Would it be possible to add a keybind for this? Maybe using treesitter queries?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions