Skip to content

Conversation

@IronGeek
Copy link
Contributor

This PR fixes issue where files with .lua extension are not recognized by VS Code as Lua files.
This is done by adding a proper entry to the contributes.languages field in the extension manifest (package.json) file.

Unless the user added the lua language identifier via other means (e.g. installing other extensions which contributes the lua language identifier), without this entry in the extension manifest, all .lua files would be detected as plain text files, which causes vscode-lua to remain inactive eventhough a Lua file (.lua) is actively opened in the editor.

2024-10-24 16-30-08

This commit adds the missing entry for the `lua` language to the
languages contribution points (`contributes.languages` field) in the
extension manifest (`package.json`).
@sumneko sumneko merged commit e5244e6 into LuaLS:master Oct 30, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants