Skip to content

Commit 70c64fb

Browse files
committed
update
1 parent 88db9dd commit 70c64fb

19 files changed

Lines changed: 1709 additions & 1830 deletions

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,27 @@
22

33
[中文Log](CHANGELOG_CN.md)
44

5+
## [0.9.41] - 2026-8-14
6+
7+
### Added
8+
9+
- **emmylua_doc_cli support export html**: Added support for exporting documentation in HTML format. For example, the `neovim/runtime/lua` directory was exported as an HTML document, see: https://cppcxy.github.io/nvim_runtime_lua_doc/
10+
11+
### Changed
12+
13+
- **Remove LuaJIT-Ext**: Now LuaJIT-Ext is merged into LuaJIT, the old LuaJIT syntax is renamed to LuaJIT2.
14+
- **Remove @schema**: Removed support for the `@schema` annotation, which was used to add completion and hover for json-schema-defined APIs. The main reason for removing it is to drop the dependency on the reqwest library — it takes up a lot of compilation time.
15+
- **Enhance luafmt check feature**: `luafmt --check` now outputs git-diff-like differences and reports a check summary.
16+
17+
### Fixed
18+
19+
- **Fix some formatting edge cases**: Fixed some formatting edge cases, including:
20+
1. Format would remove `safe-navigation` expressions.
21+
2. Format would remove `...` in param annotations.
22+
3. Fix compound assignment alignment formatting.
23+
- **Fix some stuck loading issue**: Fixed some issues that caused the language server to hang while loading a workspace, and improved the loading performance of large workspaces.
24+
- **Fix math.randomseed**: Fixed an issue where `math.randomseed` was not enable for all version
25+
526
## [0.9.40] - 2026-7-10
627

728
### ✨ Added

CHANGELOG_CN.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# 🚀 Change Log
22

3+
## [0.9.41] - 2026-8-14
4+
5+
### 新增
6+
7+
- **emmylua_doc_cli 支持导出 HTML**:新增了以 HTML 格式导出文档的支持。例如,`neovim/runtime/lua` 目录已被导出为 HTML 文档,参见:https://cppcxy.github.io/nvim_runtime_lua_doc/
8+
9+
### 变更
10+
11+
- **移除 LuaJIT-Ext**:现在 LuaJIT-Ext 已合并到 LuaJIT 中,旧的 LuaJIT 语法已重命名为 LuaJIT2。
12+
- **移除 @schema**:移除了对 `@schema` 注解的支持,该注解曾用于为 json-schema 定义的 API 添加补全和悬停提示。移除的主要原因是放弃对 reqwest 库的依赖——该库占用了大量的编译时间。
13+
- **增强 luafmt 检查功能**`luafmt --check` 现在会输出类似 git-diff 的差异并报告检查摘要。
14+
15+
### 修复
16+
17+
- **修复若干格式化边界情况**:修复了若干格式化边界情况,包括:
18+
1. 格式化会移除 `safe-navigation` 表达式的问题。
19+
2. 格式化会移除参数注解中 `...` 的问题。
20+
3. 修复了复合赋值对齐格式的问题。
21+
- **修复若干加载卡顿问题**:修复了语言服务器在加载工作区时出现的一些卡顿问题,并提升了大工作区的加载性能。
22+
- **修复 math.randomseed**:修复了 `math.randomseed` 未对所有版本生效的问题。
23+
324
## [0.9.40] - 2026-7-10
425

526
### ✨ 新增

build/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"emmyDebuggerVersion": "1.9.2",
33
"emmyDebuggerUrl": "https://github.com/EmmyLua/EmmyLuaDebugger/releases/download",
4-
"newLanguageServerVersion": "0.24.0",
4+
"newLanguageServerVersion": "0.25.1",
55
"newLanguageServerUrl": "https://github.com/CppCXY/emmylua-analyzer-rust/releases/download",
66
"newLanguageServerSchemaUrl": "https://raw.githubusercontent.com/EmmyLuaLs/emmylua-analyzer-rust/refs/tags/{{tag}}/crates/emmylua_code_analysis/resources/schema.json"
77
}

l10n/bundle.l10n.json

Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
{
2+
"Error: Invalid syntax tree URI": "Error: Invalid syntax tree URI",
3+
"// Language server is not running\n// Please ensure EmmyLua language server is started": "// Language server is not running\n// Please ensure EmmyLua language server is started",
4+
"// Failed to get syntax tree\n// The language server did not return any data": "// Failed to get syntax tree\n// The language server did not return any data",
5+
"// Error generating syntax tree\n// {0}": "// Error generating syntax tree\n// {0}",
6+
"Failed to show syntax tree: {0}": "Failed to show syntax tree: {0}",
7+
"enabled": "enabled",
8+
"disabled": "disabled",
9+
"Syntax tree auto-update {0}": "Syntax tree auto-update {0}",
10+
"Failed to start EmmyLua language server": "Failed to start EmmyLua language server",
11+
"Failed to start EmmyLua language server: {0}": "Failed to start EmmyLua language server: {0}",
12+
"Retry": "Retry",
13+
"Diagnostics": "Diagnostics",
14+
"Show Logs": "Show Logs",
15+
"Restarting server...": "Restarting server...",
16+
"Failed to restart server": "Failed to restart server",
17+
"Failed to restart server: {0}": "Failed to restart server: {0}",
18+
"yes": "yes",
19+
"no": "no",
20+
"none": "none",
21+
"EmmyLua Server Diagnostics": "EmmyLua Server Diagnostics",
22+
"Status:": "Status:",
23+
"Trusted Workspace:": "Trusted Workspace:",
24+
"Workspace Folders:": "Workspace Folders:",
25+
"Active Lua File:": "Active Lua File:",
26+
"Configuration Scope:": "Configuration Scope:",
27+
"Resolved Server Executable:": "Resolved Server Executable:",
28+
"Configured Debug Port:": "Configured Debug Port:",
29+
"Configured Global Config:": "Configured Global Config:",
30+
"Configured Start Parameters:": "Configured Start Parameters:",
31+
"Quick Actions": "Quick Actions",
32+
"Run command: {0}": "Run command: {0}",
33+
"Open the EmmyLua output channel from the server menu": "Open the EmmyLua output channel from the server menu",
34+
"Message": "Message",
35+
"Details": "Details",
36+
"Active Workspace Folder": "Active Workspace Folder",
37+
"Workspace Folders": "Workspace Folders",
38+
"global/default": "global/default",
39+
"language override": "language override",
40+
"EmmyLua language server stopped": "EmmyLua language server stopped",
41+
"Failed to stop server: {0}": "Failed to stop server: {0}",
42+
"No active editor": "No active editor",
43+
"Current file is not a Lua file": "Current file is not a Lua file",
44+
"Language server is not running": "Language server is not running",
45+
"Syntax tree manager is not initialized": "Syntax tree manager is not initialized",
46+
"Starting EmmyLua language server...": "Starting EmmyLua language server...",
47+
"EmmyLua language server is running": "EmmyLua language server is running",
48+
"Stopping EmmyLua language server...": "Stopping EmmyLua language server...",
49+
"EmmyLua language server is stopped": "EmmyLua language server is stopped",
50+
"Restart Server": "Restart Server",
51+
"Restart the language server": "Restart the language server",
52+
"Stop and restart the EmmyLua language server": "Stop and restart the EmmyLua language server",
53+
"Stop Server": "Stop Server",
54+
"Stop the language server": "Stop the language server",
55+
"Gracefully stop the EmmyLua language server": "Gracefully stop the EmmyLua language server",
56+
"Start Server": "Start Server",
57+
"Start the language server": "Start the language server",
58+
"Start the EmmyLua language server": "Start the EmmyLua language server",
59+
"Show Server Info": "Show Server Info",
60+
"Display server information": "Display server information",
61+
"Show detailed server status and configuration": "Show detailed server status and configuration",
62+
"Open Diagnostics": "Open Diagnostics",
63+
"Open a diagnostics report": "Open a diagnostics report",
64+
"Show runtime status, configuration scope, and server executable details": "Show runtime status, configuration scope, and server executable details",
65+
"Show Output": "Show Output",
66+
"Open output channel": "Open output channel",
67+
"View server logs and output": "View server logs and output",
68+
"Show Syntax Tree": "Show Syntax Tree",
69+
"View syntax tree for current file": "View syntax tree for current file",
70+
"Display the syntax tree of the active Lua file": "Display the syntax tree of the active Lua file",
71+
"EmmyLua Language Server": "EmmyLua Language Server",
72+
"Server Control": "Server Control",
73+
"EmmyLua: starting server": "EmmyLua: starting server",
74+
"EmmyLua: server running": "EmmyLua: server running",
75+
"EmmyLua: stopping server": "EmmyLua: stopping server",
76+
"EmmyLua: server stopped": "EmmyLua: server stopped",
77+
"EmmyLua: server warning": "EmmyLua: server warning",
78+
"EmmyLua: server error": "EmmyLua: server error",
79+
"Open server control for details and actions.": "Open server control for details and actions.",
80+
"Stop server": "Stop server",
81+
"Stop the EmmyLua language server": "Stop the EmmyLua language server",
82+
"Restart server": "Restart server",
83+
"Restart the EmmyLua language server": "Restart the EmmyLua language server",
84+
"MCP server started at http://{0}:{1}/mcp (Streamable HTTP) and /sse (SSE)": "MCP server started at http://{0}:{1}/mcp (Streamable HTTP) and /sse (SSE)",
85+
"Failed to start: {0}": "Failed to start: {0}",
86+
"Search Results": "Search Results",
87+
"Dependencies": "Dependencies",
88+
"Installed": "Installed",
89+
"Search Packages": "Search Packages",
90+
"Required: {0}": "Required: {0}",
91+
"**Author:** {0}": "**Author:** {0}",
92+
"**License:** {0}": "**License:** {0}",
93+
"**Homepage:** {0}": "**Homepage:** {0}",
94+
"**Location:** {0}": "**Location:** {0}",
95+
"$(sync~spin) LuaRocks: Searching packages...": "$(sync~spin) LuaRocks: Searching packages...",
96+
"Failed to search packages": "Failed to search packages",
97+
"Failed to get installed packages": "Failed to get installed packages",
98+
"Installation already in progress": "Installation already in progress",
99+
"$(sync~spin) LuaRocks: Installing...": "$(sync~spin) LuaRocks: Installing...",
100+
"Installing:": "Installing:",
101+
"Successfully installed {0}": "Successfully installed {0}",
102+
"Failed to install {0}": "Failed to install {0}",
103+
"$(sync~spin) LuaRocks: Uninstalling...": "$(sync~spin) LuaRocks: Uninstalling...",
104+
"Uninstalling:": "Uninstalling:",
105+
"Successfully uninstalled {0}": "Successfully uninstalled {0}",
106+
"Failed to uninstall {0}": "Failed to uninstall {0}",
107+
"Failed to get package info for {0}": "Failed to get package info for {0}",
108+
"Found {0} rockspec file(s) in workspace": "Found {0} rockspec file(s) in workspace",
109+
"LuaRocks not initialized": "LuaRocks not initialized",
110+
"Enter package name or search term": "Enter package name or search term",
111+
"e.g., lpeg, luasocket, etc.": "e.g., lpeg, luasocket, etc.",
112+
"No packages found for \"{0}\"": "No packages found for \"{0}\"",
113+
"Found {0} package(s) for \"{1}\"": "Found {0} package(s) for \"{1}\"",
114+
"Search failed: {0}": "Search failed: {0}",
115+
"Enter package name (optionally with version)": "Enter package name (optionally with version)",
116+
"e.g., lpeg or lpeg 1.0.2": "e.g., lpeg or lpeg 1.0.2",
117+
"No package selected": "No package selected",
118+
"Are you sure you want to uninstall \"{0}\"?": "Are you sure you want to uninstall \"{0}\"?",
119+
"Yes": "Yes",
120+
"No": "No",
121+
"Failed to get package information": "Failed to get package information",
122+
"Package: {0}": "Package: {0}",
123+
"Package Information": "Package Information",
124+
"Version: {0}": "Version: {0}",
125+
"Unknown": "Unknown",
126+
"No description available": "No description available",
127+
"Author": "Author",
128+
"License": "License",
129+
"Homepage": "Homepage",
130+
"Click to open in browser": "Click to open in browser",
131+
"Location": "Location",
132+
"Status": "Status",
133+
"Available for installation": "Available for installation",
134+
"Uninstall Package": "Uninstall Package",
135+
"Remove this package": "Remove this package",
136+
"Click to uninstall": "Click to uninstall",
137+
"Install Package": "Install Package",
138+
"Install this package": "Install this package",
139+
"Click to install": "Click to install",
140+
"Package list refreshed": "Package list refreshed",
141+
"LuaRocks is installed and ready to use": "LuaRocks is installed and ready to use",
142+
"LuaRocks is not installed or not in PATH": "LuaRocks is not installed or not in PATH",
143+
"Install Guide": "Install Guide",
144+
"Dismiss": "Dismiss",
145+
"Wait for connection.": "Wait for connection.",
146+
"EmmyLua launch debug requires a Lua entry file. Open a Lua file or set the program field in launch.json.": "EmmyLua launch debug requires a Lua entry file. Open a Lua file or set the program field in launch.json.",
147+
"EmmyLua attach debug currently supports Windows only.": "EmmyLua attach debug currently supports Windows only.",
148+
"Select the process to attach": "Select the process to attach",
149+
"No process for attach": "No process for attach"
150+
}

0 commit comments

Comments
 (0)