diff --git a/server/out/completion.fallout-ssl.json b/server/out/completion.fallout-ssl.json index ae97caa..f1049bc 100644 --- a/server/out/completion.fallout-ssl.json +++ b/server/out/completion.fallout-ssl.json @@ -810,7 +810,7 @@ "source": "builtin", "documentation": { "kind": "markdown", - "value": "```fallout-ssl-tooltip\nvoid gSay_End(unsigned int var_index)\n```\nEnds a dialog sequence, which will bring up the sequence (actually display it)." + "value": "```fallout-ssl-tooltip\nvoid gSay_End(uint var_index)\n```\nEnds a dialog sequence, which will bring up the sequence (actually display it)." } }, { @@ -1197,7 +1197,7 @@ "source": "builtin", "documentation": { "kind": "markdown", - "value": "```fallout-ssl-tooltip\nint local_var(unsigned int var_index)\n```\nReturns the value of a local variable of given index # (var_index). If the user is not allowed local vars up to this number in the list of critters, this can generate errors." + "value": "```fallout-ssl-tooltip\nint local_var(uint var_index)\n```\nReturns the value of a local variable of given index # (var_index). If the user is not allowed local vars up to this number in the list of critters, this can generate errors." } }, { @@ -1233,7 +1233,7 @@ "source": "builtin", "documentation": { "kind": "markdown", - "value": "```fallout-ssl-tooltip\nint map_var(unsigned int var_index)\n```\nReturns the value of a map-global variable of a given index # (var_index)." + "value": "```fallout-ssl-tooltip\nint map_var(uint var_index)\n```\nReturns the value of a map-global variable of a given index # (var_index)." } }, { @@ -1782,7 +1782,7 @@ "source": "builtin", "documentation": { "kind": "markdown", - "value": "```fallout-ssl-tooltip\nvoid set_global_var(unsigned int var_index, int value)\n```\nSets the value of a global variable (var_index) to a given (value)." + "value": "```fallout-ssl-tooltip\nvoid set_global_var(uint var_index, int value)\n```\nSets the value of a global variable (var_index) to a given (value)." } }, { @@ -1800,7 +1800,7 @@ "source": "builtin", "documentation": { "kind": "markdown", - "value": "```fallout-ssl-tooltip\nvoid set_local_var(unsigned int var_index, int value)\n```\nSets the value of a local variable (var_index) to a given (value)." + "value": "```fallout-ssl-tooltip\nvoid set_local_var(uint var_index, int value)\n```\nSets the value of a local variable (var_index) to a given (value)." } }, { @@ -1818,7 +1818,7 @@ "source": "builtin", "documentation": { "kind": "markdown", - "value": "```fallout-ssl-tooltip\nvoid set_map_var(unsigned int var_index, int value)\n```\nSets the value of a map-global variable (var_index) to a given (value)." + "value": "```fallout-ssl-tooltip\nvoid set_map_var(uint var_index, int value)\n```\nSets the value of a map-global variable (var_index) to a given (value)." } }, { diff --git a/server/out/hover.fallout-ssl.json b/server/out/hover.fallout-ssl.json index fc81235..ad28165 100644 --- a/server/out/hover.fallout-ssl.json +++ b/server/out/hover.fallout-ssl.json @@ -488,7 +488,7 @@ "gSay_End": { "contents": { "kind": "markdown", - "value": "```fallout-ssl-tooltip\nvoid gSay_End(unsigned int var_index)\n```\nEnds a dialog sequence, which will bring up the sequence (actually display it)." + "value": "```fallout-ssl-tooltip\nvoid gSay_End(uint var_index)\n```\nEnds a dialog sequence, which will bring up the sequence (actually display it)." } }, "gSay_Message": { @@ -746,7 +746,7 @@ "local_var": { "contents": { "kind": "markdown", - "value": "```fallout-ssl-tooltip\nint local_var(unsigned int var_index)\n```\nReturns the value of a local variable of given index # (var_index). If the user is not allowed local vars up to this number in the list of critters, this can generate errors." + "value": "```fallout-ssl-tooltip\nint local_var(uint var_index)\n```\nReturns the value of a local variable of given index # (var_index). If the user is not allowed local vars up to this number in the list of critters, this can generate errors." } }, "map_first_run": { @@ -770,7 +770,7 @@ "map_var": { "contents": { "kind": "markdown", - "value": "```fallout-ssl-tooltip\nint map_var(unsigned int var_index)\n```\nReturns the value of a map-global variable of a given index # (var_index)." + "value": "```fallout-ssl-tooltip\nint map_var(uint var_index)\n```\nReturns the value of a map-global variable of a given index # (var_index)." } }, "message_str": { @@ -1136,7 +1136,7 @@ "set_global_var": { "contents": { "kind": "markdown", - "value": "```fallout-ssl-tooltip\nvoid set_global_var(unsigned int var_index, int value)\n```\nSets the value of a global variable (var_index) to a given (value)." + "value": "```fallout-ssl-tooltip\nvoid set_global_var(uint var_index, int value)\n```\nSets the value of a global variable (var_index) to a given (value)." } }, "set_light_level": { @@ -1148,7 +1148,7 @@ "set_local_var": { "contents": { "kind": "markdown", - "value": "```fallout-ssl-tooltip\nvoid set_local_var(unsigned int var_index, int value)\n```\nSets the value of a local variable (var_index) to a given (value)." + "value": "```fallout-ssl-tooltip\nvoid set_local_var(uint var_index, int value)\n```\nSets the value of a local variable (var_index) to a given (value)." } }, "set_map_start": { @@ -1160,7 +1160,7 @@ "set_map_var": { "contents": { "kind": "markdown", - "value": "```fallout-ssl-tooltip\nvoid set_map_var(unsigned int var_index, int value)\n```\nSets the value of a map-global variable (var_index) to a given (value)." + "value": "```fallout-ssl-tooltip\nvoid set_map_var(uint var_index, int value)\n```\nSets the value of a map-global variable (var_index) to a given (value)." } }, "set_obj_visibility": { diff --git a/syntaxes/fallout-ssl-tooltip.tmLanguage.json b/syntaxes/fallout-ssl-tooltip.tmLanguage.json index 32f7be1..603d614 100644 --- a/syntaxes/fallout-ssl-tooltip.tmLanguage.json +++ b/syntaxes/fallout-ssl-tooltip.tmLanguage.json @@ -29,7 +29,16 @@ "name": "storage.type.fallout-ssl-tooltip" } }, - "match": "\\b(?i)(array|any|bool|int|list|map|mixed|float|ObjPtr|ObjectPtr|proc|string|void)\\b", + "match": "\\b(?i)(array|any|bool|int|list|map|mixed|float|ObjPtr|ObjectPtr|proc|string|uint|void)\\b", + "name": "meta.fallout-ssl-tooltip" + }, + { + "captures": { + "1": { + "name": "comment.line.fallout-ssl-tooltip" + } + }, + "match": "\\b(macro)\\b", "name": "meta.fallout-ssl-tooltip" }, {