From 6a3828167c5aee01b698b851db8c446bd8267b2b Mon Sep 17 00:00:00 2001 From: Andrew Kwon Date: Sat, 15 Jan 2022 22:47:49 -0800 Subject: [PATCH] Add setup option to configure custom file assets Resolve #11 --- README.md | 1 + lua/presence/file_assets.lua | 13 ++++++++++++- lua/presence/init.lua | 11 +++++++++-- 3 files changed, 22 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4646bbf..9d170c1 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,7 @@ require("presence"):setup({ enable_line_number = false, -- Displays the current line number instead of the current project blacklist = {}, -- A list of strings or Lua patterns that disable Rich Presence if the current file name, path, or workspace matches buttons = true, -- Configure Rich Presence button(s), either a boolean to enable/disable, a static table (`{{ label = "