mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-07 03:35:10 +01:00
Make YCM work in Termux
This commit is contained in:
8
.vimrc
8
.vimrc
@@ -268,8 +268,12 @@ if !filereadable(skip_ycm) " Only load YouCompleteMe if ~/.dot_no_ycm does not
|
|||||||
Plugin 'Valloric/YouCompleteMe'
|
Plugin 'Valloric/YouCompleteMe'
|
||||||
" YouCompleteMe interpreter version (should be the same as what YCM was
|
" YouCompleteMe interpreter version (should be the same as what YCM was
|
||||||
" compiled with):
|
" compiled with):
|
||||||
"let g:ycm_server_python_interpreter = '/usr/bin/python'
|
if filereadable('/data/data/com.termux/files/usr/bin/python3')
|
||||||
let g:ycm_server_python_interpreter = '/usr/bin/python3'
|
" Running in Termux
|
||||||
|
let g:ycm_server_python_interpreter = '/data/data/com.termux/files/usr/bin/python3'
|
||||||
|
else
|
||||||
|
let g:ycm_server_python_interpreter = '/usr/bin/python3'
|
||||||
|
endif
|
||||||
" Debug stuff
|
" Debug stuff
|
||||||
"let g:ycm_server_keep_logfiles = 1
|
"let g:ycm_server_keep_logfiles = 1
|
||||||
"let g:ycm_server_log_level = 'debug'
|
"let g:ycm_server_log_level = 'debug'
|
||||||
|
|||||||
Reference in New Issue
Block a user