Well, I did a simple test: 1. I have added `printf` call to a kotlin parser, that prints first few bytes of the file. 2. I have recompiled geany. 3. Then I created a simple project containing single kotlin file. 4. Run Geany and opened the simple project. 5. The log shows that the parser really runs twice.
I'll try to figure out why it happens.
I've seen your PR about LSP just today and I have looked at the kotlin server you link. I'm just little worried that it is written by single guy who doesn't even use Kotlin, so he has no real reason to maintain it :slightly_smiling_face: But I might try to look into it, just to test the LSP integration.