mirror of
https://github.com/neovim/neovim.git
synced 2025-10-10 03:46:31 +00:00
refactor(lua): consistent use of local aliases
This commit is contained in:

committed by
Christian Clason

parent
a33284c2c0
commit
c10e36fc01
@@ -526,11 +526,11 @@ local function merge_dispatchers(dispatchers)
|
||||
---@type vim.lsp.rpc.Dispatchers
|
||||
local merged = {
|
||||
notification = (
|
||||
dispatchers.notification and vim.schedule_wrap(dispatchers.notification)
|
||||
dispatchers.notification and schedule_wrap(dispatchers.notification)
|
||||
or default_dispatchers.notification
|
||||
),
|
||||
on_error = (
|
||||
dispatchers.on_error and vim.schedule_wrap(dispatchers.on_error)
|
||||
dispatchers.on_error and schedule_wrap(dispatchers.on_error)
|
||||
or default_dispatchers.on_error
|
||||
),
|
||||
on_exit = dispatchers.on_exit or default_dispatchers.on_exit,
|
||||
|
Reference in New Issue
Block a user