mirror of
https://github.com/ray-x/navigator.lua
synced 2024-11-03 15:40:20 +00:00
skip the reorder for codeaction. Null-ls is default to be in bottom of the list
This commit is contained in:
parent
3d217bffce
commit
d08d78f6a4
@ -139,9 +139,9 @@ local code_action_req = function(_call_back_fn, diagnostics)
|
||||
end
|
||||
|
||||
local function sort_select(action_tuples, opts, on_user_choice)
|
||||
table.sort(action_tuples, function(a, b)
|
||||
return a[1] > b[1]
|
||||
end)
|
||||
-- table.sort(action_tuples, function(a, b)
|
||||
-- return a[1] > b[1]
|
||||
-- end)
|
||||
require('guihua.gui').select(action_tuples, opts, on_user_choice)
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user