-
Hello, I am using rich-presence for the first time for neovim, I am confused when configuring for text. Do I just need to copy-paste the default config and change the content of the text? Currently my configuration is like this cord.lua under plugins folder using distro Lazyvim neovim:
Stupid question, do I do :Cord fetch after installing the plugin and for icons does it automatically use the theme set at the beginning? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
Hey!
You only need to change the values you want. Your configuration will be merged with the default config, meaning any fields you don't specify will use their default values. Your setup might look like this: opts = {
editor = {
tooltip = "Nice Editor",
},
display = {
theme = "pastel",
},
idle = {
timeout = 600000,
details = "Away From You",
},
text = {
editing = function(opts) return "Editing " .. opts.filename end, -- or use a string value like 'Editing a file' if you don't want it to be dynamic
-- etc ...
},
}
Regarding icons, you don't need to take any action for them to work, they automatically adapt to the theme you've set. As for |
Beta Was this translation helpful? Give feedback.
Hey!
You only need to change the values you want. Your configuration will be merged with the default config, meaning any fields you don't specify will use their default values. Your setup might look like this: