Forráskód Böngészése

disabling lsp in diff mode disabled it everywhere :shrug:

Sven Eppler 1 hónapja
szülő
commit
5eadbb117c
1 módosított fájl, 1 hozzáadás és 8 törlés
  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
-
+    }
 }