andweeb / presence.nvim

Discord Rich Presence for Neovim
818 stars 65 forks source link

RPC not working + Message in Neovim: [presence.nvim] Pipe was closed #62

Closed sandbands closed 2 years ago

sandbands commented 2 years ago

Description

The RPC doesnt work and at the bottom of Neovim i see "[presence.nvim] Pipe was closed"

I copy pasted the config for init.vim and edited the client ID to mine, as well as set the logging to debug as instructed. My discord is open and my game overlay is on.

Neovim version

NVIM v0.6.1
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3

OS information

windows 10, build is 19044.1526

Steps to reproduce

  1. open discord
  2. open a file with nvim

Logs

[presence.nvim] Pipe was closed

sandbands commented 2 years ago

i thought the client ID was supposed to be my user ID but after accidentally clicking something which made the red error message (seperate from the pipe was closed message; it always appeared for half a second so i could never get a good look until now) appear instead of disappearing. it said invalid client ID so i came back here and copied the default one and it worked.