Compare commits

..

2 Commits

2 changed files with 3 additions and 1 deletions

View File

@ -163,6 +163,9 @@ return {
completion = 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({})

View File

@ -119,7 +119,6 @@ end, {
-- :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.
vim.api.nvim_create_user_command('Rg', function(opts)
print(vim.inspect(opts))
local search = opts.args
if opts.range == 2 then
local lines = vim.fn.getline(vim.fn.line("'<"), vim.fn.line("'>"))