Skip to content
Discussion options

You must be logged in to vote

This is a lazy.nvim setting that forces lists to be merged, rather than replaced, when merging plugin specs together. For example:

{
  {
    'saghen/blink.cmp',
    opts_extend = { 'foo' },
    opts = { foo = { 'bar' } }
  },

  {
    'saghen/blink.cmp',
    opts = { foo = { 'baz' } }
  }
}

With opts_extend, the result will be foo = { 'bar', 'baz' }. Without it, the result will be foo = { 'baz' } (takes the latest value).

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Saghen
Comment options

You must be logged in to vote
1 reply
@Saghen
Comment options

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