Skip to content

Commit 2bc14e1

Browse files
committed
chore: 使用 expand 转化路径
1 parent 934146c commit 2bc14e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/spring_boot/util.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ M.is_mac = M.os_type() == M.Mac
2222
M.java_bin = function()
2323
local java_home = vim.env["JAVA_HOME"]
2424
if java_home then
25-
return java_home .. "/bin/java"
25+
return vim.fn.expand(java_home .. "/bin/java")
2626
end
2727
return "java"
2828
end

0 commit comments

Comments
 (0)