ChristianChiarulli / nvim

My neovim config
GNU General Public License v3.0
963 stars 246 forks source link

remove sniprun since not used #45

Open Timchenko99 opened 2 years ago

Timchenko99 commented 2 years ago

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