File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -92,18 +92,17 @@ imported into the current file."
9292          " --client-id emacs.lsp-dart" 
9393          , client-version ))))
9494
95- (lsp-defun lsp-dart--handle-analyzer-status (workspace  (&AnalyzerStatusNotification :is-analyzing ))
95+ (lsp-defun lsp-dart--handle-analyzer-status (_workspace  (&AnalyzerStatusNotification :is-analyzing ))
9696  " Handle analyzer status notification for WORKSPACE.
9797PARAMS is the data sent from server."  
98-   (when  (and  (not  (lsp-dart-flutter-daemon--running-p))
99-              (lsp-dart--flutter-project-p))
100-     (lsp-dart-flutter-daemon-start))
10198  (if  is-analyzing
102-       (lsp-dart-workspace-status  " Analyzing project... "  workspace )
103-     (lsp-dart-workspace-status  nil  workspace )))
99+       (lsp--spinner-start )
100+     (lsp--spinner-stop )))
104101
105102(defun  lsp-dart--activate-features  ()
106103  " Activate lsp-dart features if enabled." 
104+   (when  (lsp-dart--flutter-project-p)
105+     (lsp-dart-flutter-daemon-start))
107106  (when  lsp-dart-flutter-widget-guides
108107    (lsp-dart-flutter-widget-guides-mode 1 ))
109108  (when  lsp-dart-flutter-fringe-colors
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments