🟠 Unused buffer_for_uri function in lsp_client #9

Open xenolandscapes.com
Open opened by xenolandscapes.com

Summary #

src/cursed/lsp_client.lua defines buffer_for_uri but it is never called in this changeset.

The Problem #

The function buffer_for_uri is defined (line ~621) but has no callers. This is dead code that increases maintenance burden.

Impact #

  • maintainability: Dead code clutters the module and may mislead developers into thinking it's used.

Remove the function or add a comment explaining its intended future use.

References #

8e147b96..8e147b96

Sign up or Sign in to add to the discussion.