From 38ad80ac13fe1009de7bd332937eba09001a7699 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Fri, 19 Feb 2016 15:33:31 +0100 Subject: [PATCH] Support JavaScript JSX syntax --- plugin/detectindent.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/detectindent.vim b/plugin/detectindent.vim index d903948..644746f 100644 --- a/plugin/detectindent.vim +++ b/plugin/detectindent.vim @@ -32,7 +32,7 @@ if !exists('g:detectindent_verbosity') endif fun! HasCStyleComments() - return index(["c", "cpp", "java", "javascript", "php", "vala"], &ft) != -1 + return index(["c", "cpp", "java", "javascript", "javascript.jsx", "php", "vala"], &ft) != -1 endfun fun! IsCommentStart(line)