teal-language / vscode-teal

Teal language support for Visual Studio Code
MIT License
76 stars 11 forks source link

Requiring other tl files does not work #10

Closed pdesaulniers closed 4 years ago

pdesaulniers commented 4 years ago

For the time being, I think we could simply append the root of the workspace to LUA_PATH.

pdesaulniers commented 4 years ago

Should be better now: https://github.com/teal-language/vscode-teal/commit/d2f98e69c0e09b499db280ce808920d49cd34bb8

pdesaulniers commented 4 years ago

Mmmh, I was probably confused. I reverted https://github.com/teal-language/vscode-teal/commit/d2f98e69c0e09b499db280ce808920d49cd34bb8 and requiring tl files appears to work fine...