14 lines
		
	
	
		
			354 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			354 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
vim.diagnostic.config({
 | 
						|
	virtual_text = false,
 | 
						|
	signs = true,
 | 
						|
	underline = true,
 | 
						|
	update_in_insert = true,
 | 
						|
	severity_sort = false,
 | 
						|
})
 | 
						|
 | 
						|
local signs = { Error = " ", Warn = " ", Hint = " ", Info = " " }
 | 
						|
for type, icon in pairs(signs) do
 | 
						|
	local hl = "DiagnosticSign" .. type
 | 
						|
	vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = hl })
 | 
						|
end
 |