Fortls not initialising

The screenshot you posted does not give information about your vscode setup. You need to post a MWE, your fortran vscode settings, version of vscode, version of Modern Fortran and fortls.

I also suggest reading the documentation of Modern Fortran for VS Code (available here or in the VSCode Marketplace like the rest of the extensions) and doing a search here on Discourse or in your search engine. There are multiple discussions and answers on this, here are just a few: