ralexstokes / vyper-mode

An Emacs mode for Vyper https://github.com/ethereum/vyper
GNU General Public License v3.0
10 stars 2 forks source link

Add highlighting for private and nonreentrant modifiers, and struct, plus fix indentation #3

Open SerpentChris opened 4 years ago

SerpentChris commented 4 years ago

This mode doesn't seem to support structs at all. The keyword isn't highlighted and tabs inside them are too big.

Also, @private and @nonreentrant don't get highlighted.

Another issue I've noticed is that tabs seem to be inconsistent, with the first tab in a function using 4 spaces but the second tab (like after an if) using 3.

ralexstokes commented 4 years ago

thanks for reporting @SerpentChris ! i'm not actively working on this repo so if you want to go ahead fixing this, please feel free.

i'm happy to review PRs but won't be adding new features right now.