From ccc0358e535bcb63bddf8e156529492c04a351c9 Mon Sep 17 00:00:00 2001 From: Oliver Davies 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 81ec0a1..01d5357 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", + }, }