LuaLS / LuaLS/lua-language-server
Feature: Allow for configurable set of recognized lua file extensions
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 4.4k
- Forks
- 442
- PR merge metrics
- No merged PRs in 30d
Description
How are you using the lua-language-server?
Visual Studio Code Extension (sumneko.lua)
Which OS are you using?
Windows
What is the issue affecting?
Other
Expected Behaviour
It would be nice if the extension could recognize files as lua based on a set of configurable extensions.
Actual Behaviour
Currently, it seems to only recognize files with .lua as their extension as lua files.
Reproduction steps
Create a lua file with a different extension, open the file in VSCode. The editor has no idea the file is lua.
Additional Notes
No response
Log File
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the behavior in the Visual Studio Code extension by opening a Lua file with a non-.lua extension and confirming it is not recognized. Trace the extension's file-language recognition and configuration entry points, then verify that users can configure a set of extensions and that those files receive Lua language support.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, vscode
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100