Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Lua files #8

Open
pdesaulniers opened this issue Apr 4, 2020 · 5 comments
Open

Add support for Lua files #8

pdesaulniers opened this issue Apr 4, 2020 · 5 comments
Labels

Comments

@pdesaulniers
Copy link
Member

Right now, the extension only checks .tl files. It could also check .lua files in 'lax' mode.

@pdesaulniers pdesaulniers added the enhancement New feature or request label Apr 4, 2020
@pdesaulniers pdesaulniers changed the title Add support for lax mode Add support for Lua files Apr 28, 2020
@pdesaulniers
Copy link
Member Author

pdesaulniers commented Apr 28, 2020

For the time being, I think luacheck is more useful than tl at verifying plain Lua code.

Once teal-language/tl#89 is implemented, we might be able to use tl check as a luacheck replacement.

@tommitytom
Copy link

Just a note, that this is excellent for general lua programming: https://marketplace.visualstudio.com/items?itemName=sumneko.lua

@pdesaulniers
Copy link
Member Author

You're right, it's very good! I was still using https://github.com/trixnz/vscode-lua, which is much less feature-rich...

@tommitytom
Copy link

A further note on the previously mentioned extension, this is an interesting development:

https://github.com/sumneko/lua-language-server/wiki/Annotations
https://github.com/sumneko/lua-language-server/wiki/Plugins

@dipyalov
Copy link

It seems like tree-sitter-teal grammar doesn't support lua files and generates wrong tokens, so intellisense won't work correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants