mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-25 06:45:36 +00:00
ripgrep completion
This commit is contained in:
parent
5f794c626b
commit
3a244110eb
@ -182,6 +182,7 @@ require('packer').startup(function(use)
|
|||||||
use 'hrsh7th/cmp-cmdline' --- Command line completion
|
use 'hrsh7th/cmp-cmdline' --- Command line completion
|
||||||
use 'hrsh7th/cmp-nvim-lua' --- Nvim lua api completion
|
use 'hrsh7th/cmp-nvim-lua' --- Nvim lua api completion
|
||||||
use 'saadparwaiz1/cmp_luasnip' --- Luasnip completion
|
use 'saadparwaiz1/cmp_luasnip' --- Luasnip completion
|
||||||
|
use 'lukas-reineke/cmp-rg' --- Ripgrep completion
|
||||||
|
|
||||||
-- Completion engine
|
-- Completion engine
|
||||||
use {
|
use {
|
||||||
@ -217,7 +218,11 @@ require('packer').startup(function(use)
|
|||||||
{ name = 'nvim_lsp' },
|
{ name = 'nvim_lsp' },
|
||||||
{ name = 'path' },
|
{ name = 'path' },
|
||||||
{ name = 'luasnip' },
|
{ name = 'luasnip' },
|
||||||
{ name = 'buffer', keyword_length = 5, max_item_count = 10 },
|
{ name = 'buffer', keyword_length = 3, max_item_count = 10 },
|
||||||
|
{
|
||||||
|
name = 'rg', keyword_length = 6, max_item_count = 10,
|
||||||
|
opts = { additional_arguments = "--ignore-case" }
|
||||||
|
},
|
||||||
},
|
},
|
||||||
experimental = {
|
experimental = {
|
||||||
native_menu = false, --- Use cmp menu instead of Vim menu
|
native_menu = false, --- Use cmp menu instead of Vim menu
|
||||||
|
Loading…
Reference in New Issue
Block a user