Compare commits
No commits in common. "a6fc668de5f0b9b5e8c1cea9423a882544e2dde3" and "0f4e75926658ec7667421c57c5e9897599483949" have entirely different histories.
a6fc668de5
...
0f4e759266
@ -163,9 +163,6 @@ return {
|
|||||||
completion = cmp.config.window.bordered(),
|
completion = cmp.config.window.bordered(),
|
||||||
documentation = cmp.config.window.bordered(),
|
documentation = cmp.config.window.bordered(),
|
||||||
},
|
},
|
||||||
|
|
||||||
-- Don't preselect any completion items, fixes wird behaviour in gopls
|
|
||||||
preselect = cmp.PreselectMode.None,
|
|
||||||
})
|
})
|
||||||
require("cmp_git").setup({})
|
require("cmp_git").setup({})
|
||||||
|
|
||||||
|
@ -119,6 +119,7 @@ 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