cmp-buffer icon indicating copy to clipboard operation
cmp-buffer copied to clipboard

Why use `after/plugin` dir for sources ?

Open leath-dub opened this issue 1 year ago • 0 comments

I didn't want raise this issue in nvim-cmp as it is actually not related to that plugin, more how the sources by @hrsh7th use the after/plugin dir. The problem is that this directory is not something you should use if you expect to allow a plugin be hot loaded, i.e. added to the runtimepath dynamically: for example via packadd.

See this issue https://github.com/vim/vim/issues/1994. after/plugin is not loaded by the builtin package manager and as suggested by a contributor in that issue, this is a directory primarily for users not plugins.

leath-dub avatar Jul 21 '24 14:07 leath-dub