summaryrefslogtreecommitdiff
path: root/plugin/99_rest.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/99_rest.lua')
-rw-r--r--plugin/99_rest.lua22
1 files changed, 22 insertions, 0 deletions
diff --git a/plugin/99_rest.lua b/plugin/99_rest.lua
new file mode 100644
index 0000000..481c0ff
--- /dev/null
+++ b/plugin/99_rest.lua
@@ -0,0 +1,22 @@
+vim.schedule(
+ function()
+ vim.diagnostic.config({
+ float = { header = "" },
+ virtual_text = {
+ current_line = true,
+ prefix = " ■",
+ virt_text_pos = "eol_right_align",
+ },
+ signs = {
+ text = { "●", "●", "●", "●" },
+ numhl = {
+ "DiagnosticError",
+ "DiagnosticWarn",
+ "DiagnosticInfo",
+ "DiagnosticHint",
+ },
+ },
+ severity_sort = true,
+ })
+ end
+)