-
Notifications
You must be signed in to change notification settings - Fork 482
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationusageUser-specific issuesUser-specific issues
Description
Version confirmation
- Confirm
Following prerequisites
- Confirm
Not a user config issue
- Confirm
Neovim version
NVIM v0.10.0-dev-618+g4fd852b8c
Operating system/version
Ubuntu 23.10
Terminal name/version
kitty 0.28.1
$TERM environment variable
xterm-kitty
Branch info
main (Default/Latest)
Fetch Preferences
SSH (use_ssh = true)
How to reproduce the issue
- fork a plugin's repo, for example
nvimdev/lspsaga.nvimasusername/lspsaga.nvim, and add it touser/plugins/completion.lua, and in settings, add settings["disabled_plugins"] = {"nvimdev/lspsaga.nvim"}. - Restart neovim and run
Lazy update - Enter neovim and run command
Lspsaga xxx - It will return not a known command
Expected behavior
The nvimdev/lspsaga.nvim will be disabled, and I will use username/lspsaga.nvim.
Actual behavior
Lspsaga xxx is not a known command.
Additional information
This is not a problem of nvimdots actually, it related to lazy.nvim, as nvimdots use disable option to disable the plugin. However, lazy.nvim seems not support such situation. Maybe remove those disabled plugin from here?
Lines 40 to 44 in f84f72d
| vim.list_extend(plugins_list, user_plugins_list) | |
| for _, f in ipairs(plugins_list) do | |
| -- aggregate the plugins from `/plugins/*.lua` and `/user/plugins/*.lua` to a plugin list of a certain field for later `require` action. | |
| -- current fields contains: completion, editor, lang, tool, ui | |
| list[#list + 1] = f:find(modules_dir) and f:sub(#modules_dir - 6, -1) or f:sub(#user_config_dir - 3, -1) |
Let me known if you need more steps to reproduce!
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationusageUser-specific issuesUser-specific issues