I have the same issue in markdown with cmp-path not updating when quickly writing something with a slash and then going to new line and pressing tab to increase my indent. It keeps showing the same completion on the new line until I've written something on it and it often shows this ...
callplug#begin(s:plug_dir) Plug'neovim/nvim-lspconfig'Plug'hrsh7th/cmp-nvim-lsp'Plug'hrsh7th/cmp-buffer'Plug'hrsh7th/cmp-path'Plug'hrsh7th/cmp-cmdline'Plug'hrsh7th/nvim-cmp'"For vsnip users.Plug'hrsh7th/cmp-vsnip'Plug'hrsh7th/vim-vsnip'"For luasnip users."Plug 'L3MON4D3/...
call plug#begin() Plug 'williamboman/nvim-lsp-installer' Plug 'neovim/nvim-lspconfig' Plug 'hrsh7th/cmp-nvim-lsp' Plug 'hrsh7th/cmp-buffer' Plug 'hrsh7th/cmp-path' Plug 'hrsh7th/cmp-cmdline' Plug 'hrsh7th/nvim-cmp' Plug 'hrsh7th/cmp-vsnip' Plug 'hrsh7th/vim-vsnip' call...
require('cmp_tabnine'):prefetch(file_path) The lua api can be used to prefetch a project, or a file on open: localprefetch=vim.api.nvim_create_augroup("prefetch", {clear=true})vim.api.nvim_create_autocmd('BufRead', {group=prefetch,pattern='*.py',callback=function()require('cmp_ta...
Please use nvim-cmp the successor of nvim-compe. nvim-compe still works but new feature and bugfixes will be stopped. nvim-compe Auto completion plugin for nvim. Table Of Contents Concept Features Usage Prerequisite Vim script Config Lua Config Mappings Highlight Built-in sources Common...
nvim_set_hl(0, "CmpGhostText", { link = "Comment", default = true }) local cmp = require("cmp") local defaults = require("cmp.config.default")() sources = { { name = "nvim_lsp" }, { name = "buffer" }, { name = "path" }, { name = "nvim_lsp_signature_help" }, ...
execute 'set runtimepath+=' . s:plug_dir call plug#begin(s:plug_dir) Plug 'hrsh7th/nvim-cmp' Plug 'hrsh7th/cmp-buffer' Plug 'hrsh7th/cmp-nvim-lsp' Plug 'hrsh7th/vim-vsnip' Plug 'neovim/nvim-lspconfig' Plug 'hrsh7th/cmp-cmdline' ...
FAQ I have checked the FAQ and it didn't resolve my problem. Announcement I have checked Breaking change announcement. Minimal reproducible full config I'm using nvim-cmp via SpaceVim so here's the config lua <<EOF -- Setup nvim-cmp. loc...
cmp-tabnine Tabnine source forhrsh7th/nvim-cmp Install Dependencies On Linux and Mac, you will needcurlandunzipin your$PATH. On windows, you just need powershell. Using a plugin manager Using plug: Plug'tzachar/cmp-tabnine', {'do':'./install.sh'} ...