# Copyright © Luke. D Jones <luke@ljones.dev>
# SPDX-License-Identifier: MIT

name = "Slint"
grammar = "slint"
path_suffixes = ["Cargo.lock", "slint"]
line_comments = ["// "]
autoclose_before = ";:.,=}])>"
brackets = [
  { start = "{", end = "}", close = true, newline = true },
  { start = "[", end = "]", close = true, newline = true },
  { start = "(", end = ")", close = true, newline = true },
  { start = "<", end = ">", close = true, newline = true },
  { start = "\"", end = "\"", close = true, newline = false, not_in = ["string"] },
  { start = "'", end = "'", close = true, newline = false, not_in = ["string"] },
  { start = "/*", end = " */", close = true, newline = false, not_in = ["string", "comment"] },
]
