Skip to content

Operate on stdin to allow integration in vim-codefmt #21

Closed
@TamaMcGlinn

Description

@TamaMcGlinn

I would like to be able to format lua code when I save the buffer in Vim / NeoVim. This can be done with the vim-codefmt plugin, but it requires formatters to operate on stdin; this is because the file may not yet be saved, and also because you can select a range of text to format - but textrange is an optional feature we can leave disabled, as I see you have some problems with that currently.

So, can we have a flag that just takes the stdin as the entire file contents?

I've done a start on integrating to vim-codefmt here but it needs the TODO fixed. See also the issue on vim-codefmt.

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