Skip to content

Commit

Permalink
lexers: add .ts as a javascript (until typescript gets its own)
Browse files Browse the repository at this point in the history
  • Loading branch information
erf committed Sep 19, 2020
1 parent 2290224 commit bc1fe76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/plugins/filetype.lua
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ vis.ftdetect.filetypes = {
ext = { "%.bsh$", "%.java$" },
},
javascript = {
ext = { "%.js$", "%.jsfl$" },
ext = { "%.js$", "%.jsfl$", "%.ts$" },
},
json = {
ext = { "%.json$" },
Expand Down

0 comments on commit bc1fe76

Please sign in to comment.