Yes, edit 3 fixes the problem
Everything looks fine now.
The snippet should also be included in the lsp-config repo of neovim. Maybe I will create a pr there.
Where would you add the snippet? In the docs of the language server? Does VSCode handle it automatically?