aboutsummaryrefslogtreecommitdiff
path: root/lua/gabrielgio/lazy.lua
blob: 77762b1177618d893b44315af4a8778372e902b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
-- this file is an amalgamation of configurations that don't have its own
-- config file and will be lazily loaded
require("gitblame").setup()
require("treesitter-context").setup()

vim.diagnostic.config({
	signs = {
		text = {
			[vim.diagnostic.severity.ERROR] = "",
			[vim.diagnostic.severity.WARN] = "",
			[vim.diagnostic.severity.INFO] = "",
			[vim.diagnostic.severity.HINT] = "",
		},
	},
	virtual_text = false,
	virtual_lines = {
		format = function(d)
			return d.message
		end,
		current_line = true,
	},
	severity_sort = true,
})