Add Gleam indents

This commit is contained in:
Connor Lay (Clay) 2022-02-06 12:48:38 -08:00 committed by Stephan Seitz
parent ce7aaa6720
commit da6132ebbe

21
queries/gleam/indents.scm Normal file
View file

@ -0,0 +1,21 @@
; Gleam indents similar to Rust and JavaScript
[
(case)
(case_clause)
(constant)
(expression_group)
(function)
(let)
(list)
(public_function)
(public_opaque_type_definition)
(public_type_definition)
(tuple)
(type_definition)
] @indent
[
")"
"]"
"}"
] @indent_end @branch