Skip to content

Format doesn't find .lua-format files unless config setting points to one #30

Description

@Nexela

The program will attempt to automatically use the current directory's .lua-format file if no config file is passed in the command line. If none is found, it will try to locate a .lua-format file in a parent directory recursively.

Using the format extension this does not seem to be the case. I believe the fault lies in either not passing the file path or cwd in spawn options

Correctly passing the cwd should allow it to pick the correct .lua-format file without having to add the setting.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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