From d219055bc845253eff2b27d30a23b11b97b7ee9d Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sun, 19 Nov 2017 21:26:59 +0100 Subject: Update --- after/ftplugin/terraform.vim | 2 ++ after/syntax/jsx.vim | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'after') diff --git a/after/ftplugin/terraform.vim b/after/ftplugin/terraform.vim index 0597b428..a1750984 100644 --- a/after/ftplugin/terraform.vim +++ b/after/ftplugin/terraform.vim @@ -39,6 +39,8 @@ function! TerraformFolds() return ">1" elseif match(thisline, '^terraform') >= 0 return ">1" + elseif match(thisline, '^locals') >= 0 + return ">1" else return "=" endif diff --git a/after/syntax/jsx.vim b/after/syntax/jsx.vim index a8ca0aea..05987149 100644 --- a/after/syntax/jsx.vim +++ b/after/syntax/jsx.vim @@ -49,7 +49,7 @@ syn region jsxChild contained start=+{+ end=++ contains=jsBlock,javascriptBlock " and generic Flow type annotations (http://flowtype.org/). syn region jsxRegion \ contains=@Spell,@XMLSyntax,jsxRegion,jsxChild,jsBlock,javascriptBlock - \ start=+\%(<\|\w\)\@[:,]\@!\)\([^>]*>(\)\@!+ \ skip=++ \ end=++ \ end=+/>+ -- cgit v1.2.3