From 7dd62806a06af3cf2410cd8a4f83205269f279de Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Tue, 26 Jul 2016 13:47:20 +0200 Subject: Enable jsx by default --- ftdetect/polyglot.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ftdetect') diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 8f343523..c6e16496 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -1,3 +1,7 @@ +" Enable jsx syntax by default +if !exists('g:jsx_ext_required') + let g:jsx_ext_required = 0 +endif " ftdetect/ansible.vim if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ansible') == -1 -- cgit v1.2.3