Skip to content

Is it essential to set filetype separately for every neogit buffer? #774

Answered by CKolkey
ofseed asked this question in Q&A
Discussion options

You must be logged in to vote

I've gone back and forth on this, actually. With regard to the commit message, or git rebase, buffers, for some time I had actually just changed them to be the proper "built in" filetype. This worked fine, but after searching through github found many people who had customized the Neogit* filetypes and... I didn't want to break that.

It also means we can do extra stuff to the buffers without worrying about messing with another namespace. As you pointed out, this is a trade off.

I'd recommend opening a PR on the plugins you found conflict with and add support for the neogit filetypes. That said... I don't actually see a reason that each popup be it's own filetype. I think they could totall…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ofseed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants