1
0
mirror of https://github.com/jiriks74/presence.nvim synced 2024-11-23 20:37:50 +01:00

Update README.md (#17)

add commas to Lua config example
This commit is contained in:
McAuleyPenney 2021-05-24 11:45:09 -07:00 committed by GitHub
parent 9fd2a30127
commit 9c761d486b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -42,10 +42,10 @@ require("presence"):setup({
-- 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
file_explorer_text = "Browsing %s" -- Format string rendered when browsing a file explorer file_explorer_text = "Browsing %s", -- Format string rendered when browsing a file explorer
git_commit_text = "Committing changes" -- Format string rendered when commiting changes in git git_commit_text = "Committing changes", -- Format string rendered when commiting changes in git
plugin_manager_text = "Managing plugins" -- Format string rendered when managing plugins plugin_manager_text = "Managing plugins", -- Format string rendered when managing plugins
reading_text = "Reading %s" -- Format string rendered when a read-only or unmodifiable file is loaded in the buffer reading_text = "Reading %s", -- Format string rendered when a read-only or unmodifiable file is loaded in the buffer
workspace_text = "Working on %s", -- Workspace format string (either string or function(git_project_name: string|nil, buffer: string): string) workspace_text = "Working on %s", -- Workspace format string (either string or function(git_project_name: string|nil, buffer: string): string)
line_number_text = "Line %s out of %s", -- Line number format string (for when enable_line_number is set to true) line_number_text = "Line %s out of %s", -- Line number format string (for when enable_line_number is set to true)
}) })