faceair / atom-goto-definition

⚠️⚠️⚠️ DEPRECATED
https://atom.io/packages/goto-definition
GNU General Public License v2.0
99 stars 51 forks source link

Added support for the Nim programming language. #71

Open JHonaker opened 7 years ago

JHonaker commented 7 years ago

I added support for the Nim programming language.

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.