diff options
| author | git-bruh <prathamIN@proton.me> | 2024-04-07 18:33:52 +0530 |
|---|---|---|
| committer | git-bruh <prathamIN@proton.me> | 2024-04-07 18:33:52 +0530 |
| commit | 94c7358d6ddf832234c0dfcd62c5762ecac91659 (patch) | |
| tree | b43d96392d549942381c9b866f845dcc6f397954 /lua/plugins | |
| parent | 6f537f300b0b4d7e4a729e28cce7be9241e829a3 (diff) | |
| download | vis-94c7358d6ddf832234c0dfcd62c5762ecac91659.tar.gz vis-94c7358d6ddf832234c0dfcd62c5762ecac91659.tar.xz | |
plugins/filetype: fix javascript/typescript detection
Diffstat (limited to 'lua/plugins')
| -rw-r--r-- | lua/plugins/filetype.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua index defdc9b..e8a5945 100644 --- a/lua/plugins/filetype.lua +++ b/lua/plugins/filetype.lua @@ -222,7 +222,7 @@ vis.ftdetect.filetypes = { ext = { "%.bsh$", "%.java$" }, }, javascript = { - ext = { "%.cjs$", "%.js$", "%.jsfl$", "%.mjs$", "%.jsx$", "%.ts$", "%.tsx$" }, + ext = { "%.cjs$", "%.js$", "%.jsfl$", "%.mjs$", "%.jsx$" }, }, jq = { ext = { "%.jq$" }, @@ -456,7 +456,7 @@ vis.ftdetect.filetypes = { ext = { "%.toml$" }, }, typescript = { - ext = { "%.ts$" }, + ext = { "%.ts$", "%.tsx$" }, }, typst = { ext = { "%.typ$", "%.typst$" }, |
