瀏覽代碼

lsp_diagnostics is part of the nvim-tree setup now (#1623)

Abouzar Parvan 3 年之前
父節點
當前提交
1d96533f17
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lua/core/nvimtree.lua

+ 1 - 1
lua/core/nvimtree.lua

@@ -13,6 +13,7 @@ function M.config()
       update_focused_file = {
         enable = 1,
       },
+      lsp_diagnostics = 1,
     },
     width = 30,
     show_icons = {
@@ -28,7 +29,6 @@ function M.config()
     git_hl = 1,
     root_folder_modifier = ":t",
     allow_resize = 1,
-    lsp_diagnostics = 1,
     auto_ignore_ft = { "startify", "dashboard" },
     icons = {
       default = "",