diff options
| author | Adam Stankiewicz <sheerun@sher.pl> | 2017-11-19 21:26:59 +0100 | 
|---|---|---|
| committer | Adam Stankiewicz <sheerun@sher.pl> | 2017-11-19 21:27:05 +0100 | 
| commit | d219055bc845253eff2b27d30a23b11b97b7ee9d (patch) | |
| tree | a4586dfdbce3a304759a0c34175ee41fdede4e17 /after | |
| parent | 0e9041f29a3288b6685aafc63d914c11fef539ba (diff) | |
| download | vim-polyglot-d219055bc845253eff2b27d30a23b11b97b7ee9d.tar.gz vim-polyglot-d219055bc845253eff2b27d30a23b11b97b7ee9d.zip | |
Update
Diffstat (limited to '')
| -rw-r--r-- | after/ftplugin/terraform.vim | 2 | ||||
| -rw-r--r-- | after/syntax/jsx.vim | 2 | 
2 files changed, 3 insertions, 1 deletions
| 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\)\@<!<\z([a-zA-Z][a-zA-Z0-9:\-.]*\)+ +  \ start=+\%(<\|\w\)\@<!<\z([a-zA-Z][a-zA-Z0-9:\-.]*\>[:,]\@!\)\([^>]*>(\)\@!+    \ skip=+<!--\_.\{-}-->+    \ end=+</\z1\_\s\{-}>+    \ end=+/>+ | 
