Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Picker errors raised following invocation of :Obsidian[command] #389

Closed
leitdeux opened this issue Feb 11, 2024 · 2 comments
Closed

Picker errors raised following invocation of :Obsidian[command] #389

leitdeux opened this issue Feb 11, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@leitdeux
Copy link

🐛 Describe the bug

It appears that since the latest commit, invoking any Obsidian commands raises an error with the following message:

Error executing Lua callback: ...nvim/plugged/obsidian.nvim/lua/obsidian/pickers/init.lua:11: bad argument #1 to 'lower' (string expected, got nil)
stack traceback:                                 
        [C]: in function 'lower'
        ...nvim/plugged/obsidian.nvim/lua/obsidian/pickers/init.lua:11: in function 'picker'
        ...ged/obsidian.nvim/lua/obsidian/commands/quick_switch.lua:5: in function 'func'
        ...vim/plugged/obsidian.nvim/lua/obsidian/commands/init.lua:64: in function <...vim/plugged/obsidian.nvim/lua/obsidian/commands/init.lua:63>

Versions

nvim --version

NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1703358377
nvim --headless -c 'lua require("obsidian").info()' -c q

[obsidian.nvim (v3.0.0)] Commit SHA: 225453f460b726cc0134027d04fa037976136cd7
[plenary.nvim] Commit SHA: 4f71c0c4a196ceb656c824a70792f3df3ce6bb6d
[nvim-cmp] Commit SHA: 04e0ca376d6abdbfc8b52180f8ea236cbfddf782
[telescope.nvim] Commit SHA: 0f865f17af4f9bc1587a0132414cdfd32d91852e
ripgrep 14.1.0
@leitdeux leitdeux added the bug Something isn't working label Feb 11, 2024
@epwalsh
Copy link
Owner

epwalsh commented Feb 11, 2024

Hey @leitdeux looks like I just introduced that bug with the latest PR. I’ll fix this today but in the meantime you could pin to the latest release.

@epwalsh
Copy link
Owner

epwalsh commented Feb 11, 2024

Fixed in 06e62fd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants