Browse Source

disabling lsp in diff mode disabled it everywhere :shrug:

Sven Eppler 1 month ago
parent
commit
5eadbb117c
1 changed files with 1 additions and 8 deletions
  1. 1 8
      lua/plugins/mason.lua

+ 1 - 8
lua/plugins/mason.lua

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