[bind10-dev] [bikeshed] C++ indentation style

Robert Edmonds edmonds at isc.org
Thu Feb 3 20:17:17 UTC 2011


JINMEI Tatuya / 神明達哉 wrote:
>    I know we need to write a custom hook to use style #2 on Emacs)
>  - (ditto) style #2 is (reportedly?) more friendly with vi

i use style #1 with vim.  you just need to use a custom cinoptions
setting, e.g.:

    autocmd FileType c,cpp set cindent
    autocmd FileType c,cpp set cino=(0:0l1

-- 
Robert Edmonds
edmonds at isc.org



More information about the bind10-dev mailing list