Disable airline word-count
When editing `rst` filetypes for longer periods airline started producing errors when attempting to count the number of words in the document, so disable this feature.
This commit is contained in:
parent
f85d59197a
commit
92d88b623d
1
vimrc
1
vimrc
@ -28,6 +28,7 @@ set packpath+=~/.config/work
|
||||
Pack 'vim-airline/vim-airline'
|
||||
let g:airline#extensions#branch#enabled = 0
|
||||
let g:airline#extensions#hunks#enabled = 0
|
||||
let g:airline#extensions#wordcount#enabled = 0
|
||||
for s:setting in ['left_sep', 'right_sep', 'section_error', 'section_warning']
|
||||
exec 'let g:airline_'.s:setting.' = ""'
|
||||
endfor
|
||||
|
Loading…
x
Reference in New Issue
Block a user