Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add lua to languages contribution points #155

Merged
merged 1 commit into from
Oct 30, 2024
Merged

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