nim-lang / nim-mode

An emacs major mode for the Nim programming language
138 stars 46 forks source link

add "func" as a keyword for a {.noSideEffects.} proc #194

Closed Vindaar closed 6 years ago

Vindaar commented 6 years ago

Since the func keyword is finally usable on the current devel as a {.noSideEffects.} proc, I thought it'd be a good idea to include it into nim-mode. Otherwise using it is... ugly.

Only just looked into the code for the first time, so I hope I didn't forget to add something somewhere. Seems to work fine for me.