Diagnostics
This commit is contained in:
parent
955b5545b6
commit
4ccf42dc68
2 changed files with 24 additions and 3 deletions
|
|
@ -1,5 +1,22 @@
|
||||||
vim.diagnostic.enable(true)
|
vim.diagnostic.enable()
|
||||||
|
|
||||||
vim.diagnostic.config({
|
vim.diagnostic.config({
|
||||||
virtual_text = false,
|
virtual_text = {
|
||||||
severity_sort = true,
|
severity = { min = vim.diagnostic.severity.WARN }, -- Only show warnings and errors
|
||||||
|
prefix = '●', -- Character shown before the message
|
||||||
|
},
|
||||||
|
signs = {
|
||||||
|
severity = { min = vim.diagnostic.severity.HINT }, -- Show all severities
|
||||||
|
},
|
||||||
|
underline = {
|
||||||
|
severity = { min = vim.diagnostic.severity.WARN },
|
||||||
|
},
|
||||||
|
update_in_insert = false,
|
||||||
|
severity_sort = true,
|
||||||
|
float = {
|
||||||
|
focusable = false,
|
||||||
|
style = 'minimal',
|
||||||
|
border = 'rounded',
|
||||||
|
source = 'always',
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
|
||||||
4
lua/profile.lua
Normal file
4
lua/profile.lua
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
local config_path = vim.fn.stdpath('config')
|
||||||
|
|
||||||
|
local profiles_folder = 'profiles'
|
||||||
|
local current_profile_file = 'current_profile'
|
||||||
Loading…
Add table
Add a link
Reference in a new issue