A Neovim completion source plugin that provides filesystem path suggestions for nvim-cmp.
cmp-path is a Neovim plugin that integrates with nvim-cmp to provide autocompletion for filesystem paths. It suggests files and directories as you type, reducing manual path entry and speeding up workflow. The plugin supports path aliases and customizable options to fit different project structures.
Neovim users who utilize nvim-cmp for code completion and want efficient file path suggestions within their editor.
Developers choose cmp-path for its seamless integration with nvim-cmp, lightweight performance, and flexible configuration like path aliases, making file navigation in Neovim faster and more intuitive.
nvim-cmp source for path
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Directly plugs into nvim-cmp, providing path suggestions alongside other sources like LSP and buffer completions, as shown in the setup example where it's listed among sources.
Supports mapping shorthand like '@' to project directories, enhancing productivity for monorepos or complex projects, as demonstrated in the configuration snippet with pathMappings.
Options like trailing_slash and label_trailing_slash allow users to replicate Vim's native path completion, ensuring familiarity for those transitioning from Vim.
Emphasizes minimal configuration with flexible options like get_cwd for relative paths, aligning with its philosophy of fast, context-aware completion without overhead.
The README explicitly warns that using too many path aliases at once can cause performance issues, limiting scalability for users who need extensive custom mappings.
Only functions with nvim-cmp, making it unsuitable for users of other completion engines or editors, which restricts its applicability within the broader Neovim plugin landscape.
Focuses solely on path completion without advanced features like fuzzy finding, file type filtering, or integration with tools like version control, which might be needed for more complex workflows.