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

Improve Git commit settings #155

Open
salcode opened this issue Dec 12, 2018 · 0 comments
Open

Improve Git commit settings #155

salcode opened this issue Dec 12, 2018 · 0 comments

Comments

@salcode
Copy link
Owner

salcode commented Dec 12, 2018

I believe we already have some of these behaviors

" Note: put this in ftplugin/gitcommit.vim or in a filetype autocmd.

" show the body width boundary
setlocal colorcolumn=73
setlocal textwidth=72

" warning if first line too long
match ErrorMsg /\%1l.\%>51v/

" spell check on
setlocal spell

from Vimways Vim and Git

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

No branches or pull requests

1 participant