Extend 'ftdetect.lua' for tsconfig and dotenv files

main
Hektor Misplon 2025-09-26 09:04:03 +02:00
parent 6ed4de0b11
commit 6c2c452fac
1 changed files with 2 additions and 0 deletions

View File

@ -3,7 +3,9 @@ vim.filetype.add({
[".lintstagedrc"] = "json",
},
pattern = {
["tsconfig.*.json"] = "jsonc",
[".*/%.vscode/.*%.json"] = "jsonc",
[".*/%.ssh/config%.d/.*"] = "sshconfig",
["%.env.*"] = "dotenv",
},
})