Skip to content
This repository was archived by the owner on Apr 29, 2026. It is now read-only.

Fix LSP completion dismissed when typing '.' in namespaced words#374

Merged
navicore merged 2 commits intonavicore:mainfrom
navicore-bot:fix/lsp-dot-completion
Mar 25, 2026
Merged

Fix LSP completion dismissed when typing '.' in namespaced words#374
navicore merged 2 commits intonavicore:mainfrom
navicore-bot:fix/lsp-dot-completion

Conversation

@navicore-bot
Copy link
Copy Markdown
Contributor

Summary

  • Add "." to the LSP trigger_characters so the completion session stays open when typing through dots in namespaced words (e.g., int.add, f.mul, list.map)
  • Add tests confirming dotted prefixes remain in Code context and that builtin completions include dotted names

Closes #373

Test plan

  • cargo test -p seq-lsp — 30/30 pass (including 2 new tests)
  • Manual verification in Neovim with patch-seq.nvim: type int → see completion list → type . → list should stay open and filter to int.* words

🤖 Generated with Claude Code

Add '.' to the LSP trigger_characters so the completion session stays
open when the user types through a dot in namespaced words like int.add,
f.mul, list.map, etc.

Closes navicore#373

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@navicore
Copy link
Copy Markdown
Owner

@navicore-bot please run the "just fmt" command before submitting - also run the "just ci" command after that to make sure you don't introduce any lint issues.

I've manually tested the fix and it works great for me!

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@navicore navicore merged commit 89f34dd into navicore:main Mar 25, 2026
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LSP: completion list dismissed when typing '.' after prefix

2 participants