For Settlement you must have spent a continuous period of 5 years in the UK under Skilled Worker Visa, which can be combined with your stay under any of:
01. Global talent visa;
02. Innovator visa;
03. Tier 2 General visa;
04. Tier 2 Minister of Religion visa;
05. T2 Sportsperson visa;
06. Representative of an Overseas Business visa;
07. Tier 1 Migrant (excluding Tier 1 (Graduate Entrepreneur) visa.
Your stay under any other visa may not be included towards continuous residence requirement.