vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit e44b7748bdaa24701906553d8499362c018e4980 parent c0dda603fc40f6a70c95e691049f0000dac72887 Author: Joseph Turner <joseph@breatheoutbreathe.in> Date: Sun, 4 Jul 2021 18:06:41 -0700 lexers: add .jsx and .tsx as a javascript (until they get their own) Diffstat:
| M | lua/plugins/filetype.lua | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua @@ -209,7 +209,7 @@ vis.ftdetect.filetypes = { ext = { "%.bsh$", "%.java$" }, }, javascript = { - ext = { "%.cjs$", "%.js$", "%.jsfl$", "%.mjs$", "%.ts$" }, + ext = { "%.cjs$", "%.js$", "%.jsfl$", "%.mjs$", "%.ts$", "%.jsx$", "%.tsx$" }, }, json = { ext = { "%.json$" },