Skip to content

Commit 7b93c75

Browse files
committed
update changelog
1 parent ad50fea commit 7b93c75

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,34 @@
44

55
---
66

7+
### 🐛 Fixed
8+
- **Crash issue fixed**: Fixed a crash caused by parsing Unicode characters in comments.
9+
- **Large table performance issue fixed**: Fixed a performance issue where parsing large array tables in projects caused severe slowdowns.
10+
- **Generic type matching fixed**: Fixed an issue with incorrect matching of `constTpl<T>` types affecting generic type hints.
11+
12+
### ✨ Added
13+
- **Markdown syntax highlighting enabled by default**: Markdown syntax highlighting in comments is now enabled by default, including partial syntax highlighting for code blocks within comments.
14+
- **Support for `@language`**: Added support for using `@language` in comments to specify the language of code blocks, for example:
15+
```lua
16+
---@language lua
17+
local d = [[
18+
print("Hello, world!")
19+
]]
20+
```
21+
This enables syntax highlighting for Lua code.
22+
23+
- **Support for `Language<T>` generic type**: You can now use `Language<T: string>` in parameter comments to specify the language of a parameter, for example:
24+
```lua
25+
---@param lang Language<"vim">
26+
function vim_run(lang)
27+
end
28+
29+
vim_run [[set ft=lua]]
30+
```
31+
Supported injected languages: lua, vim, sql, json, shell, protobuf.
32+
33+
- **Support for `keyof type`**: When a function parameter is `keyof type`, corresponding code completion is provided.
34+
735
## [0.11.0] - 2025-8-8
836

937
### 🐛 Fixed

0 commit comments

Comments
 (0)