Sfoglia il codice sorgente

~/.vimrc: fix vim complaining about scope.

don't know why this suddenly changed.
Lucas Stadler 11 anni fa
parent
commit
a840fb8570
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      .vimrc

+ 3 - 3
.vimrc

@ -33,14 +33,14 @@ if isdirectory($HOME . '/.vim/bundle/vundle')
33 33
	Bundle 'kchmck/vim-coffee-script'
34 34
35 35
	Bundle 'junegunn/goyo.vim'
36
	function! g:goyo_before()
36
	function! s:goyo_before()
37 37
		set noshowmode
38 38
	endfunction
39 39
40
	function! g:goyo_after()
40
	function! s:goyo_after()
41 41
		set showmode
42 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 44
endif
45 45
46 46
" Have syntax highlighting and non-vi features