elm-language-server
elm-language-server copied to clipboard
Change definitions to go to the name node instead of the entire thing
For types, type aliases, functions, and ports, a go to definition should resolve to just the name node, instead of the entire expression.
For example:
type alias Model = {
}
Resolving to this type alias would go to the Model
node instead of the entire type alias node.
We only want to change this in the definition provider, not the internal implementation.