[vim] Fixate python to correct version
This commit is contained in:
committed by
fabian.ising@sit.fraunhofer.de
parent
3b2089d4c6
commit
9521ed086c
@@ -199,26 +199,11 @@ nmap <F8> :TagbarToggle<CR>
|
|||||||
imap <F8> <ESC>:TagbarToggle<CR>gi
|
imap <F8> <ESC>:TagbarToggle<CR>gi
|
||||||
nmap <C-]> <C-w><C-]><C-w>T
|
nmap <C-]> <C-w><C-]><C-w>T
|
||||||
|
|
||||||
" YouCompleteMe
|
|
||||||
let g:ycm_collect_identifiers_from_tags_files = 1 " Read from tag files
|
|
||||||
let g:ycm_global_ycm_extra_conf = '~/.config/nvim/.ycm_extra_conf.py' " Standard conf
|
|
||||||
let g:ycm_enable_diagnostic_signs = 0 " Do not show semantic error bar
|
|
||||||
let g:ycm_server_python_interpreter = '/usr/local/bin/python3'
|
|
||||||
let g:ycm_key_list_select_completion = ['<C-j>', '<C-n>', '<Down>']
|
|
||||||
let g:ycm_key_list_previous_completion = ['<C-k>', '<C-p>', '<Up>']
|
|
||||||
|
|
||||||
"Tags
|
"Tags
|
||||||
let g:easytags_async = 1
|
let g:easytags_async = 1
|
||||||
|
|
||||||
" make
|
" make
|
||||||
set switchbuf=split
|
set switchbuf=split
|
||||||
"autocmd QuickFixCmdPre make set cmdheight=2
|
|
||||||
"autocmd QuickFixCmdPost make nested cwindow "Open the quickfix window
|
|
||||||
"autocmd QuickFixCmdPost make nested lwindow "Change to the quickfix window
|
|
||||||
"nmap <F9> :silent! make<CR>:redraw!<CR>
|
|
||||||
"nmap <Leader>m :silent! make<CR>:redraw!<CR>
|
|
||||||
"nmap <Leader>x :silent! make ex<CR>:redraw!<CR>
|
|
||||||
"imap <F9> <ESC>:make<CR>:redraw!<CR>i
|
|
||||||
|
|
||||||
" vim-templates config-file
|
" vim-templates config-file
|
||||||
try
|
try
|
||||||
@@ -268,10 +253,9 @@ endtry
|
|||||||
let g:tex_flavor = "latex"
|
let g:tex_flavor = "latex"
|
||||||
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab
|
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab
|
||||||
|
|
||||||
if has("macunix")
|
|
||||||
" Required for virtualenvs
|
|
||||||
let g:python3_host_prog="/usr/local/bin/python3"
|
|
||||||
endif
|
|
||||||
if filereadable(expand("~/python-envs/neovim/bin/python3"))
|
if filereadable(expand("~/python-envs/neovim/bin/python3"))
|
||||||
let g:python3_host_prog="~/python-envs/neovim/bin/python3"
|
let g:python3_host_prog="~/python-envs/neovim/bin/python3"
|
||||||
|
else
|
||||||
|
let g:python3_host_prog="/usr/bin/python3"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user