LuaLS / LuaLS/lua-language-server
self keyword not correctly specified / highlighted
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Lua
- Star
- 4.4k
- Fork
- 442
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện báo cáo trong Neovim với lua_ls trên một tệp Lua, sử dụng một theme làm nổi bật từ khóa self, và xem issue Everforest được liên kết để biết thêm ngữ cảnh. Được xem là hoàn tất khi self được phân loại và hiển thị là từ khóa thay vì biến trong thiết lập được báo cáo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- lua
- Lĩnh vực
- devtools
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100