Remove stray print in :Rg command
This commit is contained in:
parent
0f4e759266
commit
c3fe8e033a
@ -119,7 +119,6 @@ end, {
|
|||||||
-- :Rg grep for the given string, word under the cursor, or visual selection
|
-- :Rg grep for the given string, word under the cursor, or visual selection
|
||||||
-- then fuzzy find the results. Bang to enable regex in given string.
|
-- then fuzzy find the results. Bang to enable regex in given string.
|
||||||
vim.api.nvim_create_user_command('Rg', function(opts)
|
vim.api.nvim_create_user_command('Rg', function(opts)
|
||||||
print(vim.inspect(opts))
|
|
||||||
local search = opts.args
|
local search = opts.args
|
||||||
if opts.range == 2 then
|
if opts.range == 2 then
|
||||||
local lines = vim.fn.getline(vim.fn.line("'<"), vim.fn.line("'>"))
|
local lines = vim.fn.getline(vim.fn.line("'<"), vim.fn.line("'>"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user