languages.toml 660 B

1234567891011121314151617181920212223242526272829303132
  1. [[language]]
  2. name = "bare"
  3. scope = "source.bare"
  4. injection-regex = "bare"
  5. file-types = ["bare"]
  6. roots = []
  7. comment-token = "#"
  8. indent = { tab-width = 2, unit = "\t" }
  9. [[language]]
  10. name = "go"
  11. scope = "source.go"
  12. injection-regex = "go"
  13. file-types = ["go"]
  14. roots = ["go.work", "go.mod"]
  15. auto-format = true
  16. comment-token = "//"
  17. indent = { tab-width = 2, unit = "\t" }
  18. [[language]]
  19. name = "dirty"
  20. scope = "source.dirty"
  21. injection-regex = "dirty"
  22. file-types = ["dirty"]
  23. roots = []
  24. comment-token = "#"
  25. indent = { tab-width = 2, unit = "\t" }
  26. [language.auto-pairs]
  27. '(' = ')'
  28. [[grammar]]
  29. name = "dirty"
  30. source = { path = "/home/adam/Code/current/tree-sitter-dirty" }