summaryrefslogtreecommitdiffstats
path: root/ftdetect/polyglot.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ftdetect/polyglot.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index 8352996f..7e3dc45f 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -1,3 +1,8 @@
+" Enable jsx syntax by default
+if !exists('g:jsx_ext_required')
+ let g:jsx_ext_required = 0
+endif
+
" Make csv loading faster
if !exists('g:csv_start')
let g:csv_start = 1