From 3bfffcef0197d088ba16947875f7d608cf82c8ad Mon Sep 17 00:00:00 2001 From: Marco Azimonti Date: Sat, 5 May 2018 07:47:16 +0900 Subject: [PATCH] added constructor as word to be highlighted (change starting from solidity 0.4.20) --- syntax/solidity.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/solidity.vim b/syntax/solidity.vim index 2abd11c7..6ea7e8e5 100644 --- a/syntax/solidity.vim +++ b/syntax/solidity.vim @@ -9,7 +9,7 @@ endif " basic " contract, library and event are defined at bottom of file -syn keyword solKeyword abstract anonymous as assembly break case catch constant continue default +syn keyword solKeyword abstract anonymous as assembly break case catch constant constructor continue default syn keyword solKeyword delete do else emit enum external final for function if import in indexed inline syn keyword solKeyword interface internal is let match memory modifier new of payable pragma private public pure syn keyword solKeyword relocatable require return returns static storage struct throw try type typeof using