This codes creates a TCP server in the native-messaging host and sends the received message to the extension.
Remember to:
- Update
"allowed_origins"and"path"in./host/com.elisoli.nekovim.discord.json. - Run
./host/installto register the host. - Run
npm iinside./extension/