rcarriga / nvim-notify

A fancy, configurable, notification manager for NeoVim
MIT License
3k stars 80 forks source link

require returning boolean instead of "table" #133

Closed okuma10 closed 1 year ago

okuma10 commented 1 year ago

Don't know anything about lua. But apparently when calling require I should be getting a "table" object, but I'm not :lua print(require('notify')) - > true :lua print(pcall(require, 'notify')) -> true true :lua print(require('alpha')) -> table:<address> :lua print(pcall(require, 'alpha')) -> true table:<address>

rcarriga commented 1 year ago

This is probably a local path issue. I'd recommend checking your runtime path for modules named notify. If you can't find the issue, please provide a minimal init.lua to reproduce

okuma10 commented 1 year ago

Ah, I see yes I had a folder named notify in my Lua settings folder. It had the notify setup in init.lua. but I since removed it and add the setting under a /user/ folder(following a setup tutorial). I removed the old folder and now it loaded just fine. Thanks!