Freeze on saving?

The problem’s simple, whenever I save any lua file in the game directory (without necessarily running it), GMod freezes without providing anything.