You can apply for settlement if you have lived in the UK for 5 years on a partner visa. However time spent on the fiancé/proposed civil partner route does not count towards this five years.
If you are not eligible to apply for ILR after 5 years, in some circumstances you can apply to settle in the UK after 10 years.
For more information on settlement/ILR please see our information on this here.