nushell / vscode-nushell-lang

A Nushell grammar for Visual Studio Code with IDE support
https://www.nushell.sh/
MIT License
122 stars 27 forks source link

Don't try to read if file doesn't exist #143

Closed gaetschwartz closed 1 year ago

gaetschwartz commented 1 year ago

At least fixes the error in #134 , but not the actual reason why nu returns "file" : "source" sometimes.

fdncred commented 1 year ago

JT helped me understand that source is a sentinel value. So, I think it's ok to land this and just ignore it.