David Blume commited on 2018-04-29 13:46:19
Showing 1 changed files, with 7 additions and 2 deletions.
... | ... |
@@ -1,4 +1,4 @@ |
1 |
-" Version 2018-04-24.1 - vim-airline with powerlineish theme |
|
1 |
+" Version 2018-04-29.1 - Turn off vim-airline whitespace warnings by filetype |
|
2 | 2 |
set nocompatible " Use Vim defaults, forget compatibility with vi. |
3 | 3 |
set bs=2 " allow backspacing over everything in insert mode |
4 | 4 |
set wildmenu " Allows command-line completion with tab |
... | ... |
@@ -197,9 +197,13 @@ if has("autocmd") |
197 | 197 |
autocmd FileType python set foldmethod=indent " 'za' to fold |
198 | 198 |
autocmd FileType python set foldlevel=99 |
199 | 199 |
|
200 |
- autocmd Filetype c,cpp nmap <buffer> <leader>s :call SwitchSourceHeader()<cr> |
|
200 |
+ autocmd FileType c,cpp nmap <buffer> <leader>s :call SwitchSourceHeader()<cr> |
|
201 | 201 |
autocmd FileType c,cpp set foldmethod=syntax |
202 | 202 |
|
203 |
+ " autocmd FileType roku :let g:airline_extensions = [] |
|
204 |
+ " autocmd FileType roku :let g:airline_section_warning = airline#section#create([]) |
|
205 |
+ autocmd FileType roku :let g:airline#extensions#whitespace#enabled = 0 |
|
206 |
+ |
|
203 | 207 |
if v:version >= 703 |
204 | 208 |
" I toggle out of relative number when Vim's focus is lost, because |
205 | 209 |
" if I'm not editing, then I may be referring to errors with line numbers. |
... | ... |
@@ -282,6 +286,7 @@ let g:Powerline_symbols = 'fancy' |
282 | 286 |
let g:airline_powerline_fonts = 1 |
283 | 287 |
let g:airline_theme = 'powerlineish' |
284 | 288 |
let g:airline#extensions#wordcount#enabled = 0 |
289 |
+" let g:airline_exclude_filetypes = [] |
|
285 | 290 |
|
286 | 291 |
" Install Pathogen for this next call to work |
287 | 292 |
call pathogen#infect() |
288 | 293 |