mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-21 07:55:41 +08:00
11 lines
287 B
VimL
11 lines
287 B
VimL
|
" Only load this indent file when no other was loaded.
|
||
|
if exists('b:did_indent')
|
||
|
finish
|
||
|
endif
|
||
|
let b:did_indent = 1
|
||
|
|
||
|
" Not perfect, but mostly good enough...
|
||
|
setlocal autoindent nocindent cinwords= smartindent
|
||
|
|
||
|
let b:undo_indent = 'setlocal autoindent< cindent< cinwords< smartindent<'
|