Skip to content

add support for formatters that change the file directly and send no stdout #4

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

Closed
wants to merge 7 commits into from

Conversation

hek14
Copy link

@hek14 hek14 commented Mar 17, 2023

for python, we typically use black formatter, it doesn't send the formatted lines back, with this PR, we can support for this case by using fs_read. A example config can be:

      configs.python = {
        cmd = 'black',
        args = {},
        find = false,
        fname = true,
        stdin = false,
        do_not_need_stdout = true,
      }

@glepnir glepnir closed this Mar 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants