Update to new Upsilon library with more information in table variable symbol, fixes for number highlighting
This commit is contained in:
parent
682e784c20
commit
0619fe3d21
|
@ -71,7 +71,7 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"match": "\\b[^.]([+-]?([^.][0-9]*[.])?[0-9]+)[^.]\\b",
|
||||
"match": "\\b([0-9]+(.[0-9])?)\\b",
|
||||
"name": "constant.numeric"
|
||||
},
|
||||
{
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -123,9 +123,9 @@ namespace UpsilonLanguageServer.Services
|
|||
if (variableSymbol.VariableSymbol is TableVariableSymbol tableSymbol)
|
||||
{
|
||||
return new CompletionList(
|
||||
tableSymbol.Variables.Select(x => new CompletionItem(x.Name,
|
||||
CompletionItemKind.Variable, x.Type.ToString(),
|
||||
$"\n\n{string.Join(" \n", x.CommentValue)}")));
|
||||
tableSymbol.Variables.Select(x => new CompletionItem(x.Key,
|
||||
CompletionItemKind.Variable, x.Value.Type.ToString(),
|
||||
$"\n\n{string.Join(" \n", x.Value.CommentValue)}")));
|
||||
}
|
||||
return new CompletionList(
|
||||
new[]
|
||||
|
|
Loading…
Reference in New Issue