Skip to content

Scaffolding requires failure #13

@khaneliman

Description

@khaneliman

Looks like a helpers util was recently introduced and when trying to update the plugin in nixpkgs, we are seeing this test failure now.

> Attempting to require module: luasnip-latex-snippets.luasnippets.tex.utils.scaffolding
       > Error detected while processing pre-vimrc command line:
       > E5108: Error executing lua ...nip-latex-snippets/luasnippets/tex/utils/scaffolding.lua:32: module 'luasnippets.tex.utils.helpers' not found:
       >         no field package.preload['luasnippets.tex.utils.helpers']
       >       no file './luasnippets/tex/utils/helpers.lua'
       >   no file '/nix/store/rgkl9fy5mlv0saaj0bv6hf9qhn8j4m3v-luajit-2.1.1741730670/share/luajit-2.1/luasnippets/tex/utils/helpers.lua'
       >  no file '/usr/local/share/lua/5.1/luasnippets/tex/utils/helpers.lua'
       >    no file '/usr/local/share/lua/5.1/luasnippets/tex/utils/helpers/init.lua'
       >       no file '/nix/store/rgkl9fy5mlv0saaj0bv6hf9qhn8j4m3v-luajit-2.1.1741730670/share/lua/5.1/luasnippets/tex/utils/helpers.lua'
       >     no file '/nix/store/rgkl9fy5mlv0saaj0bv6hf9qhn8j4m3v-luajit-2.1.1741730670/share/lua/5.1/luasnippets/tex/utils/helpers/init.lua'
       >        no file './luasnippets/tex/utils/helpers.so'
       >    no file '/usr/local/lib/lua/5.1/luasnippets/tex/utils/helpers.so'
       >       no file '/nix/store/rgkl9fy5mlv0saaj0bv6hf9qhn8j4m3v-luajit-2.1.1741730670/lib/lua/5.1/luasnippets/tex/utils/helpers.so'
       >        no file '/usr/local/lib/lua/5.1/loadall.so'
       >     no file './luasnippets.so'
       >      no file '/usr/local/lib/lua/5.1/luasnippets.so'
       >         no file '/nix/store/rgkl9fy5mlv0saaj0bv6hf9qhn8j4m3v-luajit-2.1.1741730670/lib/lua/5.1/luasnippets.so'
       >  no file '/usr/local/lib/lua/5.1/loadall.so'
       > stack traceback:
       >    [C]: in function 'require'
       >      ...nip-latex-snippets/luasnippets/tex/utils/scaffolding.lua:32: in main chunk
       >   [C]: in function 'require'
       >      [string ":lua"]:1: in main chunk
       > Entering Ex mode.  Type "visual" to go to Normal mode.
       > :Failed to require module: luasnip-latex-snippets.luasnippets.tex.utils.scaffolding

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions