aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Turner <joseph@breatheoutbreathe.in>2021-07-04 18:06:41 -0700
committerEvan Gates <evan.gates@gmail.com>2022-06-15 14:25:52 -0600
commit3365b72de5d329f2b2158dd81035f0c3b522b125 (patch)
tree99d7f375ec94f52c09ceb5ae8ea7a6c2ede9e7b1
parent6414762b32ed20b5c37fc3ca65f20ab03530f331 (diff)
downloadvis-3365b72de5d329f2b2158dd81035f0c3b522b125.tar.gz
vis-3365b72de5d329f2b2158dd81035f0c3b522b125.tar.xz
lexers: add .jsx and .tsx as a javascript (until they get their own)
-rw-r--r--lua/plugins/filetype.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua
index cc1fd05..8f70d93 100644
--- 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$" },