Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: restore user's UI options when switching tabs 2 #458

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

jbarap
Copy link
Contributor

@jbarap jbarap commented May 31, 2024

So, #455 restored the user's settings when switching tabs, but was missing the check for the hiding setting being enabled in the first place. This attempts to solve it.

Thanks for bringing it up, and sorry for briefly breaking some configs.

@@ -220,15 +209,34 @@ function db:load_theme(opts)
end,
})

api.nvim_create_autocmd('BufEnter', {
buffer = self.bufnr,
Copy link
Member

Choose a reason for hiding this comment

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

can be once ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh yeah, merged with the other BufEnter

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure why CI is failing, but let me know what I can do to fix it.

Copy link
Member

Choose a reason for hiding this comment

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

nvm it just doc.

@glepnir glepnir merged commit b663d89 into nvimdev:master Jun 4, 2024
1 of 2 checks passed
@jbarap
Copy link
Contributor Author

jbarap commented Jun 4, 2024

Thanks for the merge!

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