You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
15
15
16
16
- Sync to upstream Luau 0.698
17
17
- Auto-imports are now enabled by default. Configure `luau-lsp.completion.imports.enabled` if you wish to disable it ([#619](https://github.com/JohnnyMorganz/luau-lsp/issues/619))
18
+
- Definitions files must now provide a name for the file in settings and command line: i.e.
19
+
`--definitions:@roblox=path/to/globalTypes.d.luau`. This is to support mapping global types back to their original
20
+
definitions file for documentation features. Please update your LSP settings (`luau-lsp.types.definitionFiles`) and command line arguments.
21
+
Backwards compatibility has been temporarily preserved, with random names generated.
18
22
- Table properties are now prioritised above other autocomplete entries (again, fixing a dormant bug)
19
23
- Contextual keywords (`else` / `elseif` / `end`) are prioritised over other autocomplete entries when inside of the relevant statement
Copy file name to clipboardExpand all lines: editors/code/package.json
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -328,10 +328,10 @@
328
328
"scope": "resource"
329
329
},
330
330
"luau-lsp.types.definitionFiles": {
331
-
"markdownDescription": "A list of paths to definition files to load in to the type checker. Note that definition file syntax is currently unstable and may change at any time",
332
-
"type": "array",
331
+
"markdownDescription": "A mapping of package names to paths of definition files to load in to the type checker. Note that definition file syntax is currently unstable and may change at any time",
0 commit comments