mirror of
https://github.com/omar-polo/gmid.git
synced 2024-08-18 08:53:23 +02:00
14 lines
318 B
VimL
14 lines
318 B
VimL
if exists("b:did_indent")
|
|
finish
|
|
endif
|
|
let b:did_indent = 1
|
|
|
|
setlocal indentexpr=
|
|
|
|
" cindent actually works for simple file structure
|
|
setlocal cindent
|
|
" Just make sure that the comments are not reset as defs would be.
|
|
setlocal cinkeys-=0#
|
|
" And indentation works correctly without semicolons.
|
|
setlocal cinoptions=+0
|