Skip to content

Should lisp style formatting be used for tree-sitter-query files?Β #828

@mkatychev

Description

@mkatychev
  1. For the time being, I think we should stick with the Algol-style indentation, rather than Lisp-style. That is:

    ; Algol-style
    (foo
      (bar
        (quux)
      )
    )
    
    ; Lisp-style
    (foo
      (bar
        (quux)))

    I think there's a strong argument to switch to Lisp-style, but I think that warrants an issue -- feel free to create one -- so the Topiary Team can consider it.

Originally posted by @Xophmeister in #826 (review)

This issue is created to discuss using Lisp-style formatting for tree-sitter .scm files. I don't have a particularly strong stance but all community/official documentation outside of the topiary repo leans towards Lisp-style scopes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions