Added handle for gitcommit filetype
This commit is contained in:
1 parent
2411080020
commit
7f00ef619d
1 file changed
+6
@@ -374,6 +374,11 @@ function s:SetVimwikiSettings() "{{{2
|
||||
map <C-F5> :VimwikiAll2HTML<CR>
|
||||
endfunction
|
||||
"}}}
|
||||
function s:SetGitcommitSettings() "{{{2
|
||||
setlocal textwidth=72
|
||||
setlocal spell
|
||||
endfunction
|
||||
"}}}
|
||||
|
||||
"remove all trailing whitespace for specified files before write
|
||||
autocmd BufWritePre * :call <SID>StripTrailingWhitespaces(0, 'n')
|
||||
@@ -397,6 +402,7 @@ autocmd FileType sql call <SID>SetSqlSettings()
|
||||
autocmd FileType markdown call <SID>SetMarkdownSettings()
|
||||
autocmd FileType vim call <SID>SetVimSettings()
|
||||
autocmd FileType vimwiki call <SID>SetVimwikiSettings()
|
||||
autocmd FileType gitcommit call <SID>SetGitcommitSettings()
|
||||
|
||||
" }}}
|
||||
"TERMINAL: options for terminal emulators {{{
|
||||
|
||||
Reference in new issue
Block a user