This repository was archived by the owner on Apr 16, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -166,15 +166,11 @@ end
166
166
167
167
-- Show line diagnostics on hover
168
168
if not config .doom .enable_lsp_virtual_text then
169
- local show_diagnostics_function = " vim.diagnostic.open_float(nil, { focus = false })"
170
- if utils .nvim_is_05 then
171
- show_diagnostics_function =
172
- ' vim.lsp.diagnostic.show_line_diagnostics({ focusable = false, border = "single" })'
173
- end
169
+ local show_diagnostics_function = " "
174
170
table.insert (autocmds [" doom_extras" ], {
175
171
" CursorHold,CursorHoldI" ,
176
172
" <buffer>" ,
177
- string.format ( " lua %s " , show_diagnostics_function ) ,
173
+ " lua vim.diagnostic.open_float(nil, { focus = false }) " ,
178
174
})
179
175
end
180
176
Original file line number Diff line number Diff line change @@ -11,11 +11,7 @@ local system = require("doom.core.system")
11
11
12
12
---- ---------------- HELPERS --------------------
13
13
--- Doom Nvim version
14
- utils .doom_version = " 3.3.0-alpha1"
15
-
16
- -- Check if Neovim version is 0.5, will be used to provide
17
- -- backward compatibility for a while before nuking support for 0.5
18
- utils .nvim_is_05 = vim .version ().minor == 5
14
+ utils .doom_version = " 3.3.0"
19
15
20
16
--- For autocommands, extracted from
21
17
--- https://github.com/norcalli/nvim_utils
You can’t perform that action at this time.
0 commit comments