Configurability: parametrizable sha1 length

This commit is contained in:
Cimbali
2017-11-22 22:41:00 +01:00
parent 33663d7df2
commit 8c4bf37588
2 changed files with 6 additions and 2 deletions

View File

@@ -453,6 +453,9 @@ notexists symbol will be displayed after the branch name.
return '[' . a:name . ']'
endfunction
<
* truncate sha1 commits at this number of characters >
let g:airline#extensions#branch#sha1_len = 10
<
------------------------------------- *airline-syntastic*
syntastic <https://github.com/vim-syntastic/syntastic>