Extend 'ftdetect.lua' for tsconfig and dotenv files
parent
6ed4de0b11
commit
6c2c452fac
|
@ -3,7 +3,9 @@ vim.filetype.add({
|
||||||
[".lintstagedrc"] = "json",
|
[".lintstagedrc"] = "json",
|
||||||
},
|
},
|
||||||
pattern = {
|
pattern = {
|
||||||
|
["tsconfig.*.json"] = "jsonc",
|
||||||
[".*/%.vscode/.*%.json"] = "jsonc",
|
[".*/%.vscode/.*%.json"] = "jsonc",
|
||||||
[".*/%.ssh/config%.d/.*"] = "sshconfig",
|
[".*/%.ssh/config%.d/.*"] = "sshconfig",
|
||||||
|
["%.env.*"] = "dotenv",
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue