Skip to content

Commit d1ca960

Browse files
committed
set env in windows scripts
1 parent e547178 commit d1ca960

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

apps/elixir_ls_utils/priv/debugger.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@echo off & setlocal enabledelayedexpansion
22

3+
SET ELS_MODE=debugger
34
IF EXIST "%APPDATA%\elixir_ls\setup.bat" (
45
CALL "%APPDATA%\elixir_ls\setup.bat" > nul
56
)

apps/elixir_ls_utils/priv/language_server.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@echo off & setlocal enabledelayedexpansion
22

3+
SET ELS_MODE=language_server
34
IF EXIST "%APPDATA%\elixir_ls\setup.bat" (
45
CALL "%APPDATA%\elixir_ls\setup.bat" > nul
56
)

apps/elixir_ls_utils/priv/launch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@ fi
7070

7171
export ERL_LIBS="$SCRIPTPATH:$ERL_LIBS"
7272

73-
exec elixir --erl "+sbwt none +sbwtdcpu none +sbwtdio none" -e "$ELS_SCRIPT"
73+
exec elixir --erl "+sbwt none +sbwtdcpu none +sbwtdio none" -e "$ELS_SCRIPT"

0 commit comments

Comments
 (0)