Skip to content

Commit 1134d3b

Browse files
committed
fix: config virtual_lines
1 parent ba4a409 commit 1134d3b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lua/options.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,12 @@ cmd.colorscheme "rose-pine"
152152
if vim.fn.has "nvim-0.11" > 0 then
153153
vim.diagnostic.config {
154154
-- Use the default configuration
155-
virtual_lines = true,
155+
-- virtual_lines = true,
156156

157157
-- Alternatively, customize specific options
158-
-- virtual_lines = {
159-
-- -- Only show virtual line diagnostics for the current cursor line
160-
-- current_line = true,
161-
-- },
158+
virtual_lines = {
159+
-- Only show virtual line diagnostics for the current cursor line
160+
current_line = true,
161+
},
162162
}
163163
end

0 commit comments

Comments
 (0)