Skip to content

Commit

Permalink
Merge branch 'mfussenegger:master' into junit-diag-feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
vishal423 authored Jul 26, 2024
2 parents ccf4e3e + 6bfd159 commit 7e81f4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/jdtls/setup.lua
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ function M.start_or_attach(config, opts, start_opts)

local uri = vim.uri_from_bufnr(bufnr)
-- jdtls requires files to exist on the filesystem; it doesn't play well with scratch buffers
if not vim.startswith(uri, "file://") or vim.bo[bufnr].buftype ~= "" then
if not vim.startswith(uri, "file://") then
return
end

Expand Down

0 comments on commit 7e81f4c

Please sign in to comment.