my-nvim-setup/neovim_vimscriptonly/nvim/confs/cpp.vim

20 lines
628 B
VimL
Raw Normal View History

2021-03-09 07:29:50 +00:00
let g:AutoPairsFlyMode = 1
let g:rainbow_active = 1
let g:cpp_class_scope_highlight = 1
let g:cpp_member_variable_highlight = 1
let g:cpp_class_decl_highlight = 1
let g:cpp_posix_standard = 1
let g:cpp_experimental_template_highlight = 1
let g:cpp_no_function_highlight = 1
let g:cpp_no_function_highlight = 1
let g:cpp_simple_highlight = 1
" format settings for clang
let g:clang_format#style_options = {
\ "AccessModifierOffset" : -4,
\ "AllowShortIfStatementsOnASingleLine" : "true",
\ "AlwaysBreakTemplateDeclarations" : "true",
\ "Standard" : "C++11",
\ "BreakBeforeBraces" : "Stroustrup"}