- Improve syntax highlighting
- Interfaces
- Attributes
- Pragmas
- Support ['key'] notation in record declarations
- Support
local type X = require("module")
syntax
- Add 'teal.compilerPath' setting.
- Add language icon
- Fix syntax highlighting when a type is forward declared #54
- Update dependencies
- Better handling of errors in tlconfig.lua
- Handle CRLF when reading diagnostics
- Differentiate between warnings and errors
- Added a file icon theme (thanks @kdserra!)
- The extension can now be used with workspaces that contain multiple tlconfig.lua files; see #43 for an explanation
- Updated dependencies
Add 'integer' to the list of built-in keywords.
- Minor adjustments to support tl 0.12.0
- Fix calculation of word ranges
- Fix crash on empty symbols list
- Fix detection of 'tl not found' errors on Windows
- Support both the LuaRocks and standalone versions of tl on Windows
This release adds support for . and : auto-completions. Also, the server now tries to filter the suggestions depending on context (for instance, function symbols should not appear in the suggestions when typing a type annotation)
Get rid of Teal > Compiler Path
setting, as it was misleading and caused some issues (for instance, LUA_PATH
could take precedence over this setting)
- Optimize for lower CPU usage
- Fix an off-by-one error which would cause some symbols not to appear in the suggestions
The extension now displays a warning when tl --version
< 0.11.0.
The extension now has basic support for the following LSP features:
- Go to type definition
- Show type on mouse hover
- Simple auto-completion (very early stage!)
Fix another bug which would cause method calls to be highlighted as type annotations
More bugfixes related to syntax highlighting:
- Avoid matching method calls as type annotations in some circumstances
- 'do' statements inside 'while' and 'for' bodies should now be matched correctly
A few bugfixes related to syntax highlighting:
- Fix highlighting of method calls inside table constructors
- Fix handling of comments inside table contructors, function signatures, etc.
- Avoid matching the keyword 'function' inside comments
- Improved syntax highlighting
- The extension now reports errors detected in tlconfig.lua (instead of failing silently)
- Add
Teal > Compiler Path
setting - Fix a
tl check
parsing issue which would occur when an error contains two different location markers (such as a "inferred at")
- Add support for tl v0.8.0
- Diagnostics should now be correctly associated with the file that produced the error (thanks factubsio)
- The extension will now run
tl check
on .tl files when a plain .lua file is modified. This means that changes to tlconfig.lua are now acknowledged as soon as the file is saved.
- Fix Windows support (thanks Nebulavenus)
- Automatic indentation fixes
- Validate all open documents when a TL file changes
Add the root of the workspace to LUA_PATH when running tl check
.
Add some basic snippets.
Update the repository's URL.
Improve error handling in the language server.
Initial release. The extension supports tl check
and some basic syntax highlighting.