Skip to content

Disabling snippets in markdown disables them in .tex as well #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
JetpackJackson opened this issue Oct 20, 2023 · 0 comments
Open

Comments

@JetpackJackson
Copy link

Hi, this may be a really dumb question, but when I disable the snippets for markdown (where I want to write something like "10/20" without it autochanging to a fraction), then the snippets don't work in .tex files either. Here's my config in my init.lua, am I doing something wrong? Thanks in advance, and thanks for the plugin!

    {
      "iurimateus/luasnip-latex-snippets.nvim",
      dependencies = { "l3mon4d3/luasnip", "lervag/vimtex" },
      config = function()
        require('luasnip-latex-snippets').setup({
          use_treesitter = true,
          allow_on_markdown = false,
        })
        require("luasnip").config.setup {
            enable_autosnippets = true,
        }
      end,
    },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant