Treat .cts and .mts as typescript
This commit is contained in:
parent
360a6847be
commit
ab8b02720b
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user