Explorar el Código

disabling lsp in diff mode disabled it everywhere :shrug:

Sven Eppler hace 1 mes
padre
commit
5eadbb117c
Se han modificado 1 ficheros con 1 adiciones y 8 borrados
  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
-
+    }
 }