mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix(typescript): set json filetype for tsbuild file
This commit is contained in:
parent
ae6d8f1a34
commit
512385380c
1 changed files with 5 additions and 0 deletions
|
|
@ -31,6 +31,11 @@ return {
|
||||||
if type(opts.ensure_installed) == "table" then
|
if type(opts.ensure_installed) == "table" then
|
||||||
vim.list_extend(opts.ensure_installed, { "typescript", "tsx" })
|
vim.list_extend(opts.ensure_installed, { "typescript", "tsx" })
|
||||||
end
|
end
|
||||||
|
vim.filetype.add({
|
||||||
|
pattern = {
|
||||||
|
["tsconfig.tsbuildinfo"] = "json",
|
||||||
|
},
|
||||||
|
})
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue