Use 4 spaces everywhere

This commit is contained in:
Mark Vainomaa 2017-01-28 16:15:35 +02:00
parent d5077e8042
commit 711b621fba
1 changed files with 9 additions and 9 deletions

View File

@ -263,26 +263,26 @@ let g:lightline_buffer_reservelen = 20
let g:lightline = { let g:lightline = {
\ 'active': { \ 'active': {
\ 'left': [['mode', 'paste'], ['filename', 'readonly', 'modified', 'fugitive']], \ 'left': [['mode', 'paste'], ['filename', 'readonly', 'modified', 'fugitive']],
\ }, \ },
\ 'component_function': { \ 'component_function': {
\ 'fugitive': 'LlFugitive', \ 'fugitive': 'LlFugitive',
\ }, \ },
\ 'separator': { 'left': '>', 'right': '<' }, \ 'separator': { 'left': '>', 'right': '<' },
\ 'subseparator': { 'left': '>', 'right': '<' } \ 'subseparator': { 'left': '>', 'right': '<' }
\ } \ }
function! LlFugitive() function! LlFugitive()
return exists('*fugitive#head') ? fugitive#head() : '' return exists('*fugitive#head') ? fugitive#head() : ''
endfunction endfunction
" Goyo & Lightline " Goyo & Lightline
function! s:on_goyo_enter() function! s:on_goyo_enter()
setlocal nocursorline setlocal nocursorline
Limelight Limelight
endfunction endfunction
function! s:on_goyo_leave() function! s:on_goyo_leave()
setlocal cursorline setlocal cursorline
Limelight! Limelight!
endfunction endfunction
autocmd! User GoyoEnter nested call <SID>on_goyo_enter() autocmd! User GoyoEnter nested call <SID>on_goyo_enter()
autocmd! User GoyoLeave nested call <SID>on_goyo_leave() autocmd! User GoyoLeave nested call <SID>on_goyo_leave()