A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/neovim/neovim/commit/6a92a53c02c429630c4b961e51dc97f3354ea196 below:

call config on_exit handler before context is cleared (#16638) · neovim/neovim@6a92a53 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+4

-4

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+4

-4

lines changed Original file line number Diff line number Diff line change

@@ -777,6 +777,10 @@ function lsp.start_client(config)

777 777

---@param code (number) exit code of the process

778 778

---@param signal (number) the signal used to terminate (if any)

779 779

function dispatch.on_exit(code, signal)

780 +

if config.on_exit then

781 +

pcall(config.on_exit, code, signal, client_id)

782 +

end

783 + 780 784

active_clients[client_id] = nil

781 785

uninitialized_clients[client_id] = nil

782 786

@@ -792,10 +796,6 @@ function lsp.start_client(config)

792 796

vim.notify(msg, vim.log.levels.WARN)

793 797

end)

794 798

end

795 - 796 -

if config.on_exit then

797 -

pcall(config.on_exit, code, signal, client_id)

798 -

end

799 799

end

800 800 801 801

-- Start the RPC client.

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4