Multi-Line completion with nvim-cmp

This page summarizes the projects mentioned and recommended in the original post on /r/neovim

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • nvim-cmp

    A completion plugin for neovim coded in Lua.

  • Hey all, I use nvim-cmp and love it. One item I've wanted to have but can't seem to get is multi-line completion. For example, a for-loop suggestion only gives me the first line of the for-loop, I'd love to get the entirety of the suggestion to be inserted with one selection. I'm sure under-the-hood the copilot has it.

  • friendly-snippets

    Set of preconfigured snippets for different languages.

  • For example Luasnip with (I guess) friendly-snippets has multi line snippets defined by default. And you can use luasnip with nvim-cmp (read the docs or I guess there’s a YouTube tutorial)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts