You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
-- set diagnostic signs
|
|
|
|
Error_sign = " "
|
|
|
|
Warn_sign = " "
|
|
|
|
Info_sign = " "
|
|
|
|
Hint_sign = " "
|
|
|
|
Hack_sign = " "
|
|
|
|
Todo_sign = " "
|
|
|
|
Perfect_sign = " "
|
|
|
|
Test_sign = " "
|
|
|
|
|
|
|
|
vim.fn.sign_define(
|
|
|
|
"DiagnosticSignError",
|
|
|
|
{ texthl = "DiagnosticSignError", text = Error_sign, numhl = "DiagnosticSignError" }
|
|
|
|
)
|
|
|
|
vim.fn.sign_define(
|
|
|
|
"DiagnosticSignWarn",
|
|
|
|
{ texthl = "DiagnosticSignWarn", text = Warn_sign, numhl = "DiagnosticSignWarn" }
|
|
|
|
)
|
|
|
|
vim.fn.sign_define(
|
|
|
|
"DiagnosticSignInfo",
|
|
|
|
{ texthl = "DiagnosticSignInfo", text = Info_sign, numhl = "DiagnosticSignInfo" }
|
|
|
|
)
|
|
|
|
vim.fn.sign_define(
|
|
|
|
"DiagnosticSignHint",
|
|
|
|
{ texthl = "DiagnosticSignHint", text = Hint_sign, numhl = "DiagnosticSignHint" }
|
|
|
|
)
|