@@ -582,9 +582,6 @@ impl Config {
582582 pub fn code_action_group ( & self ) -> bool {
583583 self . experimental ( "codeActionGroup" )
584584 }
585- pub fn experimental_hover_actions ( & self ) -> bool {
586- self . experimental ( "hoverActions" )
587- }
588585 pub fn server_status_notification ( & self ) -> bool {
589586 self . experimental ( "serverStatusNotification" )
590587 }
@@ -790,13 +787,13 @@ impl Config {
790787 }
791788 }
792789 pub fn hover_actions ( & self ) -> HoverActionsConfig {
790+ let enable = self . experimental ( "hoverActions" ) && self . data . hoverActions_enable ;
793791 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 ,
800797 }
801798 }
802799 pub fn highlighting_strings ( & self ) -> bool {
0 commit comments