@@ -582,9 +582,6 @@ impl Config {
582
582
pub fn code_action_group ( & self ) -> bool {
583
583
self . experimental ( "codeActionGroup" )
584
584
}
585
- pub fn experimental_hover_actions ( & self ) -> bool {
586
- self . experimental ( "hoverActions" )
587
- }
588
585
pub fn server_status_notification ( & self ) -> bool {
589
586
self . experimental ( "serverStatusNotification" )
590
587
}
@@ -790,13 +787,13 @@ impl Config {
790
787
}
791
788
}
792
789
pub fn hover_actions ( & self ) -> HoverActionsConfig {
790
+ let enable = self . experimental ( "hoverActions" ) && self . data . hoverActions_enable ;
793
791
HoverActionsConfig {
794
- implementations : self . data . hoverActions_enable
795
- && self . data . hoverActions_implementations ,
796
- references : self . data . hoverActions_enable && self . data . hoverActions_references ,
797
- run : self . data . hoverActions_enable && self . data . hoverActions_run ,
798
- debug : self . data . hoverActions_enable && self . data . hoverActions_debug ,
799
- goto_type_def : self . data . hoverActions_enable && self . data . hoverActions_gotoTypeDef ,
792
+ implementations : enable && self . data . hoverActions_implementations ,
793
+ references : enable && self . data . hoverActions_references ,
794
+ run : enable && self . data . hoverActions_run ,
795
+ debug : enable && self . data . hoverActions_debug ,
796
+ goto_type_def : enable && self . data . hoverActions_gotoTypeDef ,
800
797
}
801
798
}
802
799
pub fn highlighting_strings ( & self ) -> bool {
0 commit comments