Extend 'ftdetect.lua' for tsconfig and dotenv files

This commit is contained in:
2025-10-03 23:42:39 +02:00
parent 6ed4de0b11
commit 6c2c452fac
+2
View File
@@ -3,7 +3,9 @@ vim.filetype.add({
[".lintstagedrc"] = "json",
},
pattern = {
["tsconfig.*.json"] = "jsonc",
[".*/%.vscode/.*%.json"] = "jsonc",
[".*/%.ssh/config%.d/.*"] = "sshconfig",
["%.env.*"] = "dotenv",
},
})