Furkanzmc / zettelkasten.nvim

A Vim Philosophy Oriented Zettelkasten Note Taking Plugin
The Unlicense
223 stars 9 forks source link

:ZkBrowse returns error 'Table index is nil' #30

Closed krlhBlupine closed 7 months ago

krlhBlupine commented 8 months ago

image

Here's the stacktrace- sorry about the format, I couldn't figure out how to get the plaintext.

Here's the zettel section from my lazy.nvim config:

{'Furkanzmc/zettelkasten.nvim',
    name = 'zettelkasten',
    cmd = {'ZkNew', 'ZkBrowse'},
    config = function()
        require('zettelkasten').setup({
          id_format = '%Y%m%d%H%M',
          filename_pattern = '%d+',
          title_pattern = 'aliases: .+',
          notes_path = './',
      })
      end,
  }

I'm using AstroNvim, if that helps you at all. I've tried to doublecheck that this isn't a user error, I'm really unfamiliar with Lua regex, but there's definitely the possibility that I've just done something stupid.

krlhBlupine commented 7 months ago

It was user error, I had a permissions bug elsewhere in the OS.