iurimateus / luasnip-latex-snippets.nvim

A port of Gilles Castel's UltiSnip snippets for LuaSnip.
Apache License 2.0
140 stars 59 forks source link

error when edit markdown file #16

Closed jjiangweilan closed 1 year ago

jjiangweilan commented 1 year ago

Version: nvim v0.9.1

setup:

    {
        "iurimateus/luasnip-latex-snippets.nvim",
        -- vimtex isn't required if using treesitter
        dependencies = { "L3MON4D3/LuaSnip" },
        config = function()
            require 'luasnip-latex-snippets'.setup({ use_treesitter = true })
        end,
        ft = { 'markdown' } -- doesn't really matter if it's lazy-loaded
    },

It will report the error, as long as I enter a markdown file for the first time

image

jjiangweilan commented 1 year ago

vim.iter is in nvim v0.10. I will close this

iurimateus commented 1 year ago

I'll fix it shortly, nightly shouldn't be a requirement for this plugin.