kdheepak / cmp-latex-symbols

Add latex symbol support for nvim-cmp.
MIT License
134 stars 9 forks source link
neovim nvim-cmp

cmp-latex-symbols

Add latex symbol support for nvim-cmp.

cmp-latex-symbols mov

Install

Using Packer:

use({
  "hrsh7th/nvim-cmp",
  requires = {
    { "kdheepak/cmp-latex-symbols" },
  },
  sources = {
    {
      name = "latex_symbols",
      option = {
        strategy = 0, -- mixed
      },
    },
  },
})

Options

strategy

Set the display strategy.

Type: number Default: 0 -- mixed Possible values:

Original based on compe-latex-symbols.

Currently uses unimathsymbols.txt and LaTeX symbols defined by the Julia REPL. For emoji's, use this source.

See @ExpandingMan's repo for a source with all and only the latex and emoji symbols defined by the Julia REPL.