Преглед изворни кода

fix: nvim-tree ls_disagnostics has been replaced with diagnostic (#1731)

Abouzar Parvan пре 3 година
родитељ
комит
8c03df505f
1 измењених фајлова са 9 додато и 1 уклоњено
  1. 9 1
      lua/core/nvimtree.lua

+ 9 - 1
lua/core/nvimtree.lua

@@ -12,7 +12,15 @@ function M.config()
       update_focused_file = {
         enable = true,
       },
-      lsp_diagnostics = true,
+      diagnostics = {
+        enable = true,
+        icons = {
+          hint = "",
+          info = "",
+          warning = "",
+          error = "",
+        },
+      },
       view = {
         width = 30,
         side = "left",