Closed Hacksore closed 1 year ago
Similar to issue https://github.com/andweeb/presence.nvim/issues/59 I have the same problem on macOS.
Video of issue:
https://github.com/andweeb/presence.nvim/assets/996134/1ea45dc0-e7fd-4641-9876-3e2033aa0653
NVIM v0.9.1 Build type: Release LuaJIT 2.1.0-beta3
macOS 13.4 (22F66)
nvim
instance 1:
[presence.nvim] Setting up plugin for macos [presence.nvim] Using Discord IPC socket path: /var/folders/1v/n6w12pg1455gyd172wxd9b2r0000gn/T/discord-ipc-0 [presence.nvim] Checking Discord IPC socket at /var/folders/1v/n6w12pg1455gyd172wxd9b2r0000gn/T/discord-ipc-0... [presence.nvim] Using id 9969854a-9b75-474c-a799-b47a58744ac7 [presence.nvim] Completed plugin setup [presence.nvim] Getting nvim socket paths... [presence.nvim] Executing command: `netstat -u|grep --color=never "nvim.*/0"` [presence.nvim] Checked Discord IPC socket, looks good! [presence.nvim] Checked Discord IPC socket, looks good! [presence.nvim] Got nvim socket paths: {} [presence.nvim] No other remote nvim instances [presence.nvim] Got nvim socket paths: {} [presence.nvim] No other remote nvim instances [presence.nvim] Handling BufEnter event... [presence.nvim] Connecting to Discord... [presence.nvim] Connected to Discord [presence.nvim] Authorizing with Discord... [presence.nvim] Wrote message to pipe [presence.nvim] Handling TextChanged event... [presence.nvim] Currently authorizing with Discord, scheduling callback for later... [presence.nvim] Parsed filename neo-tree filesystem [1000] with no extension [presence.nvim] Getting project name for /Users/hacksore/dotfiles... [presence.nvim] Setting activity for /Users/hacksore/dotfiles/neo-tree filesystem [1000]... [presence.nvim] Repository URL uses short ssh syntax: git@github.com:Hacksore/dotfiles.git [presence.nvim] Adding button with repository URL: https://github.com/Hacksore/dotfiles.git [presence.nvim] Attaching buttons to activity: { { label = "View Repository", url = "https://github.com/Hacksore/dotfiles.git" } } [presence.nvim] Detected project: dotfiles [presence.nvim] Sync activity to all peers... [presence.nvim] Setting Discord activity... [presence.nvim] Wrote message to pipe [presence.nvim] Handling TextChanged event... [presence.nvim] Currently authorizing with Discord, scheduling callback for later... [presence.nvim] Last activity sent was within 10 seconds ago, skipping... [presence.nvim] Set activity in Discord for neo-tree filesystem [1000]
instance 2:
[presence.nvim] Setting up plugin for macos [presence.nvim] Using Discord IPC socket path: /var/folders/1v/n6w12pg1455gyd172wxd9b2r0000gn/T/discord-ipc-0 [presence.nvim] Checking Discord IPC socket at /var/folders/1v/n6w12pg1455gyd172wxd9b2r0000gn/T/discord-ipc-0... [presence.nvim] Using id bbbb88f8-3b68-49f8-a838-b76a8c99ff86 [presence.nvim] Completed plugin setup [presence.nvim] Getting nvim socket paths... [presence.nvim] Executing command: `netstat -u|grep --color=never "nvim.*/0"` [presence.nvim] Checked Discord IPC socket, looks good! [presence.nvim] Checked Discord IPC socket, looks good! [presence.nvim] Got nvim socket paths: {} [presence.nvim] No other remote nvim instances [presence.nvim] Got nvim socket paths: {} [presence.nvim] No other remote nvim instances [presence.nvim] Handling BufEnter event... [presence.nvim] Connecting to Discord... [presence.nvim] Connected to Discord [presence.nvim] Authorizing with Discord... [presence.nvim] Wrote message to pipe [presence.nvim] Handling TextChanged event... [presence.nvim] Currently authorizing with Discord, scheduling callback for later... [presence.nvim] Parsed filename neo-tree filesystem [1000] with no extension [presence.nvim] Getting project name for /Users/hacksore/code/opensource/react-skinview3d... [presence.nvim] Setting activity for /Users/hacksore/code/opensource/react-skinview3d/neo-tree filesystem [1000]... [presence.nvim] Repository URL uses short ssh syntax: git@github.com:Hacksore/react-skinview3d.git [presence.nvim] Adding button with repository URL: https://github.com/Hacksore/react-skinview3d.git [presence.nvim] Attaching buttons to activity: { { label = "View Repository", url = "https://github.com/Hacksore/react-skinview3d.git" } } [presence.nvim] Detected project: react-skinview3d [presence.nvim] Sync activity to all peers... [presence.nvim] Setting Discord activity... [presence.nvim] Wrote message to pipe [presence.nvim] Handling TextChanged event... [presence.nvim] Currently authorizing with Discord, scheduling callback for later... [presence.nvim] Last activity sent was within 10 seconds ago, skipping... [presence.nvim] Set activity in Discord for neo-tree filesystem [1000] [presence.nvim] Handling BufAdd event... [presence.nvim] Handling BufEnter event... [presence.nvim] Currently authorizing with Discord, scheduling callback for later... [presence.nvim] Currently authorizing with Discord, scheduling callback for later... [presence.nvim] Parsed filename .gitignore with no extension [presence.nvim] Getting project name for /Users/hacksore/code/opensource/react-skinview3d... [presence.nvim] Setting activity for /Users/hacksore/code/opensource/react-skinview3d/.gitignore... [presence.nvim] Using file asset: { "git", "git" } [presence.nvim] Repository URL uses short ssh syntax: git@github.com:Hacksore/react-skinview3d.git [presence.nvim] Adding button with repository URL: https://github.com/Hacksore/react-skinview3d.git [presence.nvim] Attaching buttons to activity: { { label = "View Repository", url = "https://github.com/Hacksore/react-skinview3d.git" } } [presence.nvim] Detected project: react-skinview3d [presence.nvim] Sync activity to all peers... [presence.nvim] Setting Discord activity... [presence.nvim] Activity already set for /Users/hacksore/code/opensource/react-skinview3d/.gitignore, skipping... [presence.nvim] Wrote message to pipe [presence.nvim] Set activity in Discord for .gitignore
Will close this for now but if there is a fix hopefully someone who knows how to fix this can raise a PR.
Description
Similar to issue https://github.com/andweeb/presence.nvim/issues/59 I have the same problem on macOS.
Video of issue:
https://github.com/andweeb/presence.nvim/assets/996134/1ea45dc0-e7fd-4641-9876-3e2033aa0653
Neovim version
OS information
macOS 13.4 (22F66)
Steps to reproduce
nvim
nvim
Logs
instance 1:
instance 2: