commit
010c2940ce
4 changed files with 14 additions and 6 deletions
|
@ -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
|
||||
|
|
3
sources_non_forked/vim-markdown/indent/markdown.vim
Normal file
3
sources_non_forked/vim-markdown/indent/markdown.vim
Normal file
|
@ -0,0 +1,3 @@
|
|||
set noexpandtab
|
||||
set tabstop=2
|
||||
set shiftwidth=2
|
|
@ -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') ]
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue