You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with the working directory set as dirA, entering ./dirB/ triggers completion with the suggestion file.txt. Omitting the dot (ie. entering dirB/) does not work.
This might be tricky because it could activate when you wouldn't want it to (i.e. typing foo/bar in markdown, or str/trim in clojure). We should likely enable this per language by checking the treesitter node under the cursor (:h vim.treesitter.get_node) to ensure we're in a comment/string. To start though, it could be enough to allow the user to toggle this via the opts table on the source. PR welcome!
It wouldn't be an issue in that case but it seems like a good idea to keep it disabled by default, in case a directory does exist, if we we're not checking the treesitter node
Make sure you have done the following
blink.cmp
Bug Description
with the working directory set as
dirA
, entering./dirB/
triggers completion with the suggestionfile.txt
. Omitting the dot (ie. enteringdirB/
) does not work.The completion is rejected here:
blink.cmp/lua/blink/cmp/sources/path/lib.lua
Line 32 in 02528e8
I am not really sure if this is a bug or a feature, but it took me by surprise.
Relevant configuration
No response
neovim version
nightly
blink.cmp
version: branch, tag, or commitv0.7.6
The text was updated successfully, but these errors were encountered: