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

Add company-box-buffer-hook to run on newly created buffers #137

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bjcohen
Copy link

@bjcohen bjcohen commented Oct 13, 2020

Create hook to run customizations on newly created company-box buffers (both the choices buffer and the doc buffer).

Rationale - I use https://github.com/ema2159/centaur-tabs, and don't want tabs to show up in my company-box completion popup. The way to do this in Centaur is to enable centaur-tabs-local-mode in the buffer. The cleanest way to facilitate this would be either:

a) Create a new mode to run the popup buffers in, add centaur-tabs-local-mode to the mode hooks.
b) Add a hook to run upon buffer creation.

I chose b), as it adds less cruft.

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.

1 participant