ddc-source-buffer
ddc-source-buffer copied to clipboard
"fromAltBuf" & "forceCollect" questions
@matsui54
Hi, I'm setting up the plugin and have questions regarding these two parameters.
fromAltBuf
: I'm usually working within a loaded nvim session. Even though a buffer is loaded in another tab, I noticed that I need to switch to the tab/buffer before ddc picks up the buffer as a source. Is there a way to have it automatically use all loaded buffers (visible and non-visible) without navigating to them?
forceCollect
: I'm a bit confused about this parameter. Is this just an override for limitBytes
for buffers in the current tab?
If you want to ensure that keywords are always collected on initialization of ddc, enable this feature.
What does this mean exactly?
Thank you
fromAltBuf: I'm usually working within a loaded nvim session. Even though a buffer is loaded in another tab, I noticed that I need to switch to the tab/buffer before ddc picks up the buffer as a source. Is there a way to have it automatically use all loaded buffers (visible and non-visible) without navigating to them?
I have read the code. The cache are made from current tab buffers. It is feature.
forceCollect: I'm a bit confused about this parameter. Is this just an override for limitBytes for buffers in the current tab?
If forceCollect
is set, limitBytes
is ignored.