Skip to content

Conversation

@Timchenko99
Copy link

Motivation

Remove sniprun from import list since plugin is not used anymore.

Issues

If not handled the current config produces an error where variable sniprun is not recognized as plugin but rather as boolean (somehow pcall does not catch that the plugin is not installed and instead proceeds to execute).

See error example below:

Error detected while processing /home/[username]/.config/nvim/init.lua:
E5113: Error while calling lua chunk: /home/[username]/.config/nvim/lua/user/sniprun.lua:6: attempt to index local 'sniprun' (a boolean value)
stack traceback:
        /home/[username]/.config/nvim/lua/user/sniprun.lua:6: in main chunk
        [C]: in function 'require'
        /home/[username]/.config/nvim/init.lua:26: in main chunk

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

Successfully merging this pull request may close these issues.

1 participant