-
Notifications
You must be signed in to change notification settings - Fork 261
YouCompleteMe
Fangrui Song edited this page Nov 2, 2019
·
1 revision
Install YouCompleteMe
cd ~/.vim/bundle/YouCompleteMe
./install.py # --clang-completer is not needed
let g:ycm_language_server =
\ [{
\ 'name': 'ccls',
\ 'cmdline': [ 'ccls' ],
\ 'filetypes': [ 'c', 'cpp', 'cuda', 'objc', 'objcpp' ],
\ 'project_root_files': [ '.ccls-root', 'compile_commands.json' ]
\ }]
:YcmCompleter GoToDefinition
:YcmCompleter GoToDeclaration
:YcmCompleter GoToReferences
:YcmCompleter GoToImplementation
:YcmCompleter GoToType