Skip to content
Discussion options

You must be logged in to vote

You're doing something wrong. Let's test it with a minimal reproducible example:

-- Run with: nvim -u repro.lua repro.lua

-- repro.lua

vim.env.LAZY_STDPATH = '.repro'
load(vim.fn.system 'curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua')()

---@module 'snacks'

-- I_LOVE_POTATO_CHIPS: Lays
-- NOTE: Pringles too
 
---@diagnostic disable-next-line: missing-fields
require('lazy.minit').repro {
  spec = {
    {
      'folke/todo-comments.nvim',
      event = 'VimEnter',
      dependencies = { 'nvim-lua/plenary.nvim' },
      opts = {
        keywords = {
          I_LOVE_POTATO_CHIPS = { icon = '🥔', color = 'info' },
        },
      },
      -- stylua: ignore

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@DominikMendel
Comment options

@DominikMendel
Comment options

@drowning-cat
Comment options

Answer selected by DominikMendel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants