Skip to content

Commit

Permalink
Fix extension to work with luau
Browse files Browse the repository at this point in the history
  • Loading branch information
Kampfkarren committed Jan 4, 2024
1 parent 651ac70 commit 669939f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions selene-vscode/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ If you want to stay up to date with selene itself, you can find the changelog in

## Unreleased

## [1.5.1]
- selene now works with the Luau language ID.

## [1.5.0]
- Added `update-roblox-std` and `generate-roblox-std` subcommands to vscode command palette
- Added error reporting for configuration files, both for selene.toml and for YML standard libraries.
Expand Down
3 changes: 2 additions & 1 deletion selene-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
],
"activationEvents": [
"onLanguage:lua",
"onLanguage:luau",
"workspaceContains:selene.toml",
"onCommand:selene.reinstall",
"onCommand:selene.update-roblox-std",
Expand Down Expand Up @@ -117,4 +118,4 @@
"semver": "^7.3.8",
"unzipper": "^0.10.11"
}
}
}
1 change: 1 addition & 0 deletions selene-vscode/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ export async function activate(

switch (document.languageId) {
case "lua":
case "luau":
break
case "toml":
case "yaml":
Expand Down

0 comments on commit 669939f

Please sign in to comment.