This repository was archived by the owner on Oct 8, 2025. It is now read-only.
  
  
  
  
    
    
    
      
    
  
  
    
File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -63,13 +63,15 @@ defmodule NextLS do
6363    extension_registry  =  Keyword . fetch! ( args ,  :extension_registry ) 
6464    extensions  =  Keyword . get ( args ,  :extensions ,  [ NextLS.ElixirExtension ] ) 
6565    cache  =  Keyword . fetch! ( args ,  :cache ) 
66+     symbol_table  =  Keyword . fetch! ( args ,  :symbol_table ) 
6667
6768    { :ok , 
6869     assign ( lsp , 
6970       exit_code:  1 , 
7071       documents:  % { } , 
7172       refresh_refs:  % { } , 
7273       cache:  cache , 
74+        symbol_table:  symbol_table , 
7375       task_supervisor:  task_supervisor , 
7476       dynamic_supervisor:  dynamic_supervisor , 
7577       extension_registry:  extension_registry , 
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ defmodule NextLS.SymbolTableTest do
1616    assert  :sys . get_state ( pid ) . table  ==  :symbol_table 
1717  end 
1818
19-   test  "builds the symbol table" ,  % { dir:  dir ,   pid:  pid }  do 
19+   test  "builds the symbol table" ,  % { pid:  pid }  do 
2020    symbols  =  symbols ( ) 
2121
2222    SymbolTable . put_symbols ( pid ,  symbols ) 
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ defmodule NextLSTest do
1515    start_supervised! ( { Registry ,  [ keys:  :unique ,  name:  Registry.NextLSTest ] } ) 
1616    extensions  =  [ NextLS.ElixirExtension ] 
1717    cache  =  start_supervised! ( NextLS.DiagnosticCache ) 
18-     symbol_table  =  start_supervised! ( NextLS.SymbolTable ) 
18+     symbol_table  =  start_supervised! ( { NextLS.SymbolTable ,   [ path:  tmp_dir ] } ) 
1919
2020    server  = 
2121      server ( NextLS , 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments