From 1619080a5ab605280e1f362e96397cba5b7cfe7e Mon Sep 17 00:00:00 2001 From: Cherry <sheepareawesome777@gmail.com> Date: Tue, 25 Jul 2023 16:10:25 -0400 Subject: [PATCH] readme update (for split blacklist config options) --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index c0e409e..3e8a17f 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,7 @@ require("presence").setup({ debounce_timeout = 10, -- Number of seconds to debounce events (or calls to `:lua package.loaded.presence:update(<filename>, true)`) 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 + blacklist_repos = {}, -- A blacklist that applies to git remote repo URLs instead of folder/file names buttons = true, -- Configure Rich Presence button(s), either a boolean to enable/disable, a static table (`{{ label = "<label>", url = "<url>" }, ...}`, or a function(buffer: string, repo_url: string|nil): table) file_assets = {}, -- Custom file asset definitions keyed by file names and extensions (see default config at `lua/presence/file_assets.lua` for reference) show_time = true, -- Show the timer @@ -69,6 +70,7 @@ let g:presence_log_level let g:presence_debounce_timeout = 10 let g:presence_enable_line_number = 0 let g:presence_blacklist = [] +let g:presence_blacklist_repos = [] let g:presence_buttons = 1 let g:presence_file_assets = {} let g:presence_show_time = 1