File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ pub struct LanguageServerInitializationOptions {
36
36
pub fn get_language_server_init_options ( root_url : Option < Url > ) -> Option < Value > {
37
37
let root_url = root_url. unwrap ( ) ;
38
38
let tsdk = root_url
39
- . join ( "node_modules/typescript/lib" )
39
+ . join ( "lapce-volar/ node_modules/typescript/lib" )
40
40
. unwrap ( )
41
41
. to_file_path ( )
42
42
. unwrap ( )
Original file line number Diff line number Diff line change @@ -26,7 +26,10 @@ fn initialize(params: InitializeParams) -> Result<()> {
26
26
let server_args = vec ! [ "--stdio" . to_string( ) ] ;
27
27
28
28
let volt_uri = std:: env:: var ( "VOLT_URI" ) ?;
29
- let server_path = Url :: parse ( & volt_uri) . unwrap ( ) . join ( "main.js" ) . unwrap ( ) ;
29
+ let server_path = Url :: parse ( & volt_uri)
30
+ . unwrap ( )
31
+ . join ( "lapce-volar/main.js" )
32
+ . unwrap ( ) ;
30
33
let language_init_option = get_language_server_init_options ( Url :: parse ( & volt_uri) . ok ( ) ) ;
31
34
32
35
PLUGIN_RPC . start_lsp (
You can’t perform that action at this time.
0 commit comments