Allow range parameters on command parser (#1123)
This commit is contained in:
@@ -256,7 +256,7 @@ lsp.code_actions = function(opts)
|
||||
end
|
||||
|
||||
lsp.range_code_actions = function(opts)
|
||||
opts.params = vim.lsp.util.make_given_range_params()
|
||||
opts.params = vim.lsp.util.make_given_range_params({ opts.start_line, 1 }, { opts.end_line, 1 })
|
||||
lsp.code_actions(opts)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user