File tree Expand file tree Collapse file tree 5 files changed +14
-8
lines changed
ocaml-lsp-server/vendor/merlin Expand file tree Collapse file tree 5 files changed +14
-8
lines changed Original file line number Diff line number Diff line change
1
+ # 1.13.1
2
+
3
+ ## Fixes
4
+
5
+ - Fix cwd when executing ppx (#805 )
6
+
1
7
# 1.13.0
2
8
3
9
## Features
Original file line number Diff line number Diff line change 5
5
;
6
6
[subrepo]
7
7
remote = https://github.com/rgrinberg/merlin
8
- branch = lsp
9
- commit = d9022fde15484e03b5616ad038f56f31af8084d4
10
- parent = fb8b19c09f05dcc91b624fd0c9b0d13790dfa5b4
8
+ branch = master
9
+ commit = a66e05c3bb7e28e04394572739e881a748482925
10
+ parent = c8be46208ea40578ce6b9029c172615a522de6b3
11
11
method = rebase
12
12
cmdver = 0.4.1
Original file line number Diff line number Diff line change @@ -208,5 +208,3 @@ let node_at ?(skip_recovered=false) t pos_cursor =
208
208
log ~title: " node_at" " Deepest before %s"
209
209
(Mbrowse. print () path);
210
210
path
211
-
212
- let initial_env res = res.initial_env
Original file line number Diff line number Diff line change @@ -40,5 +40,3 @@ val initial_env : result -> Env.t
40
40
*)
41
41
val node_at :
42
42
?skip_recovered : bool -> result -> Lexing .position -> Mbrowse .t
43
-
44
- val initial_env : result -> Env .t
Original file line number Diff line number Diff line change @@ -49,7 +49,11 @@ let merlin_system_command =
49
49
let prog = " /bin/bash" in
50
50
let argv = [" sh" ; " -c" ; cmd] in
51
51
let stdin = Unix. openfile " /dev/null" [ Unix. O_RDONLY ] 0x777 in
52
- let pid = Spawn. spawn ~prog ~argv ~stdin ~stdout: Unix. stderr ~stderr: Unix. stderr () in
52
+ let pid =
53
+ let cwd : Spawn.Working_dir.t = Path cwd in
54
+ let stdout = Unix. stderr in
55
+ Spawn. spawn ~cwd ~prog ~argv ~stdin ~stdout ()
56
+ in
53
57
let (_, status) = Unix. waitpid [] pid in
54
58
let res =
55
59
match (status : Unix.process_status ) with
You can’t perform that action at this time.
0 commit comments