diff dot_config/helix/languages.toml @ 860:333a6c27fdf2

fix: use glob syntax to match ~/.hgrc
author Zeger Van de Vannet <zeger@vandevan.net>
date Fri, 05 Apr 2024 13:20:57 +0200
parents ac642e2965de
children dcfddde1f0aa 7199f60f9808
line wrap: on
line diff
--- a/dot_config/helix/languages.toml	Fri Apr 05 13:18:18 2024 +0200
+++ b/dot_config/helix/languages.toml	Fri Apr 05 13:20:57 2024 +0200
@@ -39,7 +39,7 @@
 name = "hgrc"
 scope = "source.hgrc"
 injection-regex = "hgrc"
-file-types = ["hgrc", ".hgrc"]
+file-types = ["hgrc", { glob = ".hgrc" }]
 comment-token = "#"
 indent = { tab-width = 2, unit = " " }
 roots = [".hg"]