Skip to content
This repository was archived by the owner on Jul 6, 2021. It is now read-only.

Commit 37e0c40

Browse files
committed
fix: revert changes
1 parent 8226360 commit 37e0c40

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

lua/diagnostic.lua

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,7 @@ function M.publish_diagnostics(bufnr)
8484
if vim.api.nvim_get_var('diagnostic_enable_virtual_text') == 1 then
8585
util.buf_diagnostics_virtual_text(bufnr, result.diagnostics)
8686
end
87-
if vim.fn.filereadable(vim.fn.expand("%")) == 0 then
88-
M.diagnostics_loclist(result)
89-
end
87+
M.diagnostics_loclist(result)
9088

9189
vim.schedule_wrap(function()
9290
vim.api.nvim_command("doautocmd User LspDiagnosticsChanged")

0 commit comments

Comments
 (0)