general

Does nvim-cmp support ghost text inline completion?

I'm curious about whether nvim-cmp supports ghost text inline completion or if it only supports selection-based completion.

An

Andrew Ge-Hall

Asked on Jun 14, 2024

  • nvim-cmp primarily supports selection-based completion, but it does not natively support ghost text inline completion.
  • Ghost text inline completion can be achieved by combining nvim-cmp with plugins like Tabby that provide this functionality.
  • The ghost text in nvim-cmp can be displayed alongside the current selection from the completion menu, which may affect the readability of longer completion results.
Jun 14, 2024Edited by