fix(typescript): set json filetype for tsbuild file

This commit is contained in:
Rubin Bhandari 2024-05-22 15:47:17 +05:45
parent ae6d8f1a34
commit 512385380c

View file

@ -31,6 +31,11 @@ return {
if type(opts.ensure_installed) == "table" then
vim.list_extend(opts.ensure_installed, { "typescript", "tsx" })
end
vim.filetype.add({
pattern = {
["tsconfig.tsbuildinfo"] = "json",
},
})
end,
},