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 = {
\ 'active': {
\ 'left': [['mode', 'paste'], ['filename', 'readonly', 'modified', 'fugitive']],
\ },
\ },
\ 'component_function': {
\ 'fugitive': 'LlFugitive',
\ },
\ 'separator': { 'left': '>', 'right': '<' },
\ 'subseparator': { 'left': '>', 'right': '<' }
\ },
\ 'separator': { 'left': '>', 'right': '<' },
\ 'subseparator': { 'left': '>', 'right': '<' }
\ }
function! LlFugitive()
return exists('*fugitive#head') ? fugitive#head() : ''
return exists('*fugitive#head') ? fugitive#head() : ''
endfunction
" Goyo & Lightline
function! s:on_goyo_enter()
setlocal nocursorline
Limelight
setlocal nocursorline
Limelight
endfunction
function! s:on_goyo_leave()
setlocal cursorline
Limelight!
setlocal cursorline
Limelight!
endfunction
autocmd! User GoyoEnter nested call <SID>on_goyo_enter()
autocmd! User GoyoLeave nested call <SID>on_goyo_leave()