skip the reorder for codeaction. Null-ls is default to be in bottom of the list

serverCapcities
ray-x 2 years ago
parent 3d217bffce
commit d08d78f6a4

@ -139,9 +139,9 @@ local code_action_req = function(_call_back_fn, diagnostics)
end end
local function sort_select(action_tuples, opts, on_user_choice) local function sort_select(action_tuples, opts, on_user_choice)
table.sort(action_tuples, function(a, b) -- table.sort(action_tuples, function(a, b)
return a[1] > b[1] -- return a[1] > b[1]
end) -- end)
require('guihua.gui').select(action_tuples, opts, on_user_choice) require('guihua.gui').select(action_tuples, opts, on_user_choice)
end end

Loading…
Cancel
Save