summaryrefslogtreecommitdiff
path: root/test-beta
diff options
context:
space:
mode:
Diffstat (limited to 'test-beta')
-rw-r--r--test-beta/document_symbol/init.lua34
1 files changed, 17 insertions, 17 deletions
diff --git a/test-beta/document_symbol/init.lua b/test-beta/document_symbol/init.lua
index 9e5af9c1..525344c6 100644
--- a/test-beta/document_symbol/init.lua
+++ b/test-beta/document_symbol/init.lua
@@ -109,7 +109,7 @@ end
name = 'f',
detail = 'function f()',
kind = SymbolKind.Function,
- range = {1, 1},
+ range = {1, 19},
selectionRange = {1, 1},
valueRange = {5, 19},
}
@@ -124,7 +124,7 @@ end
name = 'f',
detail = 'function f()',
kind = SymbolKind.Function,
- range = {7, 7},
+ range = {7, 25},
selectionRange = {7, 7},
valueRange = {11, 25},
}
@@ -207,7 +207,7 @@ local z
name = 'x',
detail = 'local x: number = 1',
kind = SymbolKind.Variable,
- range = {7, 7},
+ range = {7, 11},
selectionRange = {7, 7},
valueRange = {11, 11},
},
@@ -223,7 +223,7 @@ local z
name = 'x',
detail = 'local x: string = "x"',
kind = SymbolKind.Variable,
- range = {42, 42},
+ range = {42, 48},
selectionRange = {42, 42},
valueRange = {46, 48},
},
@@ -231,7 +231,7 @@ local z
name = 'y',
detail = 'local y: {}',
kind = SymbolKind.Variable,
- range = {60, 60},
+ range = {60, 65},
selectionRange = {60, 60},
valueRange = {64, 65},
},
@@ -249,7 +249,7 @@ local z
name = 'y',
detail = 'local y: boolean = true',
kind = SymbolKind.Variable,
- range = {87, 87},
+ range = {87, 94},
selectionRange = {87, 87},
valueRange = {91, 94},
},
@@ -275,7 +275,7 @@ local t = {
name = 't',
detail = 'local t: {a, b, c}',
kind = SymbolKind.Variable,
- range = {7, 7},
+ range = {7, 46},
selectionRange = {7, 7},
valueRange = {11, 46},
children = {
@@ -283,7 +283,7 @@ local t = {
name = 'a',
detail = 'field a: number = 1',
kind = SymbolKind.Property,
- range = {17, 17},
+ range = {17, 21},
selectionRange = {17, 17},
valueRange = {21, 21},
},
@@ -291,7 +291,7 @@ local t = {
name = 'b',
detail = 'field b: number = 2',
kind = SymbolKind.Property,
- range = {28, 28},
+ range = {28, 32},
selectionRange = {28, 28},
valueRange = {32, 32},
},
@@ -299,7 +299,7 @@ local t = {
name = 'c',
detail = 'field c: number = 3',
kind = SymbolKind.Property,
- range = {39, 39},
+ range = {39, 43},
selectionRange = {39, 39},
valueRange = {43, 43},
},
@@ -319,7 +319,7 @@ local t = {
name = 't',
detail = 'local t: {a}',
kind = SymbolKind.Variable,
- range = {7, 7},
+ range = {7, 44},
selectionRange = {7, 7},
valueRange = {11, 44},
children = {
@@ -327,7 +327,7 @@ local t = {
name = 'a',
detail = 'field a: {b}',
kind = SymbolKind.Property,
- range = {17, 17},
+ range = {17, 42},
selectionRange = {17, 17},
valueRange = {21, 42},
children = {
@@ -335,7 +335,7 @@ local t = {
name = 'b',
detail = EXISTS,
kind = SymbolKind.Property,
- range = {31, 31},
+ range = {31, 35},
selectionRange = {31, 31},
valueRange = {35, 35},
}
@@ -363,7 +363,7 @@ g = 1
name = 'g',
detail = 'setlocal g: number = 1',
kind = SymbolKind.Variable,
- range = {25, 25},
+ range = {25, 29},
selectionRange = {25, 25},
valueRange = {29, 29},
}
@@ -403,7 +403,7 @@ end
name = 'x',
detail = 'local x',
kind = SymbolKind.Variable,
- range = {33, 33},
+ range = {33, 39},
selectionRange = {33, 33},
valueRange = {37, 39},
}
@@ -423,7 +423,7 @@ local v = t
name = 't',
detail = 'local t: {a, b}',
kind = SymbolKind.Variable,
- range = {7, 7},
+ range = {7, 35},
selectionRange = {7, 7},
valueRange = {11, 35},
children = EXISTS,
@@ -432,7 +432,7 @@ local v = t
name = 'v',
detail = 'local v',
kind = SymbolKind.Variable,
- range = {44, 44},
+ range = {44, 48},
selectionRange = {44, 44},
valueRange = {48, 48},
},