Skip to content

fix(init.lua): indent blankline v3 setup#443

Merged
feoh merged 1 commit intonvim-lua:masterfrom
emmanuelchucks:patch-1
Sep 28, 2023
Merged

fix(init.lua): indent blankline v3 setup#443
feoh merged 1 commit intonvim-lua:masterfrom
emmanuelchucks:patch-1

Conversation

@emmanuelchucks
Copy link
Contributor

@emmanuelchucks emmanuelchucks commented Sep 28, 2023

Indent blankline plugin v3 setup throws error when called with opts = {...}

Comment on lines +173 to +178
config = function()
require('ibl').setup {
char = '┊',
show_trailing_blankline_indent = false,
}
end,
Copy link

@tranzystorekk tranzystorekk Sep 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be done easier by setting main = 'ibl' in the plugin config instead of using a function. Also it seems show_trailing_blankline_indent = false is the default now.

Copy link

@confusingbits confusingbits Sep 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The main = "ibl" solution (it's in the v3 migration docs) seems to be working for me, the config function solution didn't work for me. 🤷‍♂️

image

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also the main = 'ibl' is the way how upstream recommends it

@feoh
Copy link
Collaborator

feoh commented Sep 28, 2023

I see the error too. I'll be in work meetings all morning - if someone other than the OP has time to test this fix and validate that it fixes the issue, I'd be happy to merge.

@feoh
Copy link
Collaborator

feoh commented Sep 28, 2023

Actually, I changed my mind :) We can always revert and we're busted right now so there's no where to go but up. Merging.

@feoh feoh merged commit e8c7047 into nvim-lua:master Sep 28, 2023
qiuye2015 pushed a commit to qiuye2015/fjp.nvim that referenced this pull request Dec 10, 2023
fix(init.lua): indent blankline v3 setup
cbmorrell pushed a commit to cbmorrell/kickstart-modular.nvim that referenced this pull request Apr 22, 2024
fix(init.lua): indent blankline v3 setup
s-frick pushed a commit to s-frick/kickstart.nvim that referenced this pull request Jul 29, 2024
fix(init.lua): indent blankline v3 setup
melobern added a commit to melobern/kickstart.nvim that referenced this pull request Oct 30, 2024
fix(init.lua): indent blankline v3 setup
felixhummel added a commit to felixhummel/nvim that referenced this pull request Dec 19, 2024
fix(init.lua): indent blankline v3 setup
restray added a commit to restray/kickstart.nvim that referenced this pull request Mar 16, 2025
fix(init.lua): indent blankline v3 setup
tkappedev pushed a commit to tkappedev/kickstart.nvim that referenced this pull request Jun 14, 2025
fix(init.lua): indent blankline v3 setup
apriljarosz pushed a commit to apriljarosz/kickstart.nvim that referenced this pull request Jun 19, 2025
fix(init.lua): indent blankline v3 setup
eduardofuncao pushed a commit to eduardofuncao/config.nvim that referenced this pull request Aug 5, 2025
fix(init.lua): indent blankline v3 setup
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.

8 participants