Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rtp plugins, aka distribution plugins does not actually got disabled #1339

Closed
3 tasks done
CharlesChiuGit opened this issue Aug 12, 2024 · 1 comment
Closed
3 tasks done
Labels
bug Something isn't working has:repro This issue contains reproducing steps lazy Lazy.nvim related issues

Comments

@CharlesChiuGit
Copy link
Collaborator

Version confirmation

  • Confirm

Following prerequisites

  • Confirm

Not a user config issue

  • Confirm

Neovim version

NVIM v0.10.1

Operating system/version

macOS 14.6.1

Terminal name/version

wezterm

$TERM environment variable

No response

Branch info

main (Default/Latest)

Fetch Preferences

SSH (use_ssh = true)

How to reproduce the issue

  1. :Lazy profile
  2. Some rtp plugins is still listed, even we disable it via disable_distribution_plugins().
    image

Expected behavior

those rtp plugins don't load at all.

Actual behavior

No response

Additional information

No response

@CharlesChiuGit CharlesChiuGit added bug Something isn't working lazy Lazy.nvim related issues labels Aug 12, 2024
@CharlesChiuGit
Copy link
Collaborator Author

CharlesChiuGit commented Aug 12, 2024

		performance = {
				...
				disabled_plugins = {
					"gzip",
					"matchit",
					"matchparen",
					"netrwPlugin",
					"tarPlugin",
					"tohtml",
					"tutor",
					"zipPlugin",
					"rplugin",
					"spellfile",
				},
			},
		},

set those rtp pluigins in lazy can disable rtp plugins.
I will open a pr to fix this.
image

ayamir pushed a commit that referenced this issue Aug 12, 2024
* fix(core): disable rtp plugins via `lazy.nvim`

* chore(core): add notes for disabled rtp plugins
@Jint-lzxy Jint-lzxy added the has:repro This issue contains reproducing steps label Aug 13, 2024
This was referenced Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working has:repro This issue contains reproducing steps lazy Lazy.nvim related issues
Projects
None yet
Development

No branches or pull requests

2 participants