fix(plugins): fix occasional notify error if it loads before theme
This commit is contained in:
parent
8064cf355a
commit
f1230ee2c7
2 changed files with 6 additions and 6 deletions
|
@ -78,7 +78,6 @@ local default_config = {
|
|||
}
|
||||
|
||||
local config = vim.tbl_deep_extend('force', default_config, user_config)
|
||||
-- default servers that can be formatted
|
||||
local user_servers = vim.tbl_keys(config.lsp.servers)
|
||||
function config.lsp.can_client_format(client_name)
|
||||
if config.lsp.servers[client_name] == true then
|
||||
|
|
|
@ -52,6 +52,7 @@ return packer.startup(function()
|
|||
})
|
||||
vim.notify = require('notify')
|
||||
end,
|
||||
after = 'tokyonight.nvim',
|
||||
disable = vim.tbl_contains(user_plugins.disable, 'notify'),
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue