1-- this file is an amalgamation of configurations that don't have its own
2-- config file and will be lazily loaded
3require("gitblame").setup()
4require("treesitter-context").setup()
5
6vim.diagnostic.config({
7 signs = {
8 text = {
9 [vim.diagnostic.severity.ERROR] = "",
10 [vim.diagnostic.severity.WARN] = "",
11 [vim.diagnostic.severity.INFO] = "",
12 [vim.diagnostic.severity.HINT] = "",
13 },
14 },
15 virtual_text = false,
16 virtual_lines = {
17 format = function(d)
18 return d.message
19 end,
20 current_line = true,
21 },
22 severity_sort = true,
23})