1
0
Fork 0
mirror of https://github.com/jiriks74/presence.nvim synced 2025-07-19 23:48:48 +02:00

Support configs that call setup using dot syntax

Resolves (#90)
This commit is contained in:
Andrew Kwon 2023-01-29 01:21:17 -08:00
parent c1c5475882
commit 87c857a56b
2 changed files with 12 additions and 2 deletions

View file

@ -32,7 +32,7 @@ Require the plugin and call `setup` with a config table with one or more of the
```lua
-- The setup config table shows all available config options with their default values:
require("presence"):setup({
require("presence").setup({
-- General options
auto_update = true, -- Update activity based on autocmd events (if `false`, map or manually execute `:lua package.loaded.presence:update()`)
neovim_image_text = "The One True Text Editor", -- Text displayed when hovered over the Neovim image