Skip to content

Commit fa213b6

Browse files
Sync to upstream Luau 0.689 (#1187)
* Sync to upstream Luau 0.689 * Add handling for hot comment completion --------- Co-authored-by: JohnnyMorganz <[email protected]> Co-authored-by: JohnnyMorganz <[email protected]>
1 parent 9279a08 commit fa213b6

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
88

99
### Changed
1010

11-
- Sync to upstream Luau 0.688
11+
- Sync to upstream Luau 0.689
1212

1313
### Fixed
1414

luau

Submodule luau updated from 0afee00 to 5189ad9

src/operations/Completion.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,8 @@ static std::optional<lsp::CompletionItemKind> entryKind(const std::string& label
293293
return lsp::CompletionItemKind::Folder;
294294
return lsp::CompletionItemKind::File;
295295
}
296+
case Luau::AutocompleteEntryKind::HotComment:
297+
return lsp::CompletionItemKind::Snippet;
296298
}
297299

298300
return std::nullopt;

0 commit comments

Comments
 (0)