add discord rich presence

This commit is contained in:
sam 2024-10-22 20:54:04 +13:00
parent 3a078077cb
commit 4daaecf479

View file

@ -17,6 +17,9 @@ local plugins = {
{
source = "hrsh7th/nvim-cmp",
depends = { "hrsh7th/cmp-nvim-lsp" }
},
{
source = "andweeb/presence.nvim"
}
}
@ -70,6 +73,11 @@ for server in pairs(servers) do
lspconfig[server].setup(config)
end
-- Setup Discord rich presence
require("presence").setup({
neovim_image_text = "Neovim",
})
-- Binds to jump between snippets
vim.keymap.set({ "i", "s" }, "<Tab>", function()
if vim.snippet.active({ direction = 1 }) then