LuaLS / LuaLS/lua-language-server
self keyword not correctly specified / highlighted
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Lua
- Sterne
- 4.4k
- Forks
- 442
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
How are you using the lua-language-server?
NeoVim
Which OS are you using?
Linux
What is the issue affecting?
Other
Expected Behaviour
The self word should be highlighted as a keyword and not a variable.
Actual Behaviour
The self keyword seems to be recognized as a variable and not a keyword. The self keyword is not correctly highlighted. It seems highlighted as a variable and not as a keyword.
Reproduction steps
Use neovim with lua_ls and open a lua file and a theme with the self keyword. The self keyword is not correctly highlighted.
Additional Notes
I first noticed the problem in neovim with the everforest theme. I even opened an issue. More context can be found in the author's detailed answer.
Log File
No response
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, den Bericht in Neovim mit lua_ls in einer Lua-Datei zu reproduzieren, und verwende dabei ein Theme, das das Schlüsselwort self hervorhebt; sieh dir außerdem die verknüpfte Everforest-Issue als Kontext an. Erledigt ist dies, wenn self im gemeldeten Setup als Schlüsselwort statt als Variable klassifiziert und angezeigt wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- lua
- Bereich
- devtools
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100