Skip to content

Commit 9c8d58e

Browse files
committed
Enable auto-imports by default
Closes #619
1 parent 8705986 commit 9c8d58e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
1414
### Changed
1515

1616
- Sync to upstream Luau 0.698
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))
1718
- Table properties are now prioritised above other autocomplete entries (again, fixing a dormant bug)
1819
- Contextual keywords (`else` / `elseif` / `end`) are prioritised over other autocomplete entries when inside of the relevant statement
1920

editors/code/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@
516516
"luau-lsp.completion.imports.enabled": {
517517
"markdownDescription": "Suggest automatic imports in completion items",
518518
"type": "boolean",
519-
"default": false,
519+
"default": true,
520520
"scope": "resource"
521521
},
522522
"luau-lsp.completion.imports.suggestServices": {

0 commit comments

Comments
 (0)