-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lazy.nvim
plugin setup?
#116
Comments
Hey Lamby, an easy way to do this is just add Another long way (more sustainable) is create a directory called lua, then under lua, create a directory called plugins, then in your init.lua, you can type in Then in lua/plugins/ create a presence_nvim.lua and add My init.lua regarding lazy.nvim My presence_nvim.lua |
Thanks. I'm using NvChad, so I put the config in {
"andweeb/presence.nvim",
lazy = false,
}, and it seems to be loading (has the Start icon next to it when you pull up |
Well, me and you are facing the same problem with presence.nvim and NvChad. Yesterday this plugin was working normally, but today It stoped for no reason. here is how I added it to my {
"andweeb/presence.nvim",
event = "VeryLazy",
config = function()
require("presence").setup(overrides.presence)
end
}, and here is my M.presence = {
auto_update = true,
neovim_image_text = "How do I exit it?",
main_image = "file",
log_level = "debug",
debounce_timeout = 10,
enable_line_number = false,
buttons = true,
show_time = true,
-- Rich Presence text options
editing_text = "Editing %s",
file_explorer_text = "Browsing %s",
git_commit_text = "Committing changes",
plugin_manager_text = "Managing plugins",
reading_text = "Reading %s",
workspace_text = "Working on %s",
line_number_text = "Line %s out of %s"
} and here is a full stack-trace and my system specs: System Specs:
Stack-Trace:
I think this Any help would be appreciated. |
How did you get that stack trace? |
you'll need to set the |
|
Sometimes it works but sometimes it doesn't, maybe it's a problem with NvChad itself, can you please provide our new configuration? if you made any changes. |
Oh, I forgot to write it here, but I changed nothing in my configs... 😭 The one thing that POSSIBLY may have fixed it was running |
@MiraiMindz I had the same issue, I was using the flathub version until i noticed that flathub requires some magic to do because of the unique sandbox environment, so I just uninstalled the flathub version and instead installed discord from the RPM repo with |
I think it might be this, I've done a full NvChad reinstall and couldn't get it to work, I can't test rn, but probably a reinstall on Discord might work. I'm using the package from the Arch Extra repo: discord |
Ok, I've ditched NvChad and started working on my own NeoVim Config, and the problem seems to persist, here is the Stack-Trace:
The three main errors I see are: |
@MiraiMindz for some reason i had to reinstall NvChad, and I basically just did the same thing @Lamby777 mentioned above, and it just works. Mind checking if the discord package you are using is up to date? |
This is my current version: Stable 218604 (958c14c) Host 0.0.28 Linux 64-Bit (6.4.7-Arch1-1) (It's literraly this package: discord) |
IDK what was it with NvChad (I never used it) but Lazy.nvim works just fine with This looks like Discord didn't create the socket or did so at a wrong location. Updating (or restarting Discord) could be what helped. |
How do u loaded the presence.nvim in mine is Not Loaded |
From the README on my fork you can get a basic config that works: {
"jiriks74/presence.nvim",
event = "UIEnter",
}, But yours should be working too |
how to make it work on NVchad |
Is your feature request related to a problem? Please describe.
Readme only lists Packer and vim-plug
Describe the solution you'd like
Not sure if this is kinda a dumb request or how easy it would be to make this into a lazy.nvim plugin, cuz I'm kinda new to it, but it would be nice if there was a way to install it through that.
The text was updated successfully, but these errors were encountered: