Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ If applicable, add screenshots to help explain your problem.
Add any other context about the problem here.

**Provide logs**
Find the log at https://github.com/sumneko/lua-language-server/wiki/Default-log-path
Find the log at https://github.com/sumneko/lua-language-server/wiki/FAQ#where-can-i-find-the-log-file
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@ Please [help me][en-US] improve the quality of `en-US`.
## Build
The extensions in the VSCode market already come with pre-compiled binary files, usually you don't need to compile them.

Other clients can first try to download and use [pre-compiled binary files](https://github.com/sumneko/lua-language-server/wiki/PreCompiled-Binaries).
Other clients can first try to download and use [pre-compiled binary files](https://github.com/sumneko/lua-language-server/wiki/Get-Started#command-line).

If you need to compile by yourself, please refer to [here](https://github.com/sumneko/lua-language-server/wiki/Build-and-Run)
If you need to compile by yourself, please refer to [here](https://github.com/sumneko/lua-language-server/wiki/Getting-Started#build)

## Setting

* In VSCode: Just use the setting of VSCode.
* Standalone: See https://github.com/sumneko/lua-language-server/wiki/Setting
* Standalone: See https://github.com/sumneko/lua-language-server/wiki/Settings

## Credit

Expand Down Expand Up @@ -114,4 +114,4 @@ If you need to compile by yourself, please refer to [here](https://github.com/su

## Telemetry

This language server collects usage data and sends it to the development team to help improve the extension. Read our [privacy policy](https://github.com/sumneko/lua-language-server/wiki/Privacy-Policy) to learn more and how to disable any telemetry.
This language server collects usage data and sends it to the development team to help improve the extension. Read our [privacy policy](https://github.com/sumneko/lua-language-server/wiki/Home#privacy) to learn more and how to disable any telemetry.
4 changes: 2 additions & 2 deletions doc/en-us/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -1397,7 +1397,7 @@ false

# runtime.plugin

Plugin path. Please read [wiki](https://github.com/sumneko/lua-language-server/wiki/Plugin) to learn more.
Plugin path. Please read [wiki](https://github.com/sumneko/lua-language-server/wiki/Plugins) to learn more.

## type

Expand Down Expand Up @@ -1588,7 +1588,7 @@ Array<string>

# telemetry.enable

Enable telemetry to send your editor information and error logs over the network. Read our privacy policy [here](https://github.com/sumneko/lua-language-server/wiki/Privacy-Policy).
Enable telemetry to send your editor information and error logs over the network. Read our privacy policy [here](https://github.com/sumneko/lua-language-server/wiki/Home#privacy).


## type
Expand Down
4 changes: 2 additions & 2 deletions doc/pt-br/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -1397,7 +1397,7 @@ false

# runtime.plugin

Plugin path. Please read [wiki](https://github.com/sumneko/lua-language-server/wiki/Plugin) to learn more.
Plugin path. Please read [wiki](https://github.com/sumneko/lua-language-server/wiki/Plugins) to learn more.

## type

Expand Down Expand Up @@ -1588,7 +1588,7 @@ Array<string>

# telemetry.enable

Enable telemetry to send your editor information and error logs over the network. Read our privacy policy [here](https://github.com/sumneko/lua-language-server/wiki/Privacy-Policy).
Enable telemetry to send your editor information and error logs over the network. Read our privacy policy [here](https://github.com/sumneko/lua-language-server/wiki/Home#privacy).


## type
Expand Down
6 changes: 3 additions & 3 deletions doc/zh-cn/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -1222,7 +1222,7 @@ integer

# misc.parameters

VSCode中启动语言服务时的[命令行参数](https://github.com/sumneko/lua-language-server/wiki/Command-line)。
VSCode中启动语言服务时的[命令行参数](https://github.com/sumneko/lua-language-server/wiki/Getting-Started#arguments)。

## type

Expand Down Expand Up @@ -1396,7 +1396,7 @@ false

# runtime.plugin

插件路径,请查阅[文档](https://github.com/sumneko/lua-language-server/wiki/Plugin)了解用法。
插件路径,请查阅[文档](https://github.com/sumneko/lua-language-server/wiki/Plugins)了解用法。

## type

Expand Down Expand Up @@ -1587,7 +1587,7 @@ Array<string>

# telemetry.enable

启用遥测,通过网络发送你的编辑器信息与错误日志。在[此处](https://github.com/sumneko/lua-language-server/wiki/%E9%9A%90%E7%A7%81%E5%A3%B0%E6%98%8E)阅读我们的隐私声明。
启用遥测,通过网络发送你的编辑器信息与错误日志。在[此处](https://github.com/sumneko/lua-language-server/wiki/%E9%9A%90%E7%A7%81)阅读我们的隐私声明。


## type
Expand Down
6 changes: 3 additions & 3 deletions doc/zh-tw/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -1222,7 +1222,7 @@ integer

# misc.parameters

VSCode中啟動語言伺服時的[命令列參數](https://github.com/sumneko/lua-language-server/wiki/Command-line)。
VSCode中啟動語言伺服時的[命令列參數](https://github.com/sumneko/lua-language-server/wiki/Getting-Started#arguments)。

## type

Expand Down Expand Up @@ -1396,7 +1396,7 @@ false

# runtime.plugin

延伸模組路徑,請查閱[文件](https://github.com/sumneko/lua-language-server/wiki/Plugin)瞭解用法。
延伸模組路徑,請查閱[文件](https://github.com/sumneko/lua-language-server/wiki/Plugins)瞭解用法。

## type

Expand Down Expand Up @@ -1587,7 +1587,7 @@ Array<string>

# telemetry.enable

啟用遙測,透過網路發送你的編輯器資訊與錯誤日誌。在[此處](https://github.com/sumneko/lua-language-server/wiki/%E9%9A%B1%E7%A7%81%E8%81%B2%E6%98%8E)閱讀我們的隱私聲明。
啟用遙測,透過網路發送你的編輯器資訊與錯誤日誌。在[此處](https://github.com/sumneko/lua-language-server/wiki/%E9%9A%B1%E7%A7%81)閱讀我們的隱私聲明。


## type
Expand Down
42 changes: 21 additions & 21 deletions locale/en-us/script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ WORKSPACE_DIAGNOSTIC =
WORKSPACE_SKIP_HUGE_FILE =
'For performance reasons, the parsing of this file has been stopped: {}'
WORKSPACE_NOT_ALLOWED =
'Your workspace is set to `{}`. Lua language server refused to load this directory. Please check your configuration.[learn more here](https://github.com/sumneko/lua-language-server/wiki/Why-scanning-home-folder)'
'Your workspace is set to `{}`. Lua language server refused to load this directory. Please check your configuration.[learn more here](https://github.com/sumneko/lua-language-server/wiki/FAQ#why-is-the-server-scanning-the-wrong-folder)'
WORKSPACE_SCAN_TOO_MUCH =
'More than {} files have been scanned. The current scanned directory is `{}`. Please confirm whether the configuration is correct.'

Expand Down Expand Up @@ -512,7 +512,7 @@ WINDOW_APPLY_SETTING =
WINDOW_CHECK_SEMANTIC =
'If you are using the color theme in the market, you may need to modify `editor.semanticHighlighting.enabled` to `true` to make semantic tokens take effect.'
WINDOW_TELEMETRY_HINT =
'Please allow sending anonymous usage data and error reports to help us further improve this extension. Read our privacy policy [here](https://github.com/sumneko/lua-language-server/wiki/Privacy-Policy) .'
'Please allow sending anonymous usage data and error reports to help us further improve this extension. Read our privacy policy [here](https://github.com/sumneko/lua-language-server/wiki/Home#privacy) .'
WINDOW_TELEMETRY_ENABLE =
'Allow'
WINDOW_TELEMETRY_DISABLE =
Expand Down Expand Up @@ -588,7 +588,7 @@ Defines a class/table structure
Manager = {}
```
---
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#class)
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#class)
]=]
LUADOC_DESC_TYPE =
[=[
Expand Down Expand Up @@ -639,7 +639,7 @@ local x --x[""] is true
local myFunction
```
---
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#types-and-type)
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#types-and-type)
]=]
LUADOC_DESC_ALIAS =
[=[
Expand Down Expand Up @@ -675,7 +675,7 @@ function find(path, pattern) end
function setFontStyle(style) end
```
---
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#alias)
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#alias)
]=]
LUADOC_DESC_PARAM =
[=[
Expand All @@ -700,7 +700,7 @@ function get(url, headers, timeout) end
function concat(base, ...) end
```
---
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#param)
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#param)
]=]
LUADOC_DESC_RETURN =
[=[
Expand Down Expand Up @@ -738,7 +738,7 @@ function getFirstLast() end
function getTags(item) end
```
---
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#return)
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#return)
]=]
LUADOC_DESC_FIELD =
[=[
Expand Down Expand Up @@ -768,7 +768,7 @@ response = get("localhost")
statusCode = response.status.code
```
---
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#field)
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#field)
]=]
LUADOC_DESC_GENERIC =
[=[
Expand Down Expand Up @@ -825,7 +825,7 @@ local v = Generic("Foo") -- v is an object of Foo
-- we give for key (K) or value (V)
```
---
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#generics-and-generic)
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#generics-and-generic)
]=]
LUADOC_DESC_VARARG =
[=[
Expand All @@ -844,7 +844,7 @@ provide typing or allow descriptions.
function concat(...) end
```
---
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#vararg)
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#vararg)
]=]
LUADOC_DESC_OVERLOAD =
[=[
Expand All @@ -859,7 +859,7 @@ Allows defining of multiple function signatures.
function table.insert(t, position, value) end
```
---
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#overload)
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#overload)
]=]
LUADOC_DESC_DEPRECATED =
[=[
Expand All @@ -870,7 +870,7 @@ being ~~struck through~~.
`---@deprecated`

---
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#deprecated)
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#deprecated)
]=]
LUADOC_DESC_META =
[=[
Expand All @@ -885,7 +885,7 @@ There are 3 main distinctions to note with meta files:
`---@meta`

---
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#meta)
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#meta)
]=]
LUADOC_DESC_VERSION =
[=[
Expand All @@ -910,7 +910,7 @@ function onlyWorksInJIT() end
function oldLuaOnly() end
```
---
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#version)
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#version)
]=]
LUADOC_DESC_SEE =
[=[
Expand All @@ -920,7 +920,7 @@ Define something that can be viewed for more information
`---@see <text>`

---
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#see)
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#see)
]=]
LUADOC_DESC_DIAGNOSTIC =
[=[
Expand All @@ -946,7 +946,7 @@ local unused = "hello world"
---@diagnostic enable: unused-local
```
---
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#diagnostic)
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#diagnostic)
]=]
LUADOC_DESC_MODULE =
[=[
Expand All @@ -963,7 +963,7 @@ local stringUtils
local module = require('string.utils')
```
---
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#module)
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#module)
]=]
LUADOC_DESC_ASYNC =
[=[
Expand All @@ -973,7 +973,7 @@ Marks a function as asynchronous.
`---@async`

---
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#async)
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#async)
]=]
LUADOC_DESC_NODISCARD =
[=[
Expand All @@ -985,7 +985,7 @@ be ignored.
`---@nodiscard`

---
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#nodiscard)
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#nodiscard)
]=]
LUADOC_DESC_CAST =
[=[
Expand Down Expand Up @@ -1020,7 +1020,7 @@ local x --> string|table
print(x) --> table
```
---
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#cast)
[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#cast)
]=]
LUADOC_DESC_OPERATOR =
[=[
Expand Down Expand Up @@ -1055,7 +1055,7 @@ pB = -pA
LUADOC_DESC_ENUM =
[=[
Mark a table as an enum. If you want an enum but can't define it as a Lua
table, take a look at the [`@alias`](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#alias)
table, take a look at the [`@alias`](https://github.com/sumneko/lua-language-server/wiki/Annotations#alias)
tag.

## Syntax
Expand Down
4 changes: 2 additions & 2 deletions locale/en-us/setting.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ config.runtime.unicodeName =
config.runtime.nonstandardSymbol =
"Supports non-standard symbols. Make sure that your runtime environment supports these symbols."
config.runtime.plugin =
"Plugin path. Please read [wiki](https://github.com/sumneko/lua-language-server/wiki/Plugin) to learn more."
"Plugin path. Please read [wiki](https://github.com/sumneko/lua-language-server/wiki/Plugins) to learn more."
config.runtime.pluginArgs =
"Additional arguments for the plugin."
config.runtime.fileEncoding =
Expand Down Expand Up @@ -259,7 +259,7 @@ config.spell.dict = -- TODO: need translate!
'Custom words for spell checking.'
config.telemetry.enable =
[[
Enable telemetry to send your editor information and error logs over the network. Read our privacy policy [here](https://github.com/sumneko/lua-language-server/wiki/Privacy-Policy).
Enable telemetry to send your editor information and error logs over the network. Read our privacy policy [here](https://github.com/sumneko/lua-language-server/wiki/Home#privacy).
]]
config.misc.parameters =
'[Command line parameters](https://github.com/sumneko/lua-telemetry-server/tree/master/method) when starting the language service in VSCode.'
Expand Down
Loading