add discord rich presence
This commit is contained in:
parent
3a078077cb
commit
4daaecf479
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue