Explorar o código

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

Abouzar Parvan %!s(int64=3) %!d(string=hai) anos
pai
achega
8c03df505f
Modificáronse 1 ficheiros con 9 adicións e 1 borrados
  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",