TrueBitFoundation / webasm-solidity

[DEPRECATED] On-chain interpreter for WebAssembly written in Solidity
MIT License
66 stars 12 forks source link

Adding in .gitattributes file for syntax #82

Closed rbharath closed 6 years ago

rbharath commented 6 years ago

You've probably seen a couple of these PRs from me, so you know the drill :)

The solidity contracts in the webasm-solidity repo currently don't have syntax highlighting. Github recently added support for solidity syntax highlighting, but due to name conflicts, requires each repo which wants such highlighting to add in a special .gitattributes file. This PR adds this file to the repo.

Contracts look very nice with highlighting turned on (for example, see https://github.com/datamined/contracts/blob/master/contracts/DataCoin.sol), so I think it will make the contracts here more readable.

mrsmkl commented 6 years ago

Thanks!