and a UI available per file setting to switch LSP or TM, save that in the project for open files.
^~~~~ error: I got lost starting from here
Anyway, I've recovered from the error and added another option lsp_use_without_project controlling whether to use LSP when there's no project open. Both options are set to false by default, but for Python, which seems to work when not using project, I set these to true.
That wasn't actually what I meant, but its a good idea.
As was said before languages with built-in build systems should not need Geany to tell them where the info is, and clangd does a reasonable job of emulating that by searching for `compile_commands.json`
Now what I was trying to say was, when a per-open-file disable of LSP is added to the UI it can be stored in the project file like the session, but now we don't need a project file I guess it has to be stored in the session or the project as appropriate. (It wasn't complicated, I just wrote it that way :-)