From ab8b02720b17b929014083dc5f03cf8a1b395b0d Mon Sep 17 00:00:00 2001 From: ltdk Date: Sun, 16 Oct 2022 20:23:05 -0400 Subject: [PATCH] Treat .cts and .mts as typescript --- rc/filetype/javascript.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/filetype/javascript.kak b/rc/filetype/javascript.kak index 64c7c862..75a1bfaa 100644 --- a/rc/filetype/javascript.kak +++ b/rc/filetype/javascript.kak @@ -5,7 +5,7 @@ hook global BufCreate .*[.][cm]?(js)x? %{ set-option buffer filetype javascript } -hook global BufCreate .*[.](ts)x? %{ +hook global BufCreate .*[.][cm]?(ts)x? %{ set-option buffer filetype typescript }