mirror of
https://github.com/jiriks74/presence.nvim
synced 2025-06-24 05:08:58 +02:00
Add ability to disable the timer (#75)
This commit is contained in:
parent
a3f7c42a4a
commit
03e09d3f9b
2 changed files with 7 additions and 4 deletions
|
@ -44,6 +44,7 @@ require("presence"):setup({
|
|||
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 = "<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
|
||||
|
||||
-- Rich Presence text options
|
||||
editing_text = "Editing %s", -- Format string rendered when an editable file is loaded in the buffer (either string or function(filename: string): string)
|
||||
|
@ -70,6 +71,7 @@ let g:presence_enable_line_number = 0
|
|||
let g:presence_blacklist = []
|
||||
let g:presence_buttons = 1
|
||||
let g:presence_file_assets = {}
|
||||
let g:presence_show_time = 1
|
||||
|
||||
" Rich Presence text options
|
||||
let g:presence_editing_text = "Editing %s"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue