changeset 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 e95eddf5000e
children 6326025918fa
files dot_config/helix/languages.toml
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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"]