Prechádzať zdrojové kódy

disabling lsp in diff mode disabled it everywhere :shrug:

Sven Eppler 1 mesiac pred
rodič
commit
5eadbb117c
1 zmenil súbory, kde vykonal 1 pridanie a 8 odobranie
  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
-
+    }
 }