Skip to content
This repository was archived by the owner on Nov 30, 2025. It is now read-only.

Commit c48c005

Browse files
committed
chore: code formatting
1 parent 49ec40f commit c48c005

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lua/java-core/ls/servers/jdtls/init.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ function M.get_config(opts)
6969
local jdk = mason_reg.get_package('openjdk-17')
7070

7171
if jdk:is_installed() then
72-
local java_home =
73-
vim.fn.glob('$MASON/packages/jdk-17*')
72+
local java_home = vim.fn.glob('$MASON/packages/jdk-17*')
7473
local java_bin = path.join(java_home, '/bin')
7574

7675
base_config.cmd_env = {

lua/java-core/utils/mason.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function M.get_pkg_path(pkg_name)
1010
if not found or not pkg:is_installed() then
1111
return nil
1212
end
13-
return vim.fn.expand("$MASON/packages/" .. pkg_name)
13+
return vim.fn.expand('$MASON/packages/' .. pkg_name)
1414
end
1515

1616
---Returns true if the package is installed in mason

0 commit comments

Comments
 (0)