Skip to content

Commit

Permalink
plugins/filetype: fix javascript/typescript detection
Browse files Browse the repository at this point in the history
  • Loading branch information
git-bruh committed Apr 7, 2024
1 parent 6f537f3 commit 94c7358
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/plugins/filetype.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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$" },
Expand Down Expand Up @@ -456,7 +456,7 @@ vis.ftdetect.filetypes = {
ext = { "%.toml$" },
},
typescript = {
ext = { "%.ts$" },
ext = { "%.ts$", "%.tsx$" },
},
typst = {
ext = { "%.typ$", "%.typst$" },
Expand Down

0 comments on commit 94c7358

Please sign in to comment.