vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit e91b0df0e2ef45aef537750f0db14c7891312db6
parent 8796a88d0430de4bb748cf45f14488309424a62a
Author: Sam Nystrom <sam@samnystrom.dev>
Date:   Sun, 10 Mar 2024 09:55:52 -0500

lua: filetype: add JSX and Typescript extensions
Diffstat:
Mlua/plugins/filetype.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua @@ -222,7 +222,7 @@ vis.ftdetect.filetypes = { ext = { "%.bsh$", "%.java$" }, }, javascript = { - ext = { "%.cjs$", "%.js$", "%.jsfl$", "%.mjs$" }, + ext = { "%.cjs$", "%.js$", "%.jsfl$", "%.mjs$", "%.jsx$", "%.ts$", "%.tsx$" }, }, jq = { ext = { "%.jq$" },