gleam-lang / tree-sitter-gleam

🌳 A tree-sitter grammar for the Gleam programming language
Apache License 2.0
71 stars 13 forks source link

Correct name from "type_constructor" to "data_constructor" #16

Closed J3RN closed 2 years ago

J3RN commented 2 years ago

I wrote type_constructor when I was only part-way through a book on Haskell and apparently didn't fully understand the concept :laughing: Anyhow, what I referred to as a type_constructor is actually a data constructor, so I'm renaming those AST nodes to data_constructor.

cc @connorlay I wanted to make sure you saw this and could update the nvim-treesitter code accordingly :grin:

J3RN commented 2 years ago

Relevant to #14