Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

blink-cmp-latex

URL: https://github.com/erooke/blink-cmp-latex/

Maintainers: Johan Larsson


LaTeX symbols and commands source for blink-cmp.


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

For example:

{
  plugins.blink-cmp = {
    enable = true;
    settings.sources.providers = {
      latex-symbols = {
        module = "blink-cmp-latex";
        name = "Latex";
        opts = {
          # set to true to insert the latex command instead of the symbol
          insert_command = 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"
      "latex-symbols"
    ];
  };
}

Whether to enable blink-cmp-latex.

Type: boolean

Default:

false

Example:

true

Declared by:

The blink-cmp-latex package to use.

Type: package

Default:

pkgs.vimPlugins.blink-cmp-latex

Declared by:

Whether to automatically load blink-cmp-latex when neovim starts.

Type: boolean

Default: false when lazy-loading is enabled.

Example:

false

Declared by: