Treat .cts and .mts as typescript

This commit is contained in:
ltdk 2022-10-16 20:23:05 -04:00
parent 360a6847be
commit ab8b02720b

View File

@ -5,7 +5,7 @@ hook global BufCreate .*[.][cm]?(js)x? %{
set-option buffer filetype javascript set-option buffer filetype javascript
} }
hook global BufCreate .*[.](ts)x? %{ hook global BufCreate .*[.][cm]?(ts)x? %{
set-option buffer filetype typescript set-option buffer filetype typescript
} }