I have posted an issue on github, but I am asking here too to see if someone can point me to an answer...
I have installed
jedi-vim and I find it really nice to edit python files. But I came across a problem that I am unable to solve --- it makes editing of LaTeX files much more complex. The problem is the following. I have in my
Plug 'davidhalter/jedi-vim' autocmd FileType python setlocal completeopt-=preview
And when I edit a LaTeX file, the
$...$ marks that define an inline math disappears unless the line is under the cursor. It's like
gvim trying to render the math formula... See:
Case 1, cursor in different line of the math formula (the cursor does not appear on screenshot, but believe me...)
Case 2, few instant after, cursor in the same line:
This make LaTeX files almost impossible to edit. Is there a way to restrict all of the
jedi-vim effects to python buffers?
I checked that commenting out the plugin line will avoid the problem.
Does anyone know what's happening here?
it is a
conceallevel problem. If I open a .tex file, I have the following after issuing
:verbose set conceallevel?:
...which I really do not understand. I checked my
.vimrc and I did not find anything that would justify the fact that the python sysntax is loaded for my
tex buffers... but it is.
Really puzzled. Anyway, adding
autocmd FileType tex set conceallevel=0
.vimrc solves (hide?) the problem.