It supports finding proc, template, macro, and block definitions.
I couldn't think of regex that would let me match var, const, or type definitions like this:
type
TestType = ref object
TestTypeObj = object
and match both TestType and TestTypeObj without including a bunch of non-definitions. If anyone has any ideas, let me know. Type definition would be really useful.
I added support for the Nim programming language.
It supports finding
proc
,template
,macro
, andblock
definitions.I couldn't think of regex that would let me match
var
,const
, ortype
definitions like this:and match both TestType and TestTypeObj without including a bunch of non-definitions. If anyone has any ideas, let me know. Type definition would be really useful.