tomlion / vim-solidity

Vim syntax file for solidity
MIT License
490 stars 321 forks source link

constructor keyword not colored #33

Open wjmelements opened 6 years ago

wjmelements commented 6 years ago

A recent version of solidity added the constructor keyword.

contract OwnedToken {
    address owner;
    bytes32 name;

    constructor(bytes32 _name) public {
        owner = msg.sender;
        name = _name;
    }
}
wjmelements commented 6 years ago

Another word that is not colored is is, which is the inheritance keyword.

AntoniosHadji commented 6 years ago

Pull request has been created for constructor. https://github.com/tomlion/vim-solidity/pull/31