File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ function startClient() {
108108 }
109109 } ;
110110
111- let socketMode = true ;
111+ let socketMode = false ;
112112 let serverOptions : ServerOptions ;
113113 if ( socketMode ) {
114114 // The server is a started as a separate app and listens on port 5007
@@ -152,7 +152,7 @@ function startClient() {
152152
153153 onDidChangeActiveTextEditor ( vscode . window . activeTextEditor ) ;
154154 } ) . catch ( reson => {
155- vscode . window . showErrorMessage ( " Failed to start ` EmmyLua` language server!" , "Try again" ) . then ( item => {
155+ vscode . window . showErrorMessage ( ` Failed to start " EmmyLua" language server!\n ${ reson } ` , "Try again" ) . then ( item => {
156156 startClient ( ) ;
157157 } ) ;
158158 } ) ;
Original file line number Diff line number Diff line change @@ -15,9 +15,7 @@ export default function(): string|null {
1515 var settingsPath = vscode . workspace . getConfiguration ( "emmylua" ) . get ( "java.home" ) ;
1616 if ( settingsPath ) {
1717 let javaPath = path . join ( < string > settingsPath , "bin" , executableFile ) ;
18- if ( validateJava ( javaPath ) ) {
19- return javaPath ;
20- }
18+ return javaPath ;
2119 }
2220
2321 if ( "JAVA_HOME" in process . env ) {
You can’t perform that action at this time.
0 commit comments