Skip to content

Commit 62f8ac3

Browse files
Enabled virtual lines
1 parent 632929a commit 62f8ac3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

init.lua

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ vim.opt.scrolloff = 10
7474
-- It was in the nvim-highlight-colors instructions for highlighting css colors
7575
vim.opt.termguicolors = true
7676

77+
-- virtual_text enables inline error messgages
78+
-- idk what virtual_lines does yet
79+
vim.diagnostic.config {
80+
virtual_lines = { current_line = true },
81+
}
82+
7783
-- [[ Basic Keymaps ]]
7884
-- See `:help vim.keymap.set()`
7985

0 commit comments

Comments
 (0)