From b53dafe326d51b7f64a1c52379e3d4150cd2991e Mon Sep 17 00:00:00 2001 From: Yuki Kobayashi <137767097+aster-void@users.noreply.github.com> Date: Tue, 5 Nov 2024 16:09:49 +0900 Subject: [PATCH] Treat .prettierrc as YAML (#11997) --- languages.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/languages.toml b/languages.toml index 6686cec13..d55948ad5 100644 --- a/languages.toml +++ b/languages.toml @@ -449,7 +449,6 @@ file-types = [ { glob = "composer.lock" }, { glob = ".watchmanconfig" }, "avsc", - { glob = ".prettierrc" }, "ldtk", "ldtkl", ] @@ -1306,7 +1305,7 @@ source = { git = "https://github.com/ikatyang/tree-sitter-vue", rev = "91fe27547 [[language]] name = "yaml" scope = "source.yaml" -file-types = ["yml", "yaml"] +file-types = ["yml", "yaml", { glob = ".prettierrc" }] comment-token = "#" indent = { tab-width = 2, unit = " " } language-servers = [ "yaml-language-server", "ansible-language-server" ] @@ -3859,4 +3858,4 @@ indent = { tab-width = 4, unit = " " } [[grammar]] name = "cylc" -source = { git = "https://github.com/elliotfontaine/tree-sitter-cylc", rev = "30dd40d9bf23912e4aefa93eeb4c7090bda3d0f6" } \ No newline at end of file +source = { git = "https://github.com/elliotfontaine/tree-sitter-cylc", rev = "30dd40d9bf23912e4aefa93eeb4c7090bda3d0f6" }