Open zaufi opened 1 month ago
In addition to COMMIT_EDITMSG
, know of any other "well known" files that git deals with?
Ah, found what neovim does: https://github.com/neovim/neovim/blob/8ef3dd3afa20024f439d8b7a69f316069c1909d3/runtime/lua/vim/filetype.lua#L1532-L1536
Hmm, in general it might be good to review that. I don't know if we'd want to add all of their file types but would be good to at least add any file names we are missing for our file types.
I use
typos
also to check Git commit messages. Git automatically adds what's changed in the commit message file asgit diff
output and it may contain typos I want to exclude from checks. For example,index <git-hash-1>..<git-hash-2> <filemode>
may cause errors like this:It'll be nice to be able to add
extend-ignore-re
regexes for this type of file.