Skip to content

Commit 52de1f7

Browse files
author
Asaf Agami
authored
Add "language-server" flag to LS invocations [HEAD-694] (#148)
add "language-server" flag to LS invocations
1 parent d62b56e commit 52de1f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugin/src/main/java/io/snyk/languageserver/SnykLanguageServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public void start() throws IOException {
4141
}
4242
}
4343

44-
List<String> commands = Lists.of(Preferences.getInstance().getLsBinary(), "-l", "info", "-f",
44+
List<String> commands = Lists.of(Preferences.getInstance().getLsBinary(), "language-server", "-l", "info", "-f",
4545
new File(Preferences.getInstance().getLsBinary()).getParent() + File.separator + "snyk-ls.log");
4646
String workingDir = SystemUtils.USER_DIR;
4747
setCommands(commands);

0 commit comments

Comments
 (0)