type 1 diabetes - beta cells (which create insuling) in the pancreas get destroyed by autoimmune disease)
type 2 diabetes - cells that hold glucose are resistant to insulin produced by the body.
As in, Sugar almost certainly doesn't cause type 2 diabetes but causes the symptoms to surface because of the inability to remove the excess glucose from the cells.
What this means is that you can't authoritatively state that sugar is the cause of diabetes. It does not mean that sugar has been proven to not be the cause.