mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-07 20:39:04 +03:00
55f4c8e51b
This PR refactors the `CommandPaletteFilter` and `CommandPaletteInterceptor` to better encapsulate their internals. Previously these globals and their fields were publicly accessible, which meant that there was a lot of reaching in and making modifications. These changes should make it easier to add additional consumers of these hooks (right now they're primarily used by Vim mode). Release Notes: - N/A
19 lines
304 B
TOML
19 lines
304 B
TOML
[package]
|
|
name = "command_palette_hooks"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/command_palette_hooks.rs"
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
collections.workspace = true
|
|
derive_more.workspace = true
|
|
gpui.workspace = true
|