diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-01-31 11:13:35 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-01-31 11:13:35 +0800 |
commit | 97d11cb4643d6b2d032337594c387cd49576a68e (patch) | |
tree | 7870f90f46e2eb36f714749dfce80d12a0ce2db9 /server/test/document_symbol | |
parent | b4e36a946a42a35d49290e095ff044f2ffa051e9 (diff) | |
download | lua-language-server-97d11cb4643d6b2d032337594c387cd49576a68e.zip |
更新全局变量的标记
Diffstat (limited to 'server/test/document_symbol')
-rw-r--r-- | server/test/document_symbol/init.lua | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/server/test/document_symbol/init.lua b/server/test/document_symbol/init.lua index 7d7a6b23..ff66cac2 100644 --- a/server/test/document_symbol/init.lua +++ b/server/test/document_symbol/init.lua @@ -98,19 +98,19 @@ end } } -TEST [[ -return function () -end -]] -{ - [1] = { - name = '', - detail = 'function ()', - kind = SymbolKind.Function, - range = {8, 22}, - selectionRange = {8, 8}, - } -} +--TEST [[ +--return function () +--end +--]] +--{ +-- [1] = { +-- name = '', +-- detail = 'function ()', +-- kind = SymbolKind.Function, +-- range = {8, 22}, +-- selectionRange = {8, 8}, +-- } +--} TEST [[ f = function () @@ -320,21 +320,21 @@ local t = { } } -TEST[[ -local function g() -end - -g = 1 -]]{ - [1] = { - name = 'g', - detail = 'function g()', - kind = SymbolKind.Function, - range = {1, 22}, - selectionRange = {16, 16}, - children = EXISTS, - } -} +--TEST[[ +--local function g() +--end +-- +--g = 1 +--]]{ +-- [1] = { +-- name = 'g', +-- detail = 'function g()', +-- kind = SymbolKind.Function, +-- range = {1, 22}, +-- selectionRange = {16, 16}, +-- children = EXISTS, +-- } +--} TEST[[ function f(...) |