Skip to content

Add Stylua Support #4

@GowayLee

Description

@GowayLee

Current implementation of .lua formatting is to call autopepe8 module with Python to perform general formatting. I think we can employ stylua, which is a widely used formatter for .lua, to help with .lua formatting.

By calling

$ stylua -
# echo 'local x=1+2   ;print(x)' | stylua -

stylua can reveice stdin inputs. Then we can realize our real-time, line-based formatting.

@claude please give me a plan about this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions