Skip to content

Conversation

@rolandwalker
Copy link
Contributor

Description

Put special commands first in the list of completion candidates and suppress any duplication between pygments keywords and special commands, preferring special commands over pygments keywords.

Example: whereas "exit" previously appeared twice, once as "EXIT" and once as "exit", it now appears only once, and at the top of the completion candidates.

Followup to #1447.

last image

Checklist

  • I've added this contribution to the changelog.md.
  • I've added my name to the AUTHORS file (or it's already there).
  • I ran uv run ruff check && uv run ruff format && uv run mypy --install-types . to lint and format the code.

@rolandwalker rolandwalker self-assigned this Jan 21, 2026
and suppress any duplication between pygments keywords and special
commands, preferring special commands over pygments keywords.

Example: whereas "exit" previously appeared twice, once as "EXIT" and
once as "exit", it now appears only once, and at the top of the
completion candidates.
@rolandwalker rolandwalker force-pushed the RW/special-commands-first-in-completions branch from aaf2c3e to 61e7268 Compare January 21, 2026 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants