derektata/lorem.nvim

[BUG] No output when `number < 3`

Closed this issue · 1 comments

To reproduce

  1. :lua print(require("lorem").gen_words(1))
  2. Observe that nothing is outputted

Notes
This happens with any number < 3.


Config (lazy.nvim)

return {
  'derektata/lorem.nvim',
  lazy = true,
  opts = {
    sentenceLength = 'mixedShort',
    comma = 0,
  },
}

I've updated the lower bounds for mixedShort to fix this (See 1cec3b3 for more info)

output