From ccc0358e535bcb63bddf8e156529492c04a351c9 Mon Sep 17 00:00:00 2001
From: Oliver Davies <oliver@oliverdavies.dev>
Date: Sun, 2 Mar 2025 21:06:42 +0000
Subject: [PATCH] Set composer.lock as a JSON filetype

---
 nvim/plugin/filetype.lua | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/nvim/plugin/filetype.lua b/nvim/plugin/filetype.lua
index 81ec0a15..01d53578 100644
--- a/nvim/plugin/filetype.lua
+++ b/nvim/plugin/filetype.lua
@@ -6,4 +6,8 @@ vim.filetype.add {
     pcss = "scss",
     theme = "php",
   },
+
+  filename = {
+    ["composer.lock"] = "json",
+  },
 }