Skip to content

Conversation

@topaxi
Copy link

@topaxi topaxi commented Jun 20, 2024

Newer nvim versions have an iter interface to several table/list operations and deprecated tbl_flatten.

This should fix the deprecation warning in a backwards compatible fashion.

@Dmitrev
Copy link

Dmitrev commented Mar 28, 2025

@norcalli could you have a look at this? This issue starts showing in the latest nvim nightly.

- WARNING vim.tbl_flatten is deprecated. Feature will be removed in Nvim 0.13
  - ADVICE:
    - use vim.iter(…):flatten():totable() instead.
    - stack traceback:
        /home/user/.local/share/nvim/lazy/nvim-colorizer.lua/lua/colorizer/nvim.lua:96

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants