LuaLS / LuaLS/lua-language-server

CPU利用率接近100%

Open
#2,672 1 comment 0 reactions 0 assignees View on GitHub

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?

NeoVim

Which OS are you using?

MacOS

What is the issue affecting?

Other

Expected Behaviour

正常打开文件,资源使用率符合预期

Actual Behaviour

CPU使用率偏高
image

Reproduction steps
  1. 打开lua文件
  2. 一直显示:
    image
Additional Notes

版本:3.9.1

Log File

file_Users_admin_.dotfiles_nvim.log

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the high CPU usage with lua-language-server 3.9.1 in NeoVim on macOS by opening a Lua file and observing the persistent status shown in the report. Start by inspecting the attached log file and compare resource usage before and after reproduction; done means identifying the cause and confirming that normal file opening no longer keeps CPU usage unusually high.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, neovim
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.