mirror of
https://github.com/sadan4/nvim.git
synced 2024-11-16 22:34:39 -05:00
fix
This commit is contained in:
parent
4af9d8ed01
commit
a7261d6293
1 changed files with 5 additions and 5 deletions
|
@ -47,11 +47,11 @@ local function setupJDTLS()
|
|||
-- }
|
||||
-- -- vim.list_extend(bundles, vim.split(vim.fn.glob(vim.fn.stdpath 'config' .. '/resources/vscode-java-test-main/server/*.jar', true), '\n'))
|
||||
local function makeandgetpath()
|
||||
local root = require("jdtls.setup").find_root({ ".git", "mvnw", "gradlew" })
|
||||
local root = require('jdtls.setup').find_root({'.git', 'mvnw', 'gradlew'});
|
||||
if root == nil then
|
||||
return nil
|
||||
return ""
|
||||
end
|
||||
local path = root .. "./data"
|
||||
local path = root .. "/data"
|
||||
os.execute("mkdir -p " .. path)
|
||||
return path
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue