mirror of
https://github.com/jiriks74/presence.nvim
synced 2024-11-23 20:37:50 +01:00
Update README with blacklist config usage
This commit is contained in:
parent
45ede471bf
commit
77227a06ec
@ -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")
|
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(<filename>, true)`)
|
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
|
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
|
-- Rich Presence text options
|
||||||
editing_text = "Editing %s", -- Format string rendered when an editable file is loaded in the buffer
|
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_log_level
|
||||||
let g:presence_debounce_timeout = 10
|
let g:presence_debounce_timeout = 10
|
||||||
let g:presence_enable_line_number = 0
|
let g:presence_enable_line_number = 0
|
||||||
|
let g:presence_blacklist = []
|
||||||
|
|
||||||
" Rich Presence text options
|
" Rich Presence text options
|
||||||
let g:presence_editing_text = "Editing %s"
|
let g:presence_editing_text = "Editing %s"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user