From: Samir Benmendil Date: Fri, 8 May 2020 14:43:42 +0000 (+0100) Subject: vim: mention that cindent has no effect X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/aeecb4f5dde5ef4ffbcdc27940616fdd24b8d29d?ds=sidebyside vim: mention that cindent has no effect --- diff --git a/vim/ftplugin/cpp.vim b/vim/ftplugin/cpp.vim index 2f545a5..edc1f32 100644 --- a/vim/ftplugin/cpp.vim +++ b/vim/ftplugin/cpp.vim @@ -6,6 +6,8 @@ setlocal tabstop=4 setlocal softtabstop=4 setlocal expandtab +"TODO these are ignored because we set indentexpr in `indent/cpp.vim` +" Ideally, indentexpr should read the settings from .clang-format if it exists setlocal nosmartindent setlocal autoindent setlocal cinkeys-=0# " don't reindent PP directives