kdheepak / cmp-latex-symbols

Add latex symbol support for nvim-cmp.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  • 0 -- mixed Show the command and insert the symbol
  • 1 -- julia Show and insert the symbol
  • 2 -- latex Show and insert the command

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.

About

Add latex symbol support for nvim-cmp.

License:MIT License


Languages

Language:Lua 99.8%Language:Julia 0.2%