Skip to content

Commit e6ff5c0

Browse files
committed
Merge remote-tracking branch 'vlaci/subdir-env'
2 parents 00a572f + 3d8dd1b commit e6ff5c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lsp-julia.el

+2-2
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,8 @@ body."
251251
"Get the (Julia) project root directory of the current file."
252252
(concat "\""
253253
(expand-file-name
254-
(or (locate-dominating-file default-directory "Project.toml")
255-
(locate-dominating-file default-directory "JuliaProject.toml")
254+
(or (locate-dominating-file buffer-file-name "Project.toml")
255+
(locate-dominating-file buffer-file-name "JuliaProject.toml")
256256
lsp-julia-default-environment))
257257
"\""))
258258

0 commit comments

Comments
 (0)