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
I have two sources providing "path" completions thus duplication happens and I suspect this duplication comes from two sources: nvim_lsp and path
Is there a way to disable path completion from nvim_lsp?
I like keeping path source enabled because in some filetypes where I don't have any LSP running (ie: MD) I still have the path working which is super handy to create links inside my MD file and so on, which is something I can't do when I enable only nvim_lsp.
Ideas on disabling path completion from nvim_lsp?
UPDATE:
I noticed in the Wiki we have a way to enable sources by filetype so I'm able to run nvim_lsp for the major FTs and path for others.
This part actually worked, now I have only nvim_lsp on major FTs thus no duplication but another issue raised: nvim_lsp source is not working as good as path for paths completion.
With nvim_lsp only:
With path enabled (I see extra files such as the CSS one)
So ideally would be disabling path completion from nvim_lsp it seems which I'm unsure if this is an option.
UPDATE:
Ok just noticed a few other discussions about duplicated entries.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have two sources providing "path" completions thus duplication happens and I suspect this duplication comes from two sources:
nvim_lspandpathIs there a way to disable path completion from
nvim_lsp?I like keeping
pathsource enabled because in some filetypes where I don't have any LSP running (ie: MD) I still have thepathworking which is super handy to create links inside my MD file and so on, which is something I can't do when I enable onlynvim_lsp.Ideas on disabling
path completionfromnvim_lsp?UPDATE:
I noticed in the Wiki we have a way to enable sources by filetype so I'm able to run
nvim_lspfor the major FTs andpathfor others.This part actually worked, now I have only
nvim_lspon major FTs thus no duplication but another issue raised:nvim_lspsource is not working as good aspathfor paths completion.With

nvim_lsponly:With

pathenabled (I see extra files such as the CSS one)So ideally would be disabling
pathcompletion fromnvim_lspit seems which I'm unsure if this is an option.UPDATE:
Ok just noticed a few other discussions about duplicated entries.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions