Snazzah / SublimeDiscordRP

📄 Discord rich presence for Sublime Text
MIT License
131 stars 35 forks source link

Add Git button to Discord RP #111

Closed DryByte closed 9 months ago

DryByte commented 10 months ago

This adds a button to the rich presence for opening up the current repository URL. It reads the config and get the url from the remote origin, if none is found it will not display the button.

Added two new options to the settings:

// Show button for opening git repository on browser
"git_repository_button": false,

// Default message for git repository button (supports format)
"git_repository_message": "Git Repository",