]> git.rmz.io Git - dotfiles.git/commitdiff
vim: mention that cindent has no effect
authorSamir Benmendil <me@rmz.io>
Fri, 8 May 2020 14:43:42 +0000 (15:43 +0100)
committerSamir Benmendil <me@rmz.io>
Fri, 8 May 2020 14:43:42 +0000 (15:43 +0100)
vim/ftplugin/cpp.vim

index 2f545a5e29dc8a9e61905bf9800f9294915e9d4f..edc1f32118e0684aed4d4f0ea1fdbf873d076c19 100644 (file)
@@ -6,6 +6,8 @@ setlocal tabstop=4
 setlocal softtabstop=4
 setlocal expandtab
 
 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
 setlocal nosmartindent
 setlocal autoindent
 setlocal cinkeys-=0#     " don't reindent PP directives