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

Set filetype for git_blame window #196

Closed
seblyng opened this issue May 19, 2021 · 3 comments
Closed

Set filetype for git_blame window #196

seblyng opened this issue May 19, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@seblyng
Copy link
Contributor

seblyng commented May 19, 2021

I had an idea to fix gitmoji for the git blame window, but my solution depends on setting a few settings in the ftplugin directory. A filetype for the window would help with this. I could fix a PR for this as this would only require one line.

If there is a way for me to set the filetype myself, this would also work! I just couldn't figure out a way to do this

@seblyng seblyng added the enhancement New feature or request label May 19, 2021
@lewis6991
Copy link
Owner

lewis6991 commented May 19, 2021

There have been one or two requests for configuring preview windows so something more general would be preferable. Maybe something like an on_open_win callback.

@seblyng
Copy link
Contributor Author

seblyng commented May 19, 2021

Yeah I think that's a good idea!

@lewis6991
Copy link
Owner

This should be fulfilled by #622 which sets the window variable gitsigns_preview to either blame or hunk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants