From 3458687300e6d226531019738ad0669993b5c17d Mon Sep 17 00:00:00 2001
From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com>
Date: Thu, 28 Nov 2024 18:28:20 -0300
Subject: [PATCH] Add keybinding to the language selector tooltip (#21299)
Just making sure sure we're always making keyboard navigation
discoverable.
Release Notes:
- N/A
---
crates/language_selector/src/active_buffer_language.rs | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/crates/language_selector/src/active_buffer_language.rs b/crates/language_selector/src/active_buffer_language.rs
index 1d5f82d285..bfa31b2f69 100644
--- a/crates/language_selector/src/active_buffer_language.rs
+++ b/crates/language_selector/src/active_buffer_language.rs
@@ -6,6 +6,8 @@ use workspace::{item::ItemHandle, StatusItemView, Workspace};
use crate::LanguageSelector;
+gpui::actions!(language_selector, [Toggle]);
+
pub struct ActiveBufferLanguage {
active_language: Option