Change action namespace to 'debug' for LSP log and syntax tree view

This commit is contained in:
Max Brunsfeld 2023-06-12 15:54:36 -07:00
parent 8542911eec
commit 04e43899c0
2 changed files with 2 additions and 2 deletions

View file

@ -74,7 +74,7 @@ pub(crate) struct LogMenuItem {
pub logs_selected: bool, pub logs_selected: bool,
} }
actions!(log, [OpenLanguageServerLogs]); actions!(debug, [OpenLanguageServerLogs]);
pub fn init(cx: &mut AppContext) { pub fn init(cx: &mut AppContext) {
let log_store = cx.add_model(|cx| LogStore::new(cx)); let log_store = cx.add_model(|cx| LogStore::new(cx));

View file

@ -18,7 +18,7 @@ use workspace::{
ToolbarItemLocation, ToolbarItemView, Workspace, ToolbarItemLocation, ToolbarItemView, Workspace,
}; };
actions!(log, [OpenSyntaxTreeView]); actions!(debug, [OpenSyntaxTreeView]);
pub fn init(cx: &mut AppContext) { pub fn init(cx: &mut AppContext) {
cx.add_action( cx.add_action(