HX + H_2O rightleftharpoonsH_3O^+ + X^-HX+H2O⇌H3O++X−
Now for the hydrogen halides, the more ELECTRONEGATIVE the halide, the WEAKER the acid, i.e. for HFHF, significant amounts of HFHF remain undissociated, and when a fluoride salt, say NaFNaF, is dissolved in water, the solution is ALKALINE given the following equilibrium.....
F^(-) + H_2O rightleftharpoons HF + HO^-F−+H2O⇌HF+HO−
For HClHCl, HBrHBr, and HIHI, because the conjugate base is larger, and more diffuse, and LESS charge-dense, the equilibrium lies almost entirely to the right.......
HX +H_2OrarrH_3O^+ + X^-HX+H2O→H3O++X−, X=Cl, Br, I, !=FX=Cl,Br,I,≠F
So in this (special!) instance, electronegativity militates against acidity. Of course, here, an entropy effect also is important, in that the F^-F− ion is entropically disfavoured.