Library to generate LSP protocol code for gen_lsp.
elixir -e 'Mix.install([{:lsp_codegen, github: "mhanberg/lsp_codegen"}]); LSPCodegen.generate(System.argv())' -- --path ./path/for/files
To update the metaModel.json, you can run the following.
$ curl --location 'https://raw.githubusercontent.com/microsoft/language-server-protocol/gh-pages/_specifications/lsp/3.17/metaModel/metaModel.json' | jq . > priv/metaModel.json