From 77227a06ecf84037277318758a8026524aa736ab Mon Sep 17 00:00:00 2001 From: Andrew Kwon Date: Sat, 7 Aug 2021 23:28:03 -0700 Subject: [PATCH] Update README with blacklist config usage --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index f6474be..2e42c47 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,7 @@ require("presence"):setup({ log_level = nil, -- Log messages at or above this level (one of the following: "debug", "info", "warn", "error") debounce_timeout = 10, -- Number of seconds to debounce events (or calls to `:lua package.loaded.presence:update(, 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 match -- Rich Presence text options editing_text = "Editing %s", -- Format string rendered when an editable file is loaded in the buffer @@ -63,6 +64,7 @@ let g:presence_client_id = "793271441293967371" let g:presence_log_level let g:presence_debounce_timeout = 10 let g:presence_enable_line_number = 0 +let g:presence_blacklist = [] " Rich Presence text options let g:presence_editing_text = "Editing %s"