zk-org/zk-nvim

Error in telescope previewer: Expected Lua number

Bekaboo opened this issue · 2 comments

zk config:

vim.env.ZK_NOTEBOOK_DIR= os.getenv('HOME') .. '/Scratches/Notes'

require('zk').setup({
  picker = 'telescope',
  lsp = {
    config = {
      cmd = { 'zk', 'lsp' },
      name = 'zk',
    }
  }
})

How to reproduce

  1. Setup telescope properly and use the config provided above to setup zk
  2. Open telescope with :ZkNotes
  3. Inside telescope prompt, Enter normal mode and holding j; or holding <C-n> in insert mode
  4. See the error in 1~2 seconds.

Screenshot

image

Other useful information

This error does not appear / is harder to reproduce when your keystroke frequency is lower. Mine is 60 times/sec.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs in the next 5 days.

This issue was closed because it has been stalled for 5 days with no activity.