summaryrefslogtreecommitdiff
path: root/plugin/99_rest.lua
diff options
context:
space:
mode:
authorMohammad Reza Karimi <m.r.karimi.j@gmail.com>2026-01-20 15:55:27 -0500
committerMohammad Reza Karimi <m.r.karimi.j@gmail.com>2026-01-20 15:55:27 -0500
commitaa5717f00fd14430c80939a68d7107c26de6e554 (patch)
tree784e99d9b018e0554369c41cb33e2e195e28d3c6 /plugin/99_rest.lua
first commit
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
+)