From aeecb4f5dde5ef4ffbcdc27940616fdd24b8d29d Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Fri, 8 May 2020 15:43:42 +0100 Subject: [PATCH] vim: mention that cindent has no effect --- vim/ftplugin/cpp.vim | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.48.1