You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NVIM v0.9.4
Build type: Release
LuaJIT 2.1.1699392533
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/share/nvim"
Run :checkhealth for more info
OS information
Linux arch 6.6.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 08 Nov 2023 16:05:38 +0000 x86_64 GNU/Linux
Steps to reproduce
Use "" or the given function in something that doesn't have a filename (like telescope)
Logs
[presence.nvim] Failed to set activity in Discord: Received error event - child "activity" fails because [
child "details" fails because ["details" is not allowed to be empty]] (code 4000)
The text was updated successfully, but these errors were encountered:
localfunctionworkspace(name)
ifname=="nvim" thenreturn"Wasting time on my config"endifname=="rust" thenreturn"Hacking away at the compiler!"endifname=="" orname==nilthenlocalpwd=vim.fn.getcwd()
localws=pwd:match("^.+/(.+)/?$")
ifws=="" thenreturn"I hope you're having a great day :)" -- Friendly error message: This is not allowed to be empty!!endreturnworkspace(ws)
endreturn"Working on " ..nameend
Description
That doesn't work
Neovim version
OS information
Steps to reproduce
Use "" or the given function in something that doesn't have a filename (like telescope)
Logs
[presence.nvim] Failed to set activity in Discord: Received error event - child "activity" fails because [
child "details" fails because ["details" is not allowed to be empty]] (code 4000)
The text was updated successfully, but these errors were encountered: