chrsm / impulse.nvim

notion.so client for neovim
MIT License
95 stars 1 forks source link

blank results #9

Closed ThomasGHenry closed 8 months ago

ThomasGHenry commented 8 months ago

in lazyvim

.config/nvim/lua/plugins/notion.lua

return {
    "chrsm/impulse.nvim",
    dependencies = { "nvim-lua/plenary.nvim", "nvim-telescope/telescope.nvim" },
    config = function()
        require("impulse").setup({})
    end,
}

.config/nvim/lua/config/keymaps.lua

vim.keymap.set("n", "<leader>vs", require("impulse").menu_search)
vim.keymap.set("n", "<leader>vl", require("impulse").follow_link)

in fish

set -Ux NOTION_SECRET secret_xxxxxxxxx....

the keybindings open the search, but the results are always blank.

chrsm commented 8 months ago

Have you added your connection as mentioned in the README? You might have to give the plugin access to a higher-up page than you have already.

image

ThomasGHenry commented 8 months ago

Thanks!

I hadn't. Now I have.

Same results.

I'm content to leave it there though. Read-only defeats the purpose for me.

It was fun to dream. Thanks again!