Browse Source

disabling lsp in diff mode disabled it everywhere :shrug:

Sven Eppler 1 tháng trước cách đây
mục cha
commit
5eadbb117c
1 tập tin đã thay đổi với 1 bổ sung8 xóa
  1. 1 8
      lua/plugins/mason.lua

+ 1 - 8
lua/plugins/mason.lua

@@ -8,12 +8,5 @@ return {
                 package_uninstalled = "✗"
             }
         }
-    },
-    config = function() 
-		-- Disable LSPs in diff mode
-		if(vim.opt.diff:get()) then
-			return
-		end
-	end
-
+    }
 }