Highlight matching bracket when newest selection head is on a bracket
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
pub mod display_map;
|
||||
mod element;
|
||||
mod highlight_matching_bracket;
|
||||
mod hover_popover;
|
||||
pub mod items;
|
||||
mod link_go_to_definition;
|
||||
@@ -31,6 +32,7 @@ use gpui::{
|
||||
ModelHandle, MutableAppContext, RenderContext, Task, View, ViewContext, ViewHandle,
|
||||
WeakViewHandle,
|
||||
};
|
||||
use highlight_matching_bracket::refresh_matching_bracket_highlights;
|
||||
use hover_popover::{hide_hover, HoverState};
|
||||
pub use language::{char_kind, CharKind};
|
||||
use language::{
|
||||
@@ -1422,6 +1424,7 @@ impl Editor {
|
||||
}
|
||||
self.refresh_code_actions(cx);
|
||||
self.refresh_document_highlights(cx);
|
||||
refresh_matching_bracket_highlights(self, cx);
|
||||
}
|
||||
|
||||
self.pause_cursor_blinking(cx);
|
||||
|
||||
Reference in New Issue
Block a user