Skip to content

Commit 837e2ea

Browse files
authored
Merge pull request #3155 from IronBlood/feat/addons
Support Custom Addons Path for Enhanced Editor Flexibility
2 parents 22625e8 + df4bfbe commit 837e2ea

File tree

14 files changed

+83
-4
lines changed

14 files changed

+83
-4
lines changed

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Unreleased
44
<!-- Add all new changes here. They will be moved under a version at release -->
55
* `FIX` cannot debug in Linux due to lua-debug expecting host process to have lua54 symbols available
6+
* `NEW` support custom addons path for enhanced editor flexibility
67
* `FIX` support hex color codes with `#` in `textDocument/documentColor`
78
* `ADD` missing locale
89
* `FIX` updates the EmmyLuaCodeStyle submodule reference to a newer commit, ensuring compatibility with GCC 15

doc/en-us/config.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@ boolean
1414
true
1515
```
1616

17+
# addonRepositoryPath
18+
19+
Specifies the addon repository path (not related to the addon manager).
20+
21+
## type
22+
23+
```ts
24+
string
25+
```
26+
1727
# codeLens.enable
1828

1929
Enable code lens.
@@ -2320,4 +2330,4 @@ Array<string>
23202330

23212331
```jsonc
23222332
[]
2323-
```
2333+
```

doc/pt-br/config.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@ boolean
1414
true
1515
```
1616

17+
# addonRepositoryPath
18+
19+
Specifies the addon repository path (not related to the addon manager).
20+
21+
## type
22+
23+
```ts
24+
string
25+
```
26+
1727
# codeLens.enable
1828

1929
Enable code lens.
@@ -2320,4 +2330,4 @@ Array<string>
23202330

23212331
```jsonc
23222332
[]
2323-
```
2333+
```

doc/zh-cn/config.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@ boolean
1414
true
1515
```
1616

17+
# addonRepositoryPath
18+
19+
指定插件仓库的路径(与 Addon Manager 无关)。
20+
21+
## type
22+
23+
```ts
24+
string
25+
```
26+
1727
# codeLens.enable
1828

1929
启用代码度量。
@@ -2318,4 +2328,4 @@ Array<string>
23182328

23192329
```jsonc
23202330
[]
2321-
```
2331+
```

doc/zh-tw/config.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@ boolean
1414
true
1515
```
1616

17+
# addonRepositoryPath
18+
19+
Specifies the addon repository path (not related to the addon manager).
20+
21+
## type
22+
23+
```ts
24+
string
25+
```
26+
1727
# codeLens.enable
1828

1929
Enable code lens.
@@ -2318,4 +2328,4 @@ Array<string>
23182328

23192329
```jsonc
23202330
[]
2321-
```
2331+
```

locale/en-us/setting.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ config.addonManager.repositoryBranch =
66
"Specifies the git branch used by the addon manager."
77
config.addonManager.repositoryPath =
88
"Specifies the git path used by the addon manager."
9+
config.addonRepositoryPath =
10+
"Specifies the addon repository path (not related to the addon manager)."
911
config.runtime.version =
1012
"Lua runtime version."
1113
config.runtime.path =

locale/es-419/setting.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ config.addonManager.repositoryBranch =
66
"Especifica la rama de git usada por el manejador de extensiones."
77
config.addonManager.repositoryPath =
88
"Especifica la ruta git usada por el manejador de extensiones."
9+
config.addonRepositoryPath = -- TODO: need translate!
10+
"Specifies the addon repository path (not related to the addon manager)."
911

1012
config.runtime.version =
1113
"Versión de Lua que se ejecuta."

locale/ja-jp/setting.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ config.addonManager.repositoryBranch = -- TODO: need translate!
66
"Specifies the git branch used by the addon manager."
77
config.addonManager.repositoryPath = -- TODO: need translate!
88
"Specifies the git path used by the addon manager."
9+
config.addonRepositoryPath = -- TODO: need translate!
10+
"Specifies the addon repository path (not related to the addon manager)."
911
config.runtime.version = -- TODO: need translate!
1012
"Lua runtime version."
1113
config.runtime.path = -- TODO: need translate!

locale/pt-br/setting.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ config.addonManager.repositoryBranch = -- TODO: need translate!
66
"Specifies the git branch used by the addon manager."
77
config.addonManager.repositoryPath = -- TODO: need translate!
88
"Specifies the git path used by the addon manager."
9+
config.addonRepositoryPath = -- TODO: need translate!
10+
"Specifies the addon repository path (not related to the addon manager)."
911
config.runtime.version = -- TODO: need translate!
1012
"Lua runtime version."
1113
config.runtime.path = -- TODO: need translate!

locale/zh-cn/setting.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ config.addonManager.repositoryBranch =
66
"指定插件管理器(Addon Manager)使用的git仓库分支"
77
config.addonManager.repositoryPath =
88
"指定插件管理器(Addon Manager)使用的git仓库路径"
9+
config.addonRepositoryPath =
10+
"指定插件仓库的路径(与 Addon Manager 无关)"
911
config.runtime.version =
1012
"Lua运行版本。"
1113
config.runtime.path =

0 commit comments

Comments
 (0)