Use a single action for toggling the language (#21331)
Follow-up of https://github.com/zed-industries/zed/pull/21299 Release Notes: - N/A
This commit is contained in:
parent
de55bd8307
commit
0306bdc695
1 changed files with 1 additions and 3 deletions
|
@ -4,9 +4,7 @@ use language::LanguageName;
|
|||
use ui::{Button, ButtonCommon, Clickable, FluentBuilder, LabelSize, Tooltip};
|
||||
use workspace::{item::ItemHandle, StatusItemView, Workspace};
|
||||
|
||||
use crate::LanguageSelector;
|
||||
|
||||
gpui::actions!(language_selector, [Toggle]);
|
||||
use crate::{LanguageSelector, Toggle};
|
||||
|
||||
pub struct ActiveBufferLanguage {
|
||||
active_language: Option<Option<LanguageName>>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue