1
0
Fork 0
mirror of synced 2024-11-25 10:15:35 -05:00

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. " No special rules applied, so use the default policy.
exec 'return' s:GetDefaultPolicy(a:curlnum) exec 'return' s:GetDefaultPolicy(a:curlnum)
endfunction 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 ) exec( "hi StatusLineNC " . l:highlightfgbgcolor )
endfunction endfunction
function! g:zenroom_goyo_before() function! g:Zenroom_goyo_before()
if !has("gui_running") if !has("gui_running")
return return
endif endif
@ -73,7 +73,7 @@ function! g:zenroom_goyo_before()
endif endif
endfunction endfunction
function! g:zenroom_goyo_after() function! g:Zenroom_goyo_after()
if !has("gui_running") if !has("gui_running")
return return
endif endif
@ -87,4 +87,4 @@ function! g:zenroom_goyo_after()
endif endif
endfunction 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 ;) " Be smart when using tabs ;)
set smarttab set smarttab
" 1 tab == 4 spaces " 1 tab == 2 spaces
set shiftwidth=4 set shiftwidth=2
set tabstop=4 set tabstop=2
" Linebreak on 500 characters " Linebreak on 500 characters
set lbr set lbr