I am normally able to use vim without any issues. But whenever I try to start it from inside a python virtual environment (both Conda and virtualenv), I get a segmentation fault.
I have identified that it is because of the Valloric\YouCompleteMe
plugin. When I comment out the corresponding lines from my .vimrc
everything works as expected.
I use YCM a lot in my workflow and would love to find a solution where I can use it with virtual environments.
The relevant lines in my .vimrc
are as follows :
Bundle 'Valloric/YouCompleteMe'
"*****other plugins follow
call vundle#end()
" You Complete Me
let g:ycm_autoclose_preview_window_after_completion=1
map <leader>g :YcmCompleter GoToDefinitionElseDeclaration<CR>