LuaLS / LuaLS/lua-language-server
self keyword not correctly specified / highlighted
Nessuno ha ancora preso questa issue.
- Lingua principale
- Lua
- Stelle
- 4.4k
- Fork
- 442
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia riproducendo il report in Neovim con lua_ls su un file Lua, usando un tema che evidenzi la parola chiave self, e consulta la issue di Everforest collegata per avere il contesto. Il lavoro è completato quando self viene classificato e visualizzato come parola chiave anziché come variabile nella configurazione segnalata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- lua
- Ambito
- devtools
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100