diff --git a/lua/presence/init.lua b/lua/presence/init.lua index 57ad721..e9ec6c7 100644 --- a/lua/presence/init.lua +++ b/lua/presence/init.lua @@ -823,7 +823,8 @@ function Presence:update_for_buffer(buffer, should_debounce) local use_file_as_main_image = self.options.main_image == "file" local use_neovim_as_main_image = self.options.main_image == "neovim" local assets = { - large_image = use_file_as_main_image and asset_key or use_neovim_as_main_image and "neovim" or self.options.main_image, + large_image = use_file_as_main_image and asset_key or use_neovim_as_main_image + and "neovim" or self.options.main_image, large_text = use_file_as_main_image and file_text or neovim_image_text, small_image = use_file_as_main_image and "neovim" or asset_key, small_text = use_file_as_main_image and neovim_image_text or file_text,