Просмотр исходного кода

~/.vimrc: fix vim complaining about scope.

don't know why this suddenly changed.
Lucas Stadler лет назад: 11
Родитель
Сommit
a840fb8570
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      .vimrc

+ 3 - 3
.vimrc

33
	Bundle 'kchmck/vim-coffee-script'
33
	Bundle 'kchmck/vim-coffee-script'
34
34
35
	Bundle 'junegunn/goyo.vim'
35
	Bundle 'junegunn/goyo.vim'
36
	function! g:goyo_before()
36
	function! s:goyo_before()
37
		set noshowmode
37
		set noshowmode
38
	endfunction
38
	endfunction
39
39
40
	function! g:goyo_after()
40
	function! s:goyo_after()
41
		set showmode
41
		set showmode
42
	endfunction
42
	endfunction
43
	let g:goyo_callbacks = [function('g:goyo_before'), function('g:goyo_after')]
43
	let g:goyo_callbacks = [function('s:goyo_before'), function('s:goyo_after')]
44
endif
44
endif
45
45
46
" Have syntax highlighting and non-vi features
46
" Have syntax highlighting and non-vi features