As I understand it, you moved to the UK on a Tier 4 visa, then switched to FLR(M) as Unmarried Partners in October 2017.
Now you are planning to get married, but are hoping the act of getting married will not affect your ILR eligibility, correct?
What date are you planning to get married?