mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-04-13 09:30:06 +00:00
made it work on vim.tiny
This commit is contained in:
parent
0639cab258
commit
d18fa49786
1 changed files with 7 additions and 7 deletions
14
vimrc
14
vimrc
|
@ -68,14 +68,14 @@ if has('eval')
|
||||||
|
|
||||||
let g:detectindent_preferred_expandtab = 0
|
let g:detectindent_preferred_expandtab = 0
|
||||||
let g:detectindent_preferred_indent = 4
|
let g:detectindent_preferred_indent = 4
|
||||||
endif
|
|
||||||
|
|
||||||
fun! <SID>DetectDetectIndent()
|
fun! <SID>DetectDetectIndent()
|
||||||
try
|
try
|
||||||
:DetectIndent
|
:DetectIndent
|
||||||
catch
|
catch
|
||||||
endtry
|
endtry
|
||||||
endfun
|
endfun
|
||||||
|
endif
|
||||||
|
|
||||||
if has('autocmd')
|
if has('autocmd')
|
||||||
autocmd BufEnter * :call WideFold()
|
autocmd BufEnter * :call WideFold()
|
||||||
|
|
Loading…
Add table
Reference in a new issue