Plugin.cmp API Reference

Index nvim-cmp plugin API functions and events from Lua code.

1|Updated Oct 26, 2025
One-click install
npx skills add https://github.com/NeKon69/nvim-dot --skill plugin-cmp-api-reference
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Plugin.cmp API Reference
Source: https://github.com/NeKon69/nvim-dot/tree/main/.agents/skills/plugin.cmp
Command: npx skills add https://github.com/NeKon69/nvim-dot --skill plugin-cmp-api-reference

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a quick reference for the cmp plugin's API, commands, and related modules, streamlining development and configuration.

Core Features & Use Cases

  • API Indexing: Quickly find and understand available functions and events for the cmp plugin.
  • Dependency Mapping: See related plugins and their corresponding Skills for a holistic view of the completion system.
  • Use Case: When configuring Neovim's completion engine, quickly look up the cmp API to understand how to trigger completion events or configure sources.

Quick Start

Use the Plugin.cmp skill to find information about the 'BufWinEnter' event.

Frequently Asked Questions about Plugin.cmp API Reference

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure nvim-cmp autocompletion events in Neovim?

To configure nvim-cmp autocompletion, you can use this reference to look up available module APIs and event triggers, such as the 'BufWinEnter' event, to bind completion actions within your Neovim configuration.

What functions are available in the nvim-cmp module API?

The nvim-cmp module API exposes specific functions and event triggers identified through static analysis of Lua code, allowing you to quickly index and understand available commands for your completion engine configuration.

How do I trigger completion events using the cmp plugin?

You can trigger completion events by referencing the cmp plugin's event bindings detailed in the API reference, enabling you to configure sources and initiate autocompletion accurately during Neovim development.

Can I find related plugin dependencies for my Neovim completion setup?

Yes, the reference provides dependency mapping to show related plugins and their corresponding Skills, giving you a holistic view of the autocompletion system components needed for your setup.

Does this API reference require manual Lua code analysis to use?

No, the reference eliminates manual static analysis of Lua code by providing direct, indexed details on the cmp plugin's module exports, commands, and event triggers for quick lookup.

What is the best way to look up cmp plugin commands for Neovim?

The best way to look up cmp plugin commands is using this API reference, which streamlines development by providing a quick, searchable index of available functions and events for the nvim-cmp plugin.