Skip to content

formatting #117

Description

@uloco

@hankertrix Since you are contributing frequently, I wanted to reach out to you and ask what your thoughts are on formatting.
Are you using stylua for lua formatting or lua_ls ?

bluloco was formatted with lua_ls before I switched to conform with stylua in my own config and now when i format the theme file with stylua it changes significantly (with tabs over spaces and also the aligned theme variables are now no longer aligned). While I liked this alignment with lua_ls, there is no way (i know of) to add a config so other contributors also use the same style. But, we could add a .stylua.toml file or a github action that checks for stylua style. would you be ok with that? or should we keep lua_ls and i add a .nvim.lua file with conform setup with lua_ls. you would then need to :trust it etc... I think I'd prefer stylua tbh, even though i liked the style better with lua_ls

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