From 94d4175155fda3e4388ef24a4b1946f41b8e90c7 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Sat, 18 Feb 2023 15:46:25 +0300 Subject: [PATCH] fix: wrap discord.nvim options in quotation marks --- modules/presence/presence-nvim.nix | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/modules/presence/presence-nvim.nix b/modules/presence/presence-nvim.nix index c1d1275..7d27733 100644 --- a/modules/presence/presence-nvim.nix +++ b/modules/presence/presence-nvim.nix @@ -105,25 +105,25 @@ in { require("presence").setup({ -- General options auto_update = true, - neovim_image_text = ${cfg.image_text}, - main_image = ${cfg.main_image}, - client_id = ${cfg.client_id}, + neovim_image_text = "${cfg.image_text}", + main_image = "${cfg.main_image}", + client_id = "${cfg.client_id}", log_level = nil, debounce_timeout = 10, - enable_line_number = ${boolToString cfg.enable_line_number}, + enable_line_number = "${boolToString cfg.enable_line_number}", blacklist = {}, - buttons = ${boolToString cfg.buttons}, + buttons = "${boolToString cfg.buttons}", file_assets = {}, - show_time = ${boolToString cfg.show_time}, + show_time = "${boolToString cfg.show_time}", -- Rich Presence text options - editing_text = ${cfg.rich_presence.editing_text}, - file_explorer_text = ${cfg.rich_presence.file_explorer_text}, - git_commit_text = ${cfg.rich_presence.git_commit_text}, - plugin_manager_text = ${cfg.rich_presence.plugin_manager_text}, - reading_text = ${cfg.rich_presence.reading_text}, - workspace_text = ${cfg.rich_presence.workspace_text}, - line_number_text = ${cfg.rich_presence.line_number_text}, + editing_text = "${cfg.rich_presence.editing_text}", + file_explorer_text = "${cfg.rich_presence.file_explorer_text}", + git_commit_text = "${cfg.rich_presence.git_commit_text}", + plugin_manager_text = "${cfg.rich_presence.plugin_manager_text}", + reading_text = "${cfg.rich_presence.reading_text}", + workspace_text = "${cfg.rich_presence.workspace_text}", + line_number_text = "${cfg.rich_presence.line_number_text}", }) ''; };