mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
update settings for cpp/c language
This commit is contained in:
parent
08204349f4
commit
b1c00de353
@ -39,7 +39,9 @@ call plug#begin(g:PLUGIN_HOME)
|
||||
" Auto-completion
|
||||
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||
|
||||
Plug 'deoplete-plugins/deoplete-clang'
|
||||
if executable('clang') && (is_mac || is_linux)
|
||||
Plug 'deoplete-plugins/deoplete-clang'
|
||||
endif
|
||||
|
||||
" Python source for deoplete
|
||||
Plug 'zchee/deoplete-jedi', { 'for': 'python' }
|
||||
@ -638,6 +640,10 @@ let g:neoformat_cpp_clangformat = {
|
||||
\ 'exe': 'clang-format',
|
||||
\ 'args': ['--style="{IndentWidth: 4}"']
|
||||
\}
|
||||
let g:neoformat_c_clangformat = {
|
||||
\ 'exe': 'clang-format',
|
||||
\ 'args': ['--style="{IndentWidth: 4}"']
|
||||
\}
|
||||
|
||||
let g:neoformat_enabled_cpp = ['clangformat']
|
||||
let g:neoformat_enabled_c = ['clangformat']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user