mirror of
1
0
Fork 0

Merge pull request #89 from sota1235/master

fix zenroom2.vim | bug fix
This commit is contained in:
Amir Salihefendic 2014-10-10 18:46:42 +01:00
commit 010c2940ce
4 changed files with 14 additions and 6 deletions

View File

@ -426,3 +426,8 @@ function! GetCoffeeIndent(curlnum)
" No special rules applied, so use the default policy.
exec 'return' s:GetDefaultPolicy(a:curlnum)
endfunction
" tab space
setlocal expandtab
setlocal tabstop=2 shiftwidth=2 softtabstop=2
setlocal autoindent

View File

@ -0,0 +1,3 @@
set noexpandtab
set tabstop=2
set shiftwidth=2

View File

@ -62,7 +62,7 @@ function! s:markdown_room()
exec( "hi StatusLineNC " . l:highlightfgbgcolor )
endfunction
function! g:zenroom_goyo_before()
function! g:Zenroom_goyo_before()
if !has("gui_running")
return
endif
@ -73,7 +73,7 @@ function! g:zenroom_goyo_before()
endif
endfunction
function! g:zenroom_goyo_after()
function! g:Zenroom_goyo_after()
if !has("gui_running")
return
endif
@ -87,4 +87,4 @@ function! g:zenroom_goyo_after()
endif
endfunction
let g:goyo_callbacks = [ function('g:zenroom_goyo_before'), function('g:zenroom_goyo_after') ]
let g:goyo_callbacks = [ function('g:Zenroom_goyo_before'), function('g:Zenroom_goyo_after') ]

View File

@ -175,9 +175,9 @@ set expandtab
" Be smart when using tabs ;)
set smarttab
" 1 tab == 4 spaces
set shiftwidth=4
set tabstop=4
" 1 tab == 2 spaces
set shiftwidth=2
set tabstop=2
" Linebreak on 500 characters
set lbr