From 1d1f36b24ea601eb950865982e05b875aa702330 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Mon, 21 Feb 2022 00:04:43 +0100 Subject: Use old version of vim repository, fixes #779 closes #780 --- syntax/plantuml.vim | 1 - syntax/solidity.vim | 14 ++++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) (limited to 'syntax') diff --git a/syntax/plantuml.vim b/syntax/plantuml.vim index 6e8ecf2d..50e08dc1 100644 --- a/syntax/plantuml.vim +++ b/syntax/plantuml.vim @@ -2,7 +2,6 @@ if polyglot#init#is_disabled(expand(':p'), 'plantuml', 'syntax/plantuml.v finish endif -scriptencoding utf-8 " Vim syntax file " Language: PlantUML " License: VIM LICENSE diff --git a/syntax/solidity.vim b/syntax/solidity.vim index 55e007bd..516f207f 100644 --- a/syntax/solidity.vim +++ b/syntax/solidity.vim @@ -120,11 +120,11 @@ syn region solFuncModParens contained contains=solString,solFuncCall,solCo \ end=')' syn keyword solFuncReturn contained nextgroup=solFuncRetParens skipwhite skipempty returns syn region solFuncRetParens contains=solValueType,solFuncStorageType nextgroup=solFuncBody skipempty skipwhite - \ start='(' - \ end=')' + \ start='(' + \ end=')' syn region solFuncBody contained contains=solDestructure,solComment,solAssemblyBlock,solEmitEvent,solTypeCast,solMethod,solValueType,solConstant,solKeyword,solRepeat,solLabel,solException,solStructure,solFuncStorageType,solOperator,solNumber,solString,solFuncCall,solIf,solElse,solLoop skipempty skipwhite - \ start='{' - \ end='}' + \ start='{' + \ end='}' syn match solFuncCall contained skipempty skipwhite nextgroup=solCallOptions,solFuncCallParens \ '\v%(%(|||||
||)\s*)@/ nextgroup=solErrorName,solFuncParams skipwhite +syn match solErrorName /\<[a-zA-Z_][0-9a-zA-Z_]*/ nextgroup=solFuncParam contained skipwhite + +hi def link solErrorName Function + " Constants syn keyword solConstant true false wei szabo finney ether seconds minutes hours days weeks years now super syn keyword solConstant block msg now tx this abi -- cgit v1.2.3