this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

[nvim] add nvim-notify

+22
+1
nvim/init.lua
··· 17 17 require "plugins.alpha" 18 18 require "plugins.whichkey" 19 19 require "plugins.illuminate" 20 + require "plugins.notify"
+1
nvim/lua/core/plugins.lua
··· 56 56 use "nvim-lualine/lualine.nvim" 57 57 use "goolord/alpha-nvim" 58 58 use "folke/which-key.nvim" 59 + use "rcarriga/nvim-notify" 59 60 60 61 -- Terminal 61 62 use {
+20
nvim/lua/plugins/notify.lua
··· 1 + local ok, notify = pcall(require, "notify") 2 + if not ok then 3 + return 4 + end 5 + 6 + local renderers = require("notify.render") 7 + 8 + notify.setup { 9 + stages = 'slide', 10 + timeout = 2500, 11 + render = function (bufnr, notif, highl) 12 + if notif.title[1] == "" then 13 + return renderers.minimal(bufnr, notif, highl) 14 + else 15 + return renderers.default(bufnr, notif, highl) 16 + end 17 + end 18 + } 19 + 20 + vim.notify = notify