blink-ripgrep

URL: https://github.com/mikavilpas/blink-ripgrep.nvim/

Maintainers: Austin Horstman


This plugin should be configured through blink-cmp's sources.providers settings.

For example:

plugins.blink-cmp = {
  enable = true;
  settings.sources.providers = {
    ripgrep = {
      async = true;
      module = "blink-ripgrep";
      name = "Ripgrep";
      score_offset = 100;
      opts = {
        prefix_min_len = 3;
        context_size = 5;
        max_filesize = "1M";
        project_root_marker = ".git";
        project_root_fallback = true;
        search_casing = "--ignore-case";
        additional_rg_options = {};
        fallback_to_regex_highlighting = true;
        ignore_paths = {};
        additional_paths = {};
        debug = false;
      };
    };
  };
};

And then you can add it to blink-cmp's sources.default option:

plugins.blink-cmp = {
  enable = true;
  settings.sources.default = [
    "lsp"
    "path"
    "luasnip"
    "buffer"
    "ripgrep"
  ];
};

Whether to enable blink-ripgrep.nvim.

Type: boolean

Default: false

Example: true

Declared by:

The blink-ripgrep.nvim package to use.

Type: package

Default: pkgs.vimPlugins.blink-ripgrep-nvim

Declared by:

Whether to automatically load blink-ripgrep.nvim when neovim starts.

Type: boolean

Default: false when lazy-loading is enabled.

Example: false

Declared by: