Skip to content

Commit 9296755

Browse files
authored
Update basics.lua
1 parent 0883a9b commit 9296755

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

lua/tiny/basics.lua

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ local config = {
1616
laststatus = 3,
1717
wrap = false,
1818
undofile = true,
19-
whichwrap = vim.o.whichwrap .. "<>[]hl"
19+
whichwrap = vim.o.whichwrap .. "<>[]hl",
20+
diagnostics_text = true,
2021
}
2122
-- add sum stuff here
2223
}
@@ -40,4 +41,7 @@ function M.setup(opts)
4041
end
4142
end
4243

44+
vim.diagnostic.config({ virtual_text = config.options.diagnostics_text })
45+
46+
4347
return M

0 commit comments

Comments
 (0)