added packer script. made plugin configs not error out when no plugin
This commit is contained in:
11
env/.config/nvim/after/plugin/notify.lua
vendored
11
env/.config/nvim/after/plugin/notify.lua
vendored
@@ -1,4 +1,7 @@
|
||||
vim.notify = require("notify")
|
||||
require("notify").setup({
|
||||
background_colour="#000000"
|
||||
})
|
||||
local ok, notify = pcall(require, 'notify')
|
||||
if ok then
|
||||
vim.notify = notify
|
||||
notify.setup({
|
||||
background_colour="#000000"
|
||||
})
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user