You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I had Telescope as my picker and used the command ObsidianDailies the picker showed the file previews but since I switched to fzf-lua the picker for just this command stopped showing. Previews for other commands like "ObsidianQuickSwitch" do work for fzf-lua.
Config
workspaces = {
{
name = "notes",
-- path = "~/mega/obsidian/notes",
-- path = os.getenv("HOME") or os.getenv("USERPROFILE") .. "/mega/obsidian/notes",
path = "~/mega/obsidian/notes",
},
},
-- completion = {
-- new_notes_location = "notes_subdir",
-- },
new_notes_location = "notes_subdir",
note_id_func = function(title)
local suffix = ""
if title ~= nil then
-- If title is given, transform it into valid file name.
suffix = title
else
-- If title is nil, just add 4 random uppercase letters to the suffix.
for _ = 1, 4 do
suffix = tostring(os.time())
end
end
return suffix
end,
-- Optional, customize the default name or prefix when pasting images via `:ObsidianPasteImg`.
image_name_func = function()
-- Prefix image names with timestamp.
return tostring(os.time())
end,
mappings = {
-- Overrides the 'gf' mapping to work on markdown/wiki links within your vault.
-- ["gf"] = {
-- action = function()
-- return require("obsidian").util.gf_passthrough()
-- end,
-- opts = { noremap = false, expr = true, buffer = true },
-- },
-- Toggle check-boxes.
["<leader>ol"] = {
action = function()
return require("obsidian").util.toggle_checkbox()
end,
opts = { buffer = true },
},
["<cr>"] = {
action = function()
return require("obsidian").util.smart_action()
end,
opts = { buffer = true, expr = true },
},
},
disable_frontmatter = true,
Environment
NVIM v0.10.2
Build type: RelWithDebInfo
LuaJIT 2.1.1731601260
Run "nvim -V1 -v" for more info
fzf-lua fatal: '_G._fzf_lua_server', '_G._devicons_path' both nil
fzf-lua fatal: '_G._fzf_lua_server', '_G._devicons_path' both nil
Obsidian.nvim v3.9.0 (14e0427bef6c55da0d63f9a313fd9941be3a2479)
Status:
• buffer directory: nil
• working directory: /home/hector
Workspaces:
✓ active workspace: Workspace(name='notes', path='/home/hector/mega/obsidian/notes', root='/home/hector/mega/obsidian/notes')
Dependencies:
✓ plenary.nvim: 2d9b06177a975543726ce5c73fca176cedbffe9d
Integrations:
✓ picker: nil
✗ completion: disabled
Tools:
✓ rg: ripgrep 14.1.1
Environment:
• operating system: Linux
Config:
• notes_subdir: nil
The text was updated successfully, but these errors were encountered:
Ok I'm using lazyvim so I started a clean nvim install without it with NVIM_APPNAME=test
Installed lazy,fzf-lua,tokyonight and obsidian.
Added the pickers option as you suggested
But I still don't get a preview when doing "ObsidianDailies". Other commands like ObsidianQuickSwitch do show a preview
🐛 Describe the bug
When I had Telescope as my picker and used the command ObsidianDailies the picker showed the file previews but since I switched to fzf-lua the picker for just this command stopped showing. Previews for other commands like "ObsidianQuickSwitch" do work for fzf-lua.
Config
Environment
The text was updated successfully, but these errors were encountered: