diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-13 18:09:17 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-13 18:09:17 +0800 |
commit | 1d18e5e3035f954e4aec43aaab05be5f25068cf8 (patch) | |
tree | 218b9a7acdbb1f3c4e4ba4bd565186713328f5fe | |
parent | f28013213d9ec3b07c0f7ffb16e7074efa61d2bf (diff) | |
download | lua-language-server-1d18e5e3035f954e4aec43aaab05be5f25068cf8.zip |
改名
-rw-r--r-- | server/src/language.lua | 2 | ||||
-rw-r--r-- | server/src/method/textDocument/publishDiagnostics.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/server/src/language.lua b/server/src/language.lua index 30acdadb..307b3b62 100644 --- a/server/src/language.lua +++ b/server/src/language.lua @@ -34,7 +34,7 @@ local function init() local id = osLanguage() local language = getLanguage(id) log.info(('VSC language: %s'):format(id)) - log.info(('LSP language: %s'):format(language)) + log.info(('LS language: %s'):format(language)) return language end diff --git a/server/src/method/textDocument/publishDiagnostics.lua b/server/src/method/textDocument/publishDiagnostics.lua index 4ecfc17f..b006932e 100644 --- a/server/src/method/textDocument/publishDiagnostics.lua +++ b/server/src/method/textDocument/publishDiagnostics.lua @@ -44,7 +44,7 @@ end local function createInfo(data, lines) local diagnostic = { - source = 'LSP', + source = 'Lua Language Server', range = getRange(data.start, data.finish, lines), severity = DiagnosticSeverity[data.level], message = data.message, |