nvchad/neovim_vimscriptonly/nvim/confs/cpp.vim
2021-03-09 12:59:50 +05:30

20 lines
628 B
VimL

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"}